Changeset 1195
- Timestamp:
- 05/05/08 06:43:12 (1 week ago)
- Files:
-
- trunk/Source/Contrib/Manipulators/OSGManipulator.cpp (modified) (1 diff)
- trunk/Source/System/FieldContainer/Attachments/OSGStringAttributeMap.cpp (modified) (1 diff)
- trunk/Source/System/FieldContainer/Base/OSGRefCountPtr.inl (modified) (1 diff)
- trunk/Source/System/FieldContainer/Fields/PointerFields/OSGChildPointerMField.inl (modified) (1 diff)
- trunk/Source/System/FieldContainer/Node/OSGCoredNodePtr.inl (modified) (2 diffs)
- trunk/Source/System/Text/OSGTextTXFFace.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/Contrib/Manipulators/OSGManipulator.cpp
r1168 r1195 166 166 } 167 167 168 if ( NullFC != _activeParent)168 if ( _activeParent != NullFC ) 169 169 { 170 170 subHandleGeo(_activeParent); trunk/Source/System/FieldContainer/Attachments/OSGStringAttributeMap.cpp
r1194 r1195 218 218 attr_map = dynamic_cast<StringAttributeMapPtr>(attach_ptr); 219 219 220 if ( NullFC == attr_map)220 if ( attr_map == NullFC ) 221 221 { 222 222 FFATAL(("stringAttributeMap: StringAttributeMap Attachment is not castable to StringAttributeMap?!?\n")); trunk/Source/System/FieldContainer/Base/OSGRefCountPtr.inl
r1181 r1195 162 162 template <class ObjectT, 163 163 class RefCountPolicyT> inline 164 RefCountPtr<ObjectT, RefCountPolicyT>::operator ObjectPtr (void) const 164 RefCountPtr<ObjectT, RefCountPolicyT>::operator 165 typename RefCountPtr<ObjectT, RefCountPolicyT>::ObjectPtr (void) const 165 166 { 166 167 return RefCountPolicy::validate(_pObj); trunk/Source/System/FieldContainer/Fields/PointerFields/OSGChildPointerMField.inl
r1165 r1195 662 662 ChildMFieldReferenceProxy<PtrTypeT, 663 663 RefCountPolicy, 664 iNamespace >::operator const_value(void) const 664 iNamespace >::operator 665 typename ChildMFieldReferenceProxy<PtrTypeT, 666 RefCountPolicy, 667 iNamespace >::const_value(void) const 665 668 { 666 669 return static_cast<const_value>(AccessHandler::validate(*_storeIter)); trunk/Source/System/FieldContainer/Node/OSGCoredNodePtr.inl
r1177 r1195 166 166 167 167 template<class CoreT> inline 168 CoredNodeRefPtr<CoreT>::operator CorePtr(void) 168 CoredNodeRefPtr<CoreT>::operator 169 typename CoredNodeRefPtr<CoreT>::CorePtr(void) 169 170 { 170 171 #ifdef OSG_DEBUG … … 383 384 384 385 template<class CoreT> inline 385 CoredNodeMTRefPtr<CoreT>::operator CorePtr(void) 386 CoredNodeMTRefPtr<CoreT>::operator 387 typename CoredNodeMTRefPtr<CoreT>::CorePtr(void) 386 388 { 387 389 #ifdef OSG_DEBUG trunk/Source/System/Text/OSGTextTXFFace.cpp
r1097 r1195 214 214 215 215 // Create color buffer: If Null container AND color is set && we have not potentially added text before 216 if (( NullFC == colorPtr) && (color != OSG::Color3f(-1,-1,-1)) &&217 (( NullFC == posPtr) && (NullFC == texPtr)) )216 if ((colorPtr == NullFC) && (color != OSG::Color3f(-1,-1,-1)) && 217 ((posPtr == NullFC) && (texPtr == NullFC)) ) 218 218 { 219 219 colorPtr = GeoColor3fProperty::create(); 220 220 geoPtr->setColors(colorPtr); 221 221 } 222 bool use_colors( NullFC != colorPtr);222 bool use_colors(colorPtr != NullFC); 223 223 224 224 if (posPtr == NullFC)
