mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-30 01:33:16 +08:00
ENH: CLI: allow height shrink when printer switch
to let the error generated at validate JIRA: no jira Change-Id: I94db90db858659a9254dfdc0a6eed04fd40d3768
This commit is contained in:
parent
59e67c0b10
commit
2631ce1d7c
@ -2794,7 +2794,8 @@ int CLI::run(int argc, char **argv)
|
|||||||
if ((old_printable_width > 0)&&(old_printable_depth > 0)&&(old_printable_height > 0))
|
if ((old_printable_width > 0)&&(old_printable_depth > 0)&&(old_printable_height > 0))
|
||||||
{
|
{
|
||||||
//check the printable size logic
|
//check the printable size logic
|
||||||
if ((old_printable_width > current_printable_width) || (old_printable_depth > current_printable_depth) || (old_printable_height > current_printable_height))
|
//if ((old_printable_width > current_printable_width) || (old_printable_depth > current_printable_depth) || (old_printable_height > current_printable_height))
|
||||||
|
if ((old_printable_width > current_printable_width) || (old_printable_depth > current_printable_depth))
|
||||||
{
|
{
|
||||||
BOOST_LOG_TRIVIAL(error) << boost::format("old printable size {%1%, %2%, %3%} is larger than new printable size {%4%, %5%, %6%}, can not print")
|
BOOST_LOG_TRIVIAL(error) << boost::format("old printable size {%1%, %2%, %3%} is larger than new printable size {%4%, %5%, %6%}, can not print")
|
||||||
%old_printable_width %old_printable_depth %old_printable_height %current_printable_width %current_printable_depth %current_printable_height;
|
%old_printable_width %old_printable_depth %old_printable_height %current_printable_width %current_printable_depth %current_printable_height;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user