- Timestamp:
- 10/23/09 22:35:31 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgAnimation/UpdateCallback.cpp
r10671 r10689 90 90 } 91 91 92 bool UpdateTransform::needLink() const93 {94 // the idea is to return true if nothing is linked95 return !((_position->getCount() + _euler->getCount() + _scale->getCount()) > 3);96 }97 98 92 bool UpdateTransform::link(osgAnimation::Channel* channel) 99 93 { … … 153 147 } 154 148 155 bool UpdateMaterial::needLink() const156 {157 // the idea is to return true if nothing is linked158 return (_diffuse->getCount() < 2);159 }160 161 149 bool UpdateMaterial::link(osgAnimation::Channel* channel) 162 150 {
