diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-28 15:15:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-28 15:15:26 +0400 |
commit | 6864f2c2857e37e7a1c4f2d8a471c17e8e63e4db (patch) | |
tree | 7fc76e6017c4a74fe7170e424cd448b6ad48b452 /source/blender/makesrna/intern/rna_color.c | |
parent | 4982f200fadd15bb733128ae03ed737549e2657c (diff) |
move suspicious break statement in drawDispListsolid() to prevent falling through.
Diffstat (limited to 'source/blender/makesrna/intern/rna_color.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_color.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_color.c b/source/blender/makesrna/intern/rna_color.c index ec61c543a9f..ebd06475c79 100644 --- a/source/blender/makesrna/intern/rna_color.c +++ b/source/blender/makesrna/intern/rna_color.c @@ -288,6 +288,7 @@ static char *rna_ColorRampElement_path(PointerRNA *ptr) if (RNA_path_resolve(&ramp_ptr, "color_ramp", &ramp_ptr, &prop)) { COLRAMP_GETPATH; } + break; } } } |