Attacher: initialize member variables
They got garbage values on creation, as was revealed when testing Py interface.
This commit is contained in:
parent
d21995323e
commit
6ffa0c9b37
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user