DBcellsrch.c: #ifdef ROUTE_MODULE around hook to update MZAttachHintPlanes()

When building without this module MZInit() does not get called and
MZAttachHintPlanes() does not guard against that situation.

To allow unused code to be pruned from final binary, better to remove
the cross module hook breaking the dependency.
This commit is contained in:
Darryl L. Miles 2025-06-07 09:22:04 +01:00 committed by R. Timothy Edwards
parent 142b7e5a78
commit 534a56376a
1 changed files with 2 additions and 0 deletions

View File

@ -1525,8 +1525,10 @@ DBScaleEverything(scalen, scaled)
/* Scale all elements */
DBWScaleElements(scalen, scaled);
#ifdef ROUTE_MODULE
/* Recovery of global plane pointers */
MZAttachHintPlanes();
#endif
/* Modify root box */
ToolScaleBox(scalen, scaled);