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:
authorGaia Clary <gaia.clary@machinimatrix.org>2019-01-05 23:36:28 +0300
committerGaia Clary <gaia.clary@machinimatrix.org>2019-01-05 23:52:41 +0300
commit4b7596ec914e9d748b23831db736ef89eb879886 (patch)
tree4d9384ca1d4adc3b7faa0f5e629f460665b20398 /source/blender/collada/ExportSettings.h
parente8d4304b5541d82b6ebc85f17d11da1f61a6e5d7 (diff)
fix T59743: Collada exporter: Add option for exporting flat curves
The Collada exporter suppresses the export of flat animation curves to optimize the animation (in fact to make the exported file smaller). But sometimes it is important to also have the flat curves exported because they may be needed to define an initial transformation to a fixed location - like translating the weapon from the ground floor to the back of the model in the report. I added a new option "all keyed curves" which is disabled by default but when enabled it also exports flat curves. feedback is very welcome
Diffstat (limited to 'source/blender/collada/ExportSettings.h')
-rw-r--r--source/blender/collada/ExportSettings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/collada/ExportSettings.h b/source/blender/collada/ExportSettings.h
index 3b4397a6093..fa4f0ccb2e1 100644
--- a/source/blender/collada/ExportSettings.h
+++ b/source/blender/collada/ExportSettings.h
@@ -71,6 +71,7 @@ typedef struct ExportSettings {
int sampling_rate;
bool keep_smooth_curves;
bool keep_keyframes;
+ bool keep_flat_curves;
bool active_uv_only;
BC_export_animation_type export_animation_type;