mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-17 16:02:11 +00:00
add global mesh transform option
This commit is contained in:
@@ -15,7 +15,9 @@ bool BeltBackTransform::init_from_config(const PrintConfig &config)
|
||||
bool has_global_shear = config.belt_shear_x_global.value ||
|
||||
config.belt_shear_y_global.value ||
|
||||
config.belt_shear_z_global.value;
|
||||
if (!has_global_shear && !BeltTransformPipeline::has_preslice_remap(config))
|
||||
bool has_preslice_global = config.belt_preslice_global.value
|
||||
|| config.preslice_remap_global.value;
|
||||
if (!has_global_shear && !has_preslice_global && !BeltTransformPipeline::has_preslice_remap(config))
|
||||
return false;
|
||||
|
||||
// Build the forward pipeline (scale * shear * pre_remap) and store its inverse.
|
||||
|
||||
Reference in New Issue
Block a user