From 8d08976ef097a963c2ca646fe630365b1c879564 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 6 Oct 2015 21:43:04 +1100 Subject: Cleanup: return PROP_EDITABLE rna flag Harmless, since the flag happens to be 1. --- source/blender/makesrna/intern/rna_lattice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesrna/intern/rna_lattice.c') diff --git a/source/blender/makesrna/intern/rna_lattice.c b/source/blender/makesrna/intern/rna_lattice.c index 60e5f6d205c..035e9d15641 100644 --- a/source/blender/makesrna/intern/rna_lattice.c +++ b/source/blender/makesrna/intern/rna_lattice.c @@ -175,7 +175,7 @@ static int rna_Lattice_size_editable(PointerRNA *ptr) { Lattice *lt = (Lattice *)ptr->data; - return lt->key == NULL; + return (lt->key == NULL) ? PROP_EDITABLE : 0; } static void rna_Lattice_points_u_set(PointerRNA *ptr, int value) -- cgit v1.2.3