File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
addons/KHR_physics_rigid_bodies Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 17
17
"url" : "https://github.com/eoineoineoin/glTF_Physics_Blender_Exporter" ,
18
18
}
19
19
20
- def draw (context , layout ):
20
+ def draw_export (context , layout ):
21
21
exportProps = bpy .context .scene .khr_physics_exporter_props
22
22
header , body = layout .panel ("KHR_physics_rigid_bodies_exporter" , default_closed = False )
23
23
header .use_property_split = False
@@ -27,8 +27,7 @@ def draw(context, layout):
27
27
body .use_property_split = False
28
28
body .prop (exportProps , "reparent_bones" )
29
29
30
- # todo.eoin Need to figure out how to determine if we're in the import or export window
31
- # Currently both property panels are displayed in both windows
30
+ def draw_import (context , layout ):
32
31
importProps = bpy .context .scene .khr_physics_importer_props
33
32
header , body = layout .panel ("KHR_physics_rigid_bodies_importer" , default_closed = False )
34
33
header .use_property_split = False
You can’t perform that action at this time.
0 commit comments