112
112
/* don't remove this, as COLLADA exporting cannot be done through operators in render() callback. */
113
113
func= RNA_def_function(srna, "collada_export", "rna_Scene_collada_export");
114
114
parm= RNA_def_string(func, "filepath", "", FILE_MAX, "File Path", "File path to write Collada file.");
115
parm= RNA_def_boolean(func, "selected", 0, "Export only selected", "Export only selected elements.");
115
116
RNA_def_property_flag(parm, PROP_REQUIRED);
116
117
RNA_def_property_subtype(parm, PROP_FILEPATH); /* allow non utf8 */
117
118
RNA_def_function_ui_description(func, "Export to collada file.");