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:
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_scene_api.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_scene_api.c b/source/blender/makesrna/intern/rna_scene_api.c
index 0f22f8d3b0f..7d95fbf4068 100644
--- a/source/blender/makesrna/intern/rna_scene_api.c
+++ b/source/blender/makesrna/intern/rna_scene_api.c
@@ -278,6 +278,7 @@ static void rna_Scene_collada_export(
int include_armatures,
int include_shapekeys,
int deform_bones_only,
+ int sampling_rate,
int active_uv_only,
int export_texture_type,
int use_texture_copies,
@@ -301,6 +302,7 @@ static void rna_Scene_collada_export(
include_armatures,
include_shapekeys,
deform_bones_only,
+ sampling_rate,
active_uv_only,
export_texture_type,
@@ -400,6 +402,9 @@ void RNA_api_scene(StructRNA *srna)
RNA_def_boolean(func, "deform_bones_only", false,
"Deform Bones only", "Only export deforming bones with armatures");
+ RNA_def_int(func, "sampling_rate", 0, -1, INT_MAX,
+ "Samplintg Rate", "The maximum distance of frames between 2 keyframes. Disabled when value is -1", -1, INT_MAX);
+
RNA_def_boolean(func, "active_uv_only", false, "Only Selected UV Map", "Export only the selected UV Map");
RNA_def_int(func, "export_texture_type", 0, INT_MIN, INT_MAX,