mkafrin/PolyZone

pzcreate box

Closed this issue · 4 comments

idrp commented

Not sure why, but I can not see the box when using pzcreate box after filling in the details of name, length and width. Is there a setting I need to use to be able to see the box when creating?

mee too
fiqured it out yet??

Commit 9ff0d05 caused this issue.

When using /pzcreate box the debugPoly isn't drawing because of this line that was added in.

if not self.debugPoly and not self.debugGrid then return end

But changing it to include drawZone which is true while creating a zone, makes it work again.

if not self.debugPoly and not self.debugGrid and not drawZone then return end

I am sure there is a better fix which allows debugPoly to be visible when creating a zone, independent of other's debugPoly and debugGrid settings. However this change will help people currently having the issue of being unable to see the box zones they are creating.

@DrAceMisanthrope Ah, definitely an unintended consequence, nice catch! I'll think on it and either put this or another fix in tomorrow. Thank you.

Fixed by 0c763d1. Reopen if you still experience the issue after pulling the latest changes.