Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAras Pranckevicius <aras_p>2022-03-13 19:04:52 +0300
committerHoward Trickey <howard.trickey@gmail.com>2022-03-13 19:04:52 +0300
commit70720c42c21265d88e2182eebfe5d6544d197424 (patch)
tree509ef24dfbea05d5d78ba77267494dbf410c2031 /source/blender/io/wavefront_obj/tests
parent91dbc28363e5450f241eb9696aaca29075c01d20 (diff)
Fix T96303: C++ OBJ exporter needs presets and skip modifiers.
This patch, D14303, from Aras Pranckevicius adds presets to the OBJ exporter, and also adds a checkbox (default on) to apply modifiers before export.
Diffstat (limited to 'source/blender/io/wavefront_obj/tests')
-rw-r--r--source/blender/io/wavefront_obj/tests/obj_exporter_tests.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/io/wavefront_obj/tests/obj_exporter_tests.hh b/source/blender/io/wavefront_obj/tests/obj_exporter_tests.hh
index e4339a289a8..42660bbbe56 100644
--- a/source/blender/io/wavefront_obj/tests/obj_exporter_tests.hh
+++ b/source/blender/io/wavefront_obj/tests/obj_exporter_tests.hh
@@ -86,6 +86,7 @@ struct OBJExportParamsDefault {
params.up_axis = OBJ_AXIS_Y_UP;
params.scaling_factor = 1.f;
+ params.apply_modifiers = true;
params.export_eval_mode = DAG_EVAL_VIEWPORT;
params.export_selected_objects = false;
params.export_uv = true;