[feat] add 2 new features

- add tunnel section creation and re-organise rail creation menu.
- allow duplicated elements (Nong xxx) creation for some special, such as Fan and Extra Point.
This commit is contained in:
2023-01-09 11:10:13 +08:00
parent 2a87e98904
commit e7376a3e9c
5 changed files with 136 additions and 40 deletions

View File

@ -98,7 +98,7 @@ class common_group_name_props(bpy.types.Operator):
if (self.group_name_source == 'CUSTOM'):
parent_layout.prop(self, 'custom_group_name')
else:
parent_layout.prop(self, 'group_name')
parent_layout.prop(self, 'group_name') # do not translate group name. it's weird
def get_group_name_string(self):
return str(self.custom_group_name if self.group_name_source == 'CUSTOM' else self.group_name)