diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2019-12-04 18:00:03 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2019-12-04 18:02:58 +0300 |
commit | 7868db9343d577784aa754418f2b888793a01d25 (patch) | |
tree | 56b4cb1d1ef6f813cc1881d50d2e26e89a8912ca /source/blender/makesrna | |
parent | 824c2659382b2c76c3e6ec53ca598647af104446 (diff) |
Make curve decimation only take into account the selected curve points
Previously the decimation would take the whole curve into account when
decimating and not just the selected part.
This also contains various smaller bug fixes for the fcurve decimation.
Reviewed By: Sybren
Differential Revision: http://developer.blender.org/D6286
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 89c6c05021e..7b0f3bf708c 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -4954,7 +4954,7 @@ static void rna_def_space_graph(BlenderRNA *brna) RNA_def_struct_sdna(srna, "SpaceGraph"); RNA_def_struct_ui_text(srna, "Space Graph Editor", "Graph Editor space data"); - rna_def_space_generic_show_region_toggles(srna, (1 << RGN_TYPE_UI)); + rna_def_space_generic_show_region_toggles(srna, (1 << RGN_TYPE_UI) | (1 << RGN_TYPE_HUD)); /* mode */ prop = RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE); |