[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48405] trunk/blender/source/blender/ windowmanager/intern/wm_operators.c: Related to [#31936] Mesh saved in 2. 63 with legacy format have holes instead ngons

Bastien Montagne montagne29 at wanadoo.fr
Fri Jun 29 13:59:58 CEST 2012


Revision: 48405
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48405
Author:   mont29
Date:     2012-06-29 11:59:47 +0000 (Fri, 29 Jun 2012)
Log Message:
-----------
Related to [#31936] Mesh saved in 2.63 with legacy format have holes instead ngons

Make clear in this option's tooltip that it only saves tris and quads, no implicit triangulation of other ngons, which are lost!

Modified Paths:
--------------
    trunk/blender/source/blender/windowmanager/intern/wm_operators.c

Modified: trunk/blender/source/blender/windowmanager/intern/wm_operators.c
===================================================================
--- trunk/blender/source/blender/windowmanager/intern/wm_operators.c	2012-06-29 11:44:46 UTC (rev 48404)
+++ trunk/blender/source/blender/windowmanager/intern/wm_operators.c	2012-06-29 11:59:47 UTC (rev 48405)
@@ -2062,12 +2062,17 @@
 	ot->check = blend_save_check;
 	/* ommit window poll so this can work in background mode */
 
-	WM_operator_properties_filesel(ot, FOLDERFILE | BLENDERFILE, FILE_BLENDER, FILE_SAVE, WM_FILESEL_FILEPATH, FILE_DEFAULTDISPLAY);
+	WM_operator_properties_filesel(ot, FOLDERFILE | BLENDERFILE, FILE_BLENDER, FILE_SAVE, WM_FILESEL_FILEPATH,
+	                               FILE_DEFAULTDISPLAY);
 	RNA_def_boolean(ot->srna, "compress", 0, "Compress", "Write compressed .blend file");
-	RNA_def_boolean(ot->srna, "relative_remap", 1, "Remap Relative", "Remap relative paths when saving in a different directory");
-	RNA_def_boolean(ot->srna, "copy", 0, "Save Copy", "Save a copy of the actual working state but does not make saved file active");
+	RNA_def_boolean(ot->srna, "relative_remap", 1, "Remap Relative",
+	                "Remap relative paths when saving in a different directory");
+	RNA_def_boolean(ot->srna, "copy", 0, "Save Copy",
+	                "Save a copy of the actual working state but does not make saved file active");
 #ifdef USE_BMESH_SAVE_AS_COMPAT
-	RNA_def_boolean(ot->srna, "use_mesh_compat", 0, "Legacy Mesh Format", "Save using legacy mesh format (no ngons)");
+	RNA_def_boolean(ot->srna, "use_mesh_compat", 0, "Legacy Mesh Format",
+	                "Save using legacy mesh format (no ngons) - WARNING: only saves tris and quads, other ngons will "
+	                "be lost (no implicit triangulation)");
 #endif
 }
 




More information about the Bf-blender-cvs mailing list