Commit d5d5f5cb authored by Jan Möbius's avatar Jan Möbius
Browse files

Made DrawMode an extra class

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8554 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e72040f4
......@@ -9,10 +9,10 @@ void INIPlugin::parseIniFileT(INIFile& _ini, MeshObject* _object) {
if ( _object ) {
std::vector< QString > draw_modes;
if( _ini.get_entry(draw_modes, _object->name(), "MaterialDrawMode") )
_object->materialNode()->drawMode( ListToDrawMode(draw_modes) );
_object->materialNode()->drawMode( listToDrawMode(draw_modes) );
if( _ini.get_entry(draw_modes, _object->name(), "MeshDrawMode") )
_object->meshNode()->drawMode( ListToDrawMode(draw_modes) );
_object->meshNode()->drawMode( listToDrawMode(draw_modes) );
ACG::Vec4f col(0.0,0.0,0.0,0.0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment