You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rocky::MapNode, rocky::SkyNode and possibly other classes copy the InstanceVSG object they're constructed with, and when they're destroyed, so is their copy of the instance. However, when an instance is destroyed, it sets rocky::Instance::_global_status to GeneralError, and as that's static, it means Instance::status() will return a failed status for all instances, and ROCKY_HARD_ASSERT_STATUS will self-destruct.
Either these nodes shouldn't be copying the instance, or the instance status shouldn't be static so the destroyed instances don't pollute the surviving ones.
The text was updated successfully, but these errors were encountered:
rocky::MapNode
,rocky::SkyNode
and possibly other classes copy theInstanceVSG
object they're constructed with, and when they're destroyed, so is their copy of the instance. However, when an instance is destroyed, it setsrocky::Instance::_global_status
toGeneralError
, and as that'sstatic
, it meansInstance::status()
will return a failed status for all instances, andROCKY_HARD_ASSERT_STATUS
will self-destruct.Either these nodes shouldn't be copying the instance, or the instance status shouldn't be static so the destroyed instances don't pollute the surviving ones.
The text was updated successfully, but these errors were encountered: