diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-27 17:17:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-27 17:17:58 +0400 |
commit | 0059b8dd96bf065406441112f604e59f65d844d6 (patch) | |
tree | 5ec222d2043576e2b7f4ef99b4cf504cf2cf8cb1 /source/blender/windowmanager | |
parent | edd6f21f6c23cd37d5ec6a47acf21a900e824a8e (diff) |
option to save as older mesh format (ifdef'd for now)
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index b6f59418f0a..db8f9794c88 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -46,6 +46,7 @@ #include "DNA_scene_types.h" #include "DNA_userdef_types.h" #include "DNA_windowmanager_types.h" +#include "DNA_mesh_types.h" /* only for USE_MESH_FORWARDS_COMAT */ #include "BLF_translation.h" @@ -2011,6 +2012,9 @@ static void WM_OT_save_as_mainfile(wmOperatorType *ot) 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"); +#ifdef USE_MESH_FORWARDS_COMAT + RNA_def_boolean(ot->srna, "use_mesh_compat", 0, "Legacy Mesh Format", "Save using legacy mesh format (no ngons)"); +#endif } /* *************** save file directly ******** */ |