avoid negative size here xxx do it better
This commit is contained in:
parent
e5a966596c
commit
face30d24e
@ -839,6 +839,8 @@ class MCLevel:
|
|||||||
h -=y+h-self.Height
|
h -=y+h-self.Height
|
||||||
y=self.Height-h
|
y=self.Height-h
|
||||||
|
|
||||||
|
if h<=0: return
|
||||||
|
|
||||||
box.origin = x,y,z
|
box.origin = x,y,z
|
||||||
box.size = w,h,l
|
box.size = w,h,l
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user