[Bf-blender-cvs] [8accea07f7f] master: UI: Reorganize the UV/Image "Game Properties" Pannel

Aaron Carlisle noreply at git.blender.org
Wed Apr 19 17:16:11 CEST 2017


Commit: 8accea07f7f7717b879908a128f77fe27b1b9348
Author: Aaron Carlisle
Date:   Wed Apr 19 11:09:07 2017 -0400
Branches: master
https://developer.blender.org/rB8accea07f7f7717b879908a128f77fe27b1b9348

UI: Reorganize the UV/Image "Game Properties" Pannel

This uses the same amount of room while giving it a more clean look and adds a label for the mapping options so users can tell the purpose.

===================================================================

M	release/scripts/startup/bl_ui/space_image.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index c748e71a0a2..f070161f3da 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -617,7 +617,6 @@ class IMAGE_PT_game_properties(Panel):
         ima = sima.image
 
         split = layout.split()
-
         col = split.column()
         col.prop(ima, "use_animation")
         sub = col.column(align=True)
@@ -626,17 +625,21 @@ class IMAGE_PT_game_properties(Panel):
         sub.prop(ima, "frame_end", text="End")
         sub.prop(ima, "fps", text="Speed")
 
+        col = split.column()
         col.prop(ima, "use_tiles")
         sub = col.column(align=True)
         sub.active = ima.use_tiles or ima.use_animation
         sub.prop(ima, "tiles_x", text="X")
         sub.prop(ima, "tiles_y", text="Y")
 
+        split = layout.split()
         col = split.column()
         col.label(text="Clamp:")
         col.prop(ima, "use_clamp_x", text="X")
         col.prop(ima, "use_clamp_y", text="Y")
-        col.separator()
+
+        col = split.column()
+        col.label(text="Mapping:")
         col.prop(ima, "mapping", expand=True)




More information about the Bf-blender-cvs mailing list