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

Use correct function

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9046 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 398bb3cf
......@@ -33,8 +33,9 @@ void INIPlugin::parseIniFileT(INIFile& _ini, MeshObject* _object) {
_object->materialNode()->set_shininess(shininess);
double reflectance;
if ( _ini.get_entry( shininess, _object->name() , "Reflectance" ) )
_object->materialNode()->reflectance(reflectance);
if ( _ini.get_entry( reflectance, _object->name() , "Reflectance" ) ) {
_object->materialNode()->set_reflectance(reflectance);
}
int size = 1;
if ( _ini.get_entry( size, _object->name() , "PointSize" ) )
......
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