avoid negative size here xxx do it better

This commit is contained in:
David Vierra 2010-09-28 16:03:50 -10:00
parent e5a966596c
commit face30d24e

View File

@ -839,6 +839,8 @@ class MCLevel:
h -=y+h-self.Height
y=self.Height-h
if h<=0: return
box.origin = x,y,z
box.size = w,h,l