Fix #9465 - Coin version on Mac Conda builds causes transform crash
with this solution, we have traded a crash for a memory leak. so it is only activated for MAC OS where we have the crash, until we find a better solution.
This commit is contained in:
committed by
Adrián Insaurralde Avalos
parent
930079cdcf
commit
c6c35bd2d3
@@ -90,6 +90,10 @@ TDragger::TDragger()
|
||||
{
|
||||
SO_KIT_CONSTRUCTOR(TDragger);
|
||||
|
||||
#if defined(Q_OS_MAC)
|
||||
this->ref();
|
||||
#endif
|
||||
|
||||
SO_KIT_ADD_CATALOG_ENTRY(translatorSwitch, SoSwitch, TRUE, geomSeparator, "", TRUE);
|
||||
SO_KIT_ADD_CATALOG_ENTRY(translator, SoSeparator, TRUE, translatorSwitch, "", TRUE);
|
||||
SO_KIT_ADD_CATALOG_ENTRY(translatorActive, SoSeparator, TRUE, translatorSwitch, "", TRUE);
|
||||
@@ -375,6 +379,10 @@ RDragger::RDragger()
|
||||
{
|
||||
SO_KIT_CONSTRUCTOR(RDragger);
|
||||
|
||||
#if defined(Q_OS_MAC)
|
||||
this->ref();
|
||||
#endif
|
||||
|
||||
SO_KIT_ADD_CATALOG_ENTRY(rotatorSwitch, SoSwitch, TRUE, geomSeparator, "", TRUE);
|
||||
SO_KIT_ADD_CATALOG_ENTRY(rotator, SoSeparator, TRUE, rotatorSwitch, "", TRUE);
|
||||
SO_KIT_ADD_CATALOG_ENTRY(rotatorActive, SoSeparator, TRUE, rotatorSwitch, "", TRUE);
|
||||
|
||||
Reference in New Issue
Block a user