Fix [#36454] 'Tiles' settings in Render/Performance panel don't respect keyframes
These are not animatable! Note this is the case of most (all?) render settings, maybe we should go over both Cycles and internal ones, there are still quite a bunch of them that are marked as animatable... :/
This commit is contained in:
@@ -385,6 +385,7 @@ class CyclesRenderSettings(bpy.types.PropertyGroup):
|
||||
description="Tile order for rendering",
|
||||
items=enum_tile_order,
|
||||
default='CENTER',
|
||||
options=set(), # Not animatable!
|
||||
)
|
||||
cls.use_progressive_refine = BoolProperty(
|
||||
name="Progressive Refine",
|
||||
|
||||
@@ -4190,12 +4190,14 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "tile_x", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "tilex");
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
RNA_def_property_range(prop, 8, 65536);
|
||||
RNA_def_property_ui_text(prop, "Tile X", "Horizontal tile size to use while rendering");
|
||||
RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL);
|
||||
|
||||
prop = RNA_def_property(srna, "tile_y", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "tiley");
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
RNA_def_property_range(prop, 8, 65536);
|
||||
RNA_def_property_ui_text(prop, "Tile Y", "Vertical tile size to use while rendering");
|
||||
RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, NULL);
|
||||
|
||||
Reference in New Issue
Block a user