Changeset 6218 for code/branches/presentation2/src/libraries
- Timestamp:
- Dec 2, 2009, 10:20:37 PM (15 years ago)
- Location:
- code/branches/presentation2/src/libraries
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/ConfigValueContainer.h
r5738 r6218 146 146 if ((this->callback_ && object) || this->bContainerIsNew_) 147 147 { 148 if (this->bContainerIsNew_)149 this->bContainerIsNew_ = false;150 151 148 T temp = *value; 152 149 this->value_.getValue(value); 153 if ( (*value) != temp)150 if (this->bContainerIsNew_ || (*value) != temp) 154 151 { 155 152 if (this->callback_ && object) … … 158 155 this->bDoInitialCallback_ = true; 159 156 } 157 158 if (this->bContainerIsNew_) 159 this->bContainerIsNew_ = false; 160 160 } 161 161 else -
code/branches/presentation2/src/libraries/tools/ParticleInterface.cc
r6213 r6218 64 64 this->bAllowedByLOD_ = true; 65 65 this->speedFactor_ = 1.0f; 66 67 this->setDetailLevel(static_cast<unsigned int>(detaillevel)); 66 68 67 69 this->setConfigValues(); … … 80 82 } 81 83 } 82 83 this->setDetailLevel(static_cast<unsigned int>(detaillevel));84 84 } 85 85 -
code/branches/presentation2/src/libraries/tools/Shader.cc
r5781 r6218 79 79 Shader::~Shader() 80 80 { 81 82 if (this->bLoadCompositor_ && this->compositorInstance_) 81 if (this->compositorInstance_ && this->bLoadCompositor_) 83 82 { 84 83 Ogre::Viewport* viewport = GraphicsManager::getInstance().getViewport();
Note: See TracChangeset
for help on using the changeset viewer.