write shit

This commit is contained in:
2023-12-06 17:16:31 +08:00
parent ca7e047c09
commit ae9a848864
9 changed files with 615 additions and 58 deletions

View File

@ -318,7 +318,7 @@ class BBP_UL_ballance_elements(bpy.types.UIList):
def draw_item(self, context, layout: bpy.types.UILayout, data, item: BBP_PG_ballance_element, icon, active_data, active_propname):
if item.element_name != "" and item.mesh_ptr is not None:
layout.label(text = item.element_name, translate = False)
layout.label(text = item.mesh_ptr, translate = False, icon = 'MESH_DATA')
layout.label(text = item.mesh_ptr.name, translate = False, icon = 'MESH_DATA')
class BBP_OT_reset_ballance_elements(bpy.types.Operator):
"""Reset all Meshes of Loaded Ballance Elements to Original Geometry."""