Skip to content

Commit

Permalink
UV/Image Editor, removed the Gameproperties tab. And removed a game e…
Browse files Browse the repository at this point in the history
…ngine related fragment in space_view3d.py

Issue: http://www.bforartists.de/content/uvimage-editor-remove-gameproperties-tab
  • Loading branch information
ReinerBforartists committed Dec 11, 2015
1 parent f1e66b0 commit ebfa816
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 60 deletions.
41 changes: 0 additions & 41 deletions release/scripts/startup/bl_ui/space_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,47 +570,6 @@ def draw(self, context):
layout.template_image(sima, "image", iuser, multiview=True)


class IMAGE_PT_game_properties(Panel):
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'UI'
bl_label = "Game Properties"

@classmethod
def poll(cls, context):
sima = context.space_data
# display even when not in game mode because these settings effect the 3d view
return (sima and sima.image and not sima.show_maskedit) # and (rd.engine == 'BLENDER_GAME')

def draw(self, context):
layout = self.layout

sima = context.space_data
ima = sima.image

split = layout.split()

col = split.column()
col.prop(ima, "use_animation")
sub = col.column(align=True)
sub.active = ima.use_animation
sub.prop(ima, "frame_start", text="Start")
sub.prop(ima, "frame_end", text="End")
sub.prop(ima, "fps", text="Speed")

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")

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.prop(ima, "mapping", expand=True)


class IMAGE_PT_view_properties(Panel):
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'UI'
Expand Down
19 changes: 0 additions & 19 deletions release/scripts/startup/bl_ui/space_view3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -1456,25 +1456,6 @@ def draw(self, context):
layout.operator("object.join_uvs") # stupid place to add this!


class VIEW3D_MT_object_game(Menu):
bl_label = "Game"

def draw(self, context):
layout = self.layout

layout.operator("object.logic_bricks_copy", text="Copy Logic Bricks")
layout.operator("object.game_physics_copy", text="Copy Physics Properties")

layout.separator()

layout.operator("object.game_property_copy", text="Replace Properties").operation = 'REPLACE'
layout.operator("object.game_property_copy", text="Merge Properties").operation = 'MERGE'
layout.operator_menu_enum("object.game_property_copy", "property", text="Copy Properties...")

layout.separator()

layout.operator("object.game_property_clear")

# Show hide menu for face selection masking
class VIEW3D_MT_facemask_showhide(Menu):
bl_label = "Show/Hide"
Expand Down

0 comments on commit ebfa816

Please sign in to comment.