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

Made light source known in this plugin

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9030 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d5d5f5cb
......@@ -45,6 +45,7 @@
#include <OpenFlipper/common/Types.hh>
#include <ObjectTypes/PolyMesh/PolyMesh.hh>
#include <ObjectTypes/Light/Light.hh>
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
#include <OpenFlipper/BasePlugin/PluginFunctions.hh>
......@@ -69,6 +70,8 @@ void INIPlugin::loadIniFile( INIFile& _ini, int _id ) {
} else if ( baseObject->dataType() == DATA_TRIANGLE_MESH) {
triObject = PluginFunctions::triMeshObject(baseObject);
parseIniFileT(_ini, triObject);
} else if ( baseObject->dataType() == DATA_LIGHT ) {
// No special Information needed yet
} else {
// Unhandled data type
emit log(LOGERR, tr("The specified data type is not supported, yet. Aborting!"));
......
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