mirror of
https://github.com/leozide/leocad
synced 2025-02-08 08:45:57 +01:00
Blender addon - remove config file argument from console command
This commit is contained in:
parent
4764f6a868
commit
e30a9f73bc
1 changed files with 2 additions and 3 deletions
|
@ -447,12 +447,11 @@ void lcRenderDialog::on_RenderButton_clicked()
|
||||||
"'EXEC_DEFAULT', "
|
"'EXEC_DEFAULT', "
|
||||||
"resolution_width=%1, resolution_height=%2, "
|
"resolution_width=%1, resolution_height=%2, "
|
||||||
"render_percentage=%3, model_file=r'%4', "
|
"render_percentage=%3, model_file=r'%4', "
|
||||||
"image_file=r'%5', preferences_file=r'%6'")
|
"image_file=r'%5'")
|
||||||
.arg(mWidth).arg(mHeight)
|
.arg(mWidth).arg(mHeight)
|
||||||
.arg(mScale * 100)
|
.arg(mScale * 100)
|
||||||
.arg(QDir::toNativeSeparators(ModelFileName).replace("\\","\\\\"))
|
.arg(QDir::toNativeSeparators(ModelFileName).replace("\\","\\\\"))
|
||||||
.arg(QDir::toNativeSeparators(ui->OutputEdit->text()).replace("\\","\\\\"))
|
.arg(QDir::toNativeSeparators(ui->OutputEdit->text()).replace("\\","\\\\"));
|
||||||
.arg(QDir::toNativeSeparators(BlenderLDrawConfigFile).replace("\\","\\\\"));
|
|
||||||
if (BlenderImportModule == QLatin1String("MM"))
|
if (BlenderImportModule == QLatin1String("MM"))
|
||||||
PythonExpression.append(", use_ldraw_import_mm=True");
|
PythonExpression.append(", use_ldraw_import_mm=True");
|
||||||
if (SearchCustomDir)
|
if (SearchCustomDir)
|
||||||
|
|
Loading…
Add table
Reference in a new issue