ya2 · news · projects · code · about

side panel
[pmachines.git] / pmachines / items / box.py
index d37d8ab277c17bb4111272b44347735dbfc99119..929756db62e40afa07b62f7037bfcf47b16df958 100644 (file)
@@ -35,7 +35,7 @@ class Box:
                 pos = hit.get_hit_pos()
         bounds = self._np.get_tight_bounds()
         bounds = bounds[0] - self._np.get_pos(), bounds[1] - self._np.get_pos()
-        margin = .3, .2
+        margin = .3, .3
         dpos = bounds[1][0] + margin[0], 0, -bounds[1][2] - margin[1]
         self._np.set_pos(pos + dpos)
         new_node = NodePath('temp')