Changeset 504
- Timestamp:
- 08/05/10 12:41:47 (18 months ago)
- Location:
- trunk/avango-tools
- Files:
-
- 2 edited
-
include/avango/tools/PickSelector.h (modified) (1 diff)
-
src/avango/tools/PickSelector.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/avango-tools/include/avango/tools/PickSelector.h
r13 r504 127 127 128 128 /** 129 * If true, the creator of the TargetHolder will be set. This is the default. 130 */ 131 SFBool SetCreator; 132 133 /** 129 134 * To disable picking for specific nodes, add a SFUInt field called "PickMask" 130 135 * to the node. The picking is disabled, if the bitwise AND of it with the -
trunk/avango-tools/src/avango/tools/PickSelector.cpp
r415 r504 43 43 AV_FC_ADD_FIELD(PickTrigger, false); 44 44 AV_FC_ADD_FIELD(TransitionOnly, true); 45 AV_FC_ADD_FIELD(SetCreator, true); 45 46 AV_FC_ADD_FIELD(EveryFrame, false); 46 47 AV_FC_ADD_FIELD(PickRayTransform, ::osg::Matrix::identity()); … … 208 209 209 210 holder->Target.setValue(target); 210 holder->Creator.setValue(this); 211 212 if (SetCreator.getValue()) 213 holder->Creator.setValue(this); 214 211 215 mSelectedTargets.push_back(holder); 212 216 }
Note: See TracChangeset
for help on using the changeset viewer.
