[Bf-blender-cvs] [76e24609fd6] master: Cleanup: Remove stale/dead code

Aaron Carlisle noreply at git.blender.org
Sun Aug 8 19:29:36 CEST 2021


Commit: 76e24609fd6133023ddff5d16fea8cbc74e45207
Author: Aaron Carlisle
Date:   Sun Aug 8 13:29:07 2021 -0400
Branches: master
https://developer.blender.org/rB76e24609fd6133023ddff5d16fea8cbc74e45207

Cleanup: Remove stale/dead code

This seems to be really old code from 2.4 or earlier.
I was unable to find when it was removed gitk and git blame both couldnt find anything.
However, it is safe to say that this code is long gone.

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

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 0fceb864ac2..061c5b8cd34 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -826,12 +826,6 @@ class IMAGE_HT_header(Header):
             row = layout.row()
             row.prop(sima, "display_channels", icon_only=True)
 
-            row = layout.row(align=True)
-            if ima.type == 'COMPOSITE':
-                row.operator("image.record_composite", icon='REC')
-            if ima.type == 'COMPOSITE' and ima.source in {'MOVIE', 'SEQUENCE'}:
-                row.operator("image.play_composite", icon='PLAY')
-
 
 class IMAGE_MT_editor_menus(Menu):
     bl_idname = "IMAGE_MT_editor_menus"



More information about the Bf-blender-cvs mailing list