Commit 0357c8f5 by Alexander Wiebel

[FIX] adding the PC_PATHEXISTS constraint makes an open dialog show up for

this module instead of a save dialog
parent 8745164e
......@@ -26,6 +26,7 @@
#include <vector>
#include "../../common/WPathHelper.h"
#include "../../common/WPropertyHelper.h"
#include "../../kernel/WKernel.h"
#include "../../graphicsEngine/WTriangleMesh2.h"
......@@ -88,6 +89,7 @@ void WMMeshReader::properties()
m_meshFile = m_properties->addProperty( "Mesh file", "", WPathHelper::getAppPath() );
m_readTriggerProp = m_properties->addProperty( "Do read", "Press!",
WPVBaseTypes::PV_TRIGGER_READY, m_propCondition );
WPropertyHelper::PC_PATHEXISTS::addTo( m_meshFile );
}
void WMMeshReader::moduleMain()
......
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