[Bf-blender-cvs] [25860e9] master: Docs: warning for loading duplicate movie-clips

Campbell Barton noreply at git.blender.org
Mon Feb 1 02:04:11 CET 2016


Commit: 25860e92c20de748ff1710b1352061d6a45bc9a9
Author: Campbell Barton
Date:   Mon Feb 1 11:55:59 2016 +1100
Branches: master
https://developer.blender.org/rB25860e92c20de748ff1710b1352061d6a45bc9a9

Docs: warning for loading duplicate movie-clips

===================================================================

M	source/blender/makesrna/intern/rna_main_api.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_main_api.c b/source/blender/makesrna/intern/rna_main_api.c
index 9aeaa66..a8471e7 100644
--- a/source/blender/makesrna/intern/rna_main_api.c
+++ b/source/blender/makesrna/intern/rna_main_api.c
@@ -1863,7 +1863,10 @@ void RNA_def_main_movieclips(BlenderRNA *brna, PropertyRNA *cprop)
 	/* load func */
 	func = RNA_def_function(srna, "load", "rna_Main_movieclip_load");
 	RNA_def_function_flag(func, FUNC_USE_REPORTS);
-	RNA_def_function_ui_description(func, "Add a new movie clip to the main database from a file");
+	RNA_def_function_ui_description(
+	        func, "Add a new movie clip to the main database from a file "
+	        "(while ``check_existing`` is disabled for consistency with other load functions, "
+	        "behavior with multiple movie-clips using the same file may incorrectly generate proxies)");
 	parm = RNA_def_string_file_path(func, "filepath", "Path", FILE_MAX, "", "path for the data-block");
 	RNA_def_property_flag(parm, PROP_REQUIRED);
 	RNA_def_boolean(func, "check_existing", false, "", "Using existing data-block if this file is already loaded");




More information about the Bf-blender-cvs mailing list