File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
GeneralsMD/Code/Tools/WorldBuilder/src Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1271,14 +1271,16 @@ BOOL CWorldBuilderDoc::OnNewDocument()
1271
1271
m_waypointTableNeedsUpdate = true ;
1272
1272
m_curWaypointID = 0 ;
1273
1273
WbApp ()->selectPointerTool ();
1274
- PolygonTrigger::deleteTriggers ();
1275
1274
1276
1275
// Make sure that all the old units are removed from the list.
1277
1276
// Bug fix by MLL 1/14/03
1278
1277
TheLayersList->enableUpdates ();
1279
1278
TheLayersList->resetLayers ();
1280
1279
TheLayersList->disableUpdates ();
1281
1280
1281
+ // TheSuperHackers @bugfix Caball009 20/06/2025 Must not delete polygon triggers before calling enableUpdates.
1282
+ PolygonTrigger::deleteTriggers ();
1283
+
1282
1284
TheSidesList->clear ();
1283
1285
TheSidesList->validateSides ();
1284
1286
You can’t perform that action at this time.
0 commit comments