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 <campbell@blender.org>2022-11-08 08:58:37 +0300
committerCampbell Barton <campbell@blender.org>2022-11-08 08:58:37 +0300
commit642ff82f749dc480875e2047eb5e9a9227f59093 (patch)
tree337729f263df8cc9ead4bd43e033a7a7d41a43ea /source/blender/makesrna/intern/rna_nodetree.c
parent3c1fb9aea1c843f9a60e538505eadfce95fdf728 (diff)
Cleanup: format, remove commented code & unused variable
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index 9dc940059dd..cfec020c739 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -4512,15 +4512,8 @@ static void rna_NodeConvertColorSpace_to_color_space_set(struct PointerRNA *ptr,
}
static const EnumPropertyItem *rna_NodeConvertColorSpace_color_space_itemf(
- bContext *C, PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), bool *r_free)
+ bContext *UNUSED(C), PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), bool *r_free)
{
-# if 0 /* FIXME: Causes blank drop-down, see T102316. */
- if (C == NULL) {
- return rna_enum_color_space_convert_default_items;
- }
-# else
- UNUSED_VARS(C);
-# endif
EnumPropertyItem *items = NULL;
int totitem = 0;