Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-07-05 09:13:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-07-05 09:13:24 +0300
commit66684bdff30fdf3fffa02c71c0118b7d714e9b0e (patch)
treed057f75eda1cf60c81f867dfc13fdb050ece42b1 /source/blender/makesrna/intern/rna_layer.c
parent4a08b974f44ef43e7c163f47dd6521df96e0b180 (diff)
Cleanup: redundant scene access, duplicate flag clear
Diffstat (limited to 'source/blender/makesrna/intern/rna_layer.c')
-rw-r--r--source/blender/makesrna/intern/rna_layer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_layer.c b/source/blender/makesrna/intern/rna_layer.c
index fa8a44ed10d..be7985b69a4 100644
--- a/source/blender/makesrna/intern/rna_layer.c
+++ b/source/blender/makesrna/intern/rna_layer.c
@@ -349,7 +349,6 @@ static void rna_def_layer_collection(BlenderRNA *brna)
RNA_def_property_boolean_funcs(prop, NULL, "rna_LayerCollection_exclude_set");
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_ui_text(prop, "Exclude from View Layer", "Exclude from view layer");
- RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
RNA_def_property_ui_icon(prop, ICON_CHECKBOX_HLT, -1);
RNA_def_property_update(prop, NC_SCENE | ND_LAYER, "rna_LayerCollection_exclude_update");