Fix #29361: uv unwrap > project from view grayed out in menu.

Fix game navigation mesh panel in scene properties not showing closed by default.
This commit is contained in:
Brecht Van Lommel
2011-11-22 12:18:15 +00:00
parent 374214ecb2
commit c71e31eb4f
2 changed files with 2 additions and 1 deletions

View File

@@ -408,7 +408,7 @@ class SceneButtonsPanel():
class SCENE_PT_game_navmesh(SceneButtonsPanel, Panel):
bl_label = "Navigation mesh"
bl_default_closed = True
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_GAME'}
@classmethod

View File

@@ -262,6 +262,7 @@ class VIEW3D_MT_uv_map(Menu):
layout.separator()
layout.operator_context = 'EXEC_REGION_WIN'
layout.operator("uv.project_from_view")
layout.operator("uv.project_from_view", text="Project from View (Bounds)").scale_to_bounds = True