[Bf-extensions-cvs] [b3e93272] master: archimesh/achm_room_maker: T68508 allow negative base value
meta-androcto
noreply at git.blender.org
Tue Aug 20 03:52:15 CEST 2019
Commit: b3e932726865d5766afaafa9b76774c73f25f5d5
Author: meta-androcto
Date: Tue Aug 20 11:51:51 2019 +1000
Branches: master
https://developer.blender.org/rBAb3e932726865d5766afaafa9b76774c73f25f5d5
archimesh/achm_room_maker: T68508 allow negative base value
===================================================================
M archimesh/achm_room_maker.py
===================================================================
diff --git a/archimesh/achm_room_maker.py b/archimesh/achm_room_maker.py
index 645311d2..7a59eee5 100644
--- a/archimesh/achm_room_maker.py
+++ b/archimesh/achm_room_maker.py
@@ -503,7 +503,7 @@ def shape_walls_and_create_children(myroom, tmp_mesh, update=False):
create_walls(rp, baseboardmesh, get_blendunits(rp.base_height), True)
set_normals(mybase, rp.inverse) # inside/outside room
- if rp.base_width > 0.0:
+ if rp.base_width:
set_modifier_solidify(mybase, get_blendunits(rp.base_width))
# Move to Top SOLIDIFY
movetotopsolidify(mybase)
@@ -1527,7 +1527,7 @@ class RoomProperties(PropertyGroup):
)
base_width: FloatProperty(
- name='Width', min=0.001, max=10,
+ name='Width', min=-10, max=10,
default=0.015, precision=3,
description='Baseboard width', update=update_room,
)
More information about the Bf-extensions-cvs
mailing list