Changeset 9402 for code/branches/shaders/src/orxonox/graphics/Model.cc
- Timestamp:
- Oct 16, 2012, 3:32:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/shaders/src/orxonox/graphics/Model.cc
r8858 r9402 71 71 72 72 XMLPortParam(Model, "mesh", setMeshSource, getMeshSource, xmlelement, mode); 73 XMLPortParam(Model, "material", setMaterial, getMaterial, xmlelement, mode); 73 74 XMLPortParam(Model, "shadow", setCastShadows, getCastShadows, xmlelement, mode).defaultValues(true); 74 75 } … … 109 110 } 110 111 } 112 } 113 114 void Model::changedMaterial() 115 { 116 this->mesh_.setMaterial(this->materialName_); 111 117 } 112 118
Note: See TracChangeset
for help on using the changeset viewer.