Changeset 9625 in orxonox.OLD for branches/proxy/src/world_entities/skybox.cc
- Timestamp:
- Jul 30, 2006, 11:19:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/world_entities/skybox.cc
r9406 r9625 96 96 { 97 97 this->rebuild(); 98 99 textureName_handle = registerVarId( new SynchronizeableString( &textureName, &textureName, "textureName" ) );100 size_handle = registerVarId( new SynchronizeableFloat( &size, &size, "size" ) );98 99 textureName_handle = registerVarId( new SynchronizeableString( &textureName, &textureName, "textureName", PERMISSION_MASTER_SERVER) ); 100 size_handle = registerVarId( new SynchronizeableFloat( &size, &size, "size", PERMISSION_MASTER_SERVER ) ); 101 101 } 102 102 … … 297 297 { 298 298 bool somethinChanged = false; 299 299 300 300 if ( std::find( id.begin(), id.end(), textureName_handle ) != id.end() ) 301 301 { … … 303 303 setTexture( textureName ); 304 304 } 305 305 306 306 if ( std::find( id.begin(), id.end(), size_handle ) != id.end() ) 307 307 { 308 308 somethinChanged = true; 309 309 } 310 310 311 311 rebuild(); 312 312 313 313 WorldEntity::varChangeHandler( id ); 314 314 }
Note: See TracChangeset
for help on using the changeset viewer.