Changeset 11083 for code/trunk/src/orxonox/worldentities/WorldEntity.cc
- Timestamp:
- Jan 21, 2016, 1:59:04 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/worldentities/WorldEntity.cc
r11071 r11083 190 190 registerVariable(this->bVisible_, VariableDirection::ToClient, new NetworkCallback<WorldEntity>(this, &WorldEntity::changedVisibility)); 191 191 192 registerVariable(this->getScale3D(), VariableDirection::ToClient, new NetworkCallback<WorldEntity>(this, &WorldEntity::scaleChanged)); 192 // Ugly const cast, but is valid because the scale is not actually const 193 registerVariable(const_cast<Vector3&>(this->getScale3D()), VariableDirection::ToClient, new NetworkCallback<WorldEntity>(this, &WorldEntity::scaleChanged)); 193 194 194 195 // Physics stuff
Note: See TracChangeset
for help on using the changeset viewer.