1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-06 09:45:33 +00:00

Fix instance selection mode destruction (#7447)

This commit is contained in:
Alexei Kotov 2024-03-12 03:32:43 +03:00
parent b5b6744321
commit cdbe6adfc3
2 changed files with 3 additions and 1 deletions

View file

@ -99,6 +99,7 @@
Bug #7415: Unbreakable lock discrepancies Bug #7415: Unbreakable lock discrepancies
Bug #7416: Modpccrimelevel is different from vanilla Bug #7416: Modpccrimelevel is different from vanilla
Bug #7428: AutoCalc flag is not used to calculate enchantment costs Bug #7428: AutoCalc flag is not used to calculate enchantment costs
Bug #7447: OpenMW-CS: Dragging a cell of a different type (from the initial type) into the 3D view crashes OpenMW-CS
Bug #7450: Evading obstacles does not work for actors missing certain animations Bug #7450: Evading obstacles does not work for actors missing certain animations
Bug #7459: Icons get stacked on the cursor when picking up multiple items simultaneously Bug #7459: Icons get stacked on the cursor when picking up multiple items simultaneously
Bug #7472: Crash when enchanting last projectiles Bug #7472: Crash when enchanting last projectiles

View file

@ -58,7 +58,8 @@ namespace CSVRender
InstanceSelectionMode::~InstanceSelectionMode() InstanceSelectionMode::~InstanceSelectionMode()
{ {
mParentNode->removeChild(mBaseNode); if (mBaseNode)
mParentNode->removeChild(mBaseNode);
} }
void InstanceSelectionMode::setDragStart(const osg::Vec3d& dragStart) void InstanceSelectionMode::setDragStart(const osg::Vec3d& dragStart)