Skip to content

Commit

Permalink
Merge pull request #121 from AFCStudio/improvement/udp-panel
Browse files Browse the repository at this point in the history
UDP Panel Improvement #120
  • Loading branch information
feedbackex authored Mar 4, 2017
2 parents b2adddc + 0068117 commit 5e9e11f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions io_bcry_exporter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3225,14 +3225,19 @@ def draw(self, context):
text="Generate Materials")


class CustomPropertiesPanel(View3DPanel, Panel):
bl_label = "Custom Properties"
class UserDefinedPropertiesPanel(View3DPanel, Panel):
bl_label = "User Defined Properties"

def draw(self, context):
layout = self.layout
col = layout.column(align=True)

layout.label("Properties:", icon="SCRIPT")
layout.menu("menu.UDP", text="User Defined Properties")
col.label("User Defined Properties", icon="SCRIPT")
col.separator()
col.operator("object.edit_render_mesh", text="Edit Render Mesh")
col.operator("object.edit_physics_proxy", text="Edit Physic Proxy")
col.operator("object.edit_joint_node", text="Edit Joint")
col.operator("object.edit_deformable", text="Edit Deformable")


class ConfigurationsPanel(View3DPanel, Panel):
Expand Down Expand Up @@ -3691,7 +3696,7 @@ def get_classes_to_register():
BoneUtilitiesPanel,
MeshUtilitiesPanel,
MaterialUtilitiesPanel,
CustomPropertiesPanel,
UserDefinedPropertiesPanel,
ConfigurationsPanel,
ExportPanel,

Expand Down

0 comments on commit 5e9e11f

Please sign in to comment.