Remove unused "Free Unused" option from compositor
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 23 Feb 2016 13:32:28 +0000 (14:32 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 23 Feb 2016 13:32:57 +0000 (14:32 +0100)
It was basically doing nothing, for ages.

release/scripts/startup/bl_ui/properties_render.py
release/scripts/startup/bl_ui/space_node.py
source/blender/makesdna/DNA_scene_types.h
source/blender/makesrna/intern/rna_scene.c

index 1f1802aa373245dfa4af0b3ad01609b3b4198627..6c4904939bf802146e7762f113782af3e52f039d 100644 (file)
@@ -284,7 +284,6 @@ class RENDER_PT_performance(RenderButtonsPanel, Panel):
         sub = col.column()
         sub.active = rd.use_compositing
         sub.prop(rd, "use_free_image_textures")
-        sub.prop(rd, "use_free_unused_nodes")
         sub = col.column()
         sub.active = rd.use_raytrace
         sub.label(text="Acceleration structure:")
index c648093ff1dcedf00848c49b62a9df8a937bf8ee..986edc7405b4e7e50924dd5c0597e60df7b10312 100644 (file)
@@ -100,7 +100,6 @@ class NODE_HT_header(Header):
         elif snode.tree_type == 'CompositorNodeTree':
             if snode_id:
                 layout.prop(snode_id, "use_nodes")
-                layout.prop(snode_id.render, "use_free_unused_nodes", text="Free Unused")
             layout.prop(snode, "show_backdrop")
             if snode.show_backdrop:
                 row = layout.row(align=True)
index ef6d4ac4481dbc39d5eb82ac5716be765a6375b1..61562e5c0140eb093df5e77393bda3e2b1bd86ad 100644 (file)
@@ -1645,7 +1645,7 @@ typedef struct Scene {
 #define R_FREE_IMAGE           0x0100
 #define R_SINGLE_LAYER         0x0200
 #define R_EXR_TILE_FILE                0x0400
-#define R_COMP_FREE                    0x0800
+/* #define R_COMP_FREE                 0x0800 */
 #define R_NO_IMAGE_LOAD                0x1000
 #define R_NO_TEX                       0x2000
 #define R_NO_FRAME_UPDATE      0x4000
index e0f3708b3386f12c50c4163bb1859f082d088ad7..7505dc2821074c1b8b4c60f3aac519cc3f09dde0 100644 (file)
@@ -5617,12 +5617,6 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
                                 "Free all image textures from memory after render, to save memory before compositing");
        RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL);
 
-       prop = RNA_def_property(srna, "use_free_unused_nodes", PROP_BOOLEAN, PROP_NONE);
-       RNA_def_property_boolean_sdna(prop, NULL, "scemode", R_COMP_FREE);
-       RNA_def_property_ui_text(prop, "Free Unused Nodes",
-                                "Free Nodes that are not used while compositing, to save memory");
-       RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL);
-
        prop = RNA_def_property(srna, "use_save_buffers", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "scemode", R_EXR_TILE_FILE);
        RNA_def_property_boolean_funcs(prop, "rna_RenderSettings_save_buffers_get", NULL);