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

Make TypeLight run in batch mode



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11415 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7afd16e3
......@@ -191,6 +191,7 @@ void TypeLightPlugin::addDefaultLights() {
void TypeLightPlugin::pluginsInitialized(){
if ( OpenFlipper::Options::gui() ){
//PICKMODES
emit addPickMode("Separator");
emit addHiddenPickMode("MoveLights");
......@@ -279,11 +280,12 @@ void TypeLightPlugin::pluginsInitialized(){
emit setPickModeToolbar ("TranslateLights", lightOptions_);
emit setPickModeToolbar ("RotateLights", lightOptions_);
// Disable the build in light management and use this plugins light handling
PluginFunctions::disableExaminerLightHandling();
// Add default light sources to active scene
addDefaultLights();
}
// Disable the build in light management and use this plugins light handling
PluginFunctions::disableExaminerLightHandling();
// Add default light sources to active scene
addDefaultLights();
}
void TypeLightPlugin::slotPickModeChanged (const std::string& /*_pickMode*/) {
......
Supports Markdown
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