Attacher: initialize member variables

They got garbage values on creation, as was revealed when testing Py
interface.
This commit is contained in:
DeepSOIC 2016-05-09 02:23:32 +03:00
parent d21995323e
commit 6ffa0c9b37

View File

@ -124,6 +124,8 @@ const char* AttachEngine::eMapModeStrings[]= {
TYPESYSTEM_SOURCE_ABSTRACT(Attacher::AttachEngine, Base::BaseClass);
AttachEngine::AttachEngine()
: mapReverse(false), attachParameter(0.0), mapMode(mmDeactivated),
surfU(0.0), surfV(0.0)
{
}