Skip to content

Commit a30e8e8

Browse files
committed
UPBGE: Fix UI python scripts.
From the recent blender merge the UI scripts need to define explicitly the classes to register, the one added in UPBGE was doing it and they are added now to fix the UI generation.
1 parent 72d9585 commit a30e8e8

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

release/scripts/startup/bl_ui/properties_game.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ def draw(self, context):
638638
row.prop(gs, "scene_hysteresis_percentage", text="")
639639

640640

641-
class RENDER_PT_game_console(SceneButtonsPanel, Panel):
641+
class SCENE_PT_game_console(SceneButtonsPanel, Panel):
642642
bl_label = "Python Console"
643643
COMPAT_ENGINES = {'BLENDER_GAME'}
644644

@@ -937,17 +937,21 @@ def draw(self, context):
937937
RENDER_PT_game_stereo,
938938
RENDER_PT_game_shading,
939939
RENDER_PT_game_system,
940+
RENDER_PT_game_animations,
940941
RENDER_PT_game_display,
942+
RENDER_PT_game_debug,
941943
SCENE_PT_game_physics,
942944
SCENE_PT_game_physics_obstacles,
943945
SCENE_PT_game_navmesh,
944946
SCENE_PT_game_hysteresis,
947+
SCENE_PT_game_console,
945948
WORLD_PT_game_context_world,
946949
WORLD_PT_game_world,
947950
WORLD_PT_game_environment_lighting,
948951
WORLD_PT_game_mist,
949952
DATA_PT_shadow_game,
950953
OBJECT_MT_lod_tools,
954+
OBJECT_MT_culling,
951955
OBJECT_PT_levels_of_detail,
952956
)
953957

release/scripts/startup/bl_ui/properties_material.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,10 +1119,11 @@ class MATERIAL_PT_custom_props(MaterialButtonsPanel, PropertyPanel, Panel):
11191119
MATERIAL_PT_halo,
11201120
MATERIAL_PT_flare,
11211121
MATERIAL_PT_game_settings,
1122-
MATERIAL_PT_physics,
11231122
MATERIAL_PT_strand,
11241123
MATERIAL_PT_options,
1124+
MATERIAL_PT_game_options,
11251125
MATERIAL_PT_shadow,
1126+
MATERIAL_PT_game_shadow,
11261127
MATERIAL_PT_transp_game,
11271128
MATERIAL_PT_volume_density,
11281129
MATERIAL_PT_volume_shading,

release/scripts/startup/bl_ui/properties_texture.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,10 @@ class TEXTURE_PT_custom_props(TextureButtonsPanel, PropertyPanel, Panel):
15341534
TEXTURE_PT_pointdensity,
15351535
TEXTURE_PT_pointdensity_turbulence,
15361536
TEXTURE_PT_ocean,
1537+
TEXTURE_PT_game_mapping,
15371538
TEXTURE_PT_mapping,
1539+
TEXTURE_PT_game_parallax,
1540+
TEXTURE_PT_game_influence,
15381541
TEXTURE_PT_influence,
15391542
TEXTURE_PT_custom_props,
15401543
)

release/scripts/startup/bl_ui/space_logic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ def draw(self, context):
166166

167167

168168
classes = (
169+
LOGIC_PT_components,
169170
LOGIC_PT_properties,
170171
LOGIC_MT_logicbricks_add,
171172
LOGIC_HT_header,

0 commit comments

Comments
 (0)