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
committerPhilipp Oeser <info@graphics-engineer.com>2022-03-21 15:26:48 +0300
commit27bef3ee02ce776d4e2d00dab349444c4d394841 (patch)
treef175503d6da86758ffeba1d6cff82178dc9966b1 /source/blender/io/wavefront_obj/tests/obj_exporter_tests.hh
parenteb605ba78808f2bba73267548f4949001391538e (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/obj_exporter_tests.hh')
-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 c101081ca54..073e0daca0f 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;