Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene_api.c
| Show First 20 Lines • Show All 272 Lines • ▼ Show 20 Lines | static void rna_Scene_collada_export( | ||||
| int apply_modifiers, | int apply_modifiers, | ||||
| int export_mesh_type, | int export_mesh_type, | ||||
| int selected, | int selected, | ||||
| int include_children, | int include_children, | ||||
| int include_armatures, | int include_armatures, | ||||
| int include_shapekeys, | int include_shapekeys, | ||||
| int deform_bones_only, | int deform_bones_only, | ||||
| int sampling_rate, | |||||
| int active_uv_only, | int active_uv_only, | ||||
| int export_texture_type, | int export_texture_type, | ||||
| int use_texture_copies, | int use_texture_copies, | ||||
| int triangulate, | int triangulate, | ||||
| int use_object_instantiation, | int use_object_instantiation, | ||||
| int use_blender_profile, | int use_blender_profile, | ||||
| int sort_by_name, | int sort_by_name, | ||||
| int export_transformation_type, | int export_transformation_type, | ||||
| int open_sim, | int open_sim, | ||||
| int limit_precision, | int limit_precision, | ||||
| int keep_bind_info) | int keep_bind_info) | ||||
| { | { | ||||
| collada_export(scene, | collada_export(scene, | ||||
| filepath, | filepath, | ||||
| apply_modifiers, | apply_modifiers, | ||||
| export_mesh_type, | export_mesh_type, | ||||
| selected, | selected, | ||||
| include_children, | include_children, | ||||
| include_armatures, | include_armatures, | ||||
| include_shapekeys, | include_shapekeys, | ||||
| deform_bones_only, | deform_bones_only, | ||||
| sampling_rate, | |||||
| active_uv_only, | active_uv_only, | ||||
| export_texture_type, | export_texture_type, | ||||
| use_texture_copies, | use_texture_copies, | ||||
| triangulate, | triangulate, | ||||
| use_object_instantiation, | use_object_instantiation, | ||||
| use_blender_profile, | use_blender_profile, | ||||
| ▲ Show 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | #ifdef WITH_COLLADA | ||||
| RNA_def_boolean(func, "include_armatures", false, | RNA_def_boolean(func, "include_armatures", false, | ||||
| "Include Armatures", "Export related armatures (even if not selected)"); | "Include Armatures", "Export related armatures (even if not selected)"); | ||||
| RNA_def_boolean(func, "include_shapekeys", true, "Include Shape Keys", "Export all Shape Keys from Mesh Objects"); | RNA_def_boolean(func, "include_shapekeys", true, "Include Shape Keys", "Export all Shape Keys from Mesh Objects"); | ||||
| RNA_def_boolean(func, "deform_bones_only", false, | RNA_def_boolean(func, "deform_bones_only", false, | ||||
| "Deform Bones only", "Only export deforming bones with armatures"); | "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_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, | RNA_def_int(func, "export_texture_type", 0, INT_MIN, INT_MAX, | ||||
| "Texture Type", "Type for exported Textures (UV or MAT)", INT_MIN, INT_MAX); | "Texture Type", "Type for exported Textures (UV or MAT)", INT_MIN, INT_MAX); | ||||
| RNA_def_boolean(func, "use_texture_copies", true, | RNA_def_boolean(func, "use_texture_copies", true, | ||||
| "Copy", "Copy textures to same folder where the .dae file is exported"); | "Copy", "Copy textures to same folder where the .dae file is exported"); | ||||
| ▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines | |||||