Changeset View
Changeset View
Standalone View
Standalone View
plugins/tools/tool_transform2/kis_tool_transform_config_widget.cpp
Show First 20 Lines • Show All 619 Lines • ▼ Show 20 Line(s) | 617 | { | |||
---|---|---|---|---|---|
620 | cageDeformRadio->setVisible(true); | 620 | cageDeformRadio->setVisible(true); | ||
621 | 621 | | |||
622 | // update to correct radio button | 622 | // update to correct radio button | ||
623 | if (config.isEditingTransformPoints()) | 623 | if (config.isEditingTransformPoints()) | ||
624 | cageAddEditRadio->setChecked(true); | 624 | cageAddEditRadio->setChecked(true); | ||
625 | else | 625 | else | ||
626 | cageDeformRadio->setChecked(true); | 626 | cageDeformRadio->setChecked(true); | ||
627 | 627 | | |||
628 | changeGranularity->setCurrentIndex(log2(config.pixelPrecision()) - 2); | ||||
629 | granularityPreview->setCurrentIndex(log2(config.previewPixelPrecision()) - 2); | ||||
630 | | ||||
628 | } | 631 | } | ||
629 | 632 | | |||
630 | } else if (config.mode() == ToolTransformArgs::LIQUIFY) { | 633 | } else if (config.mode() == ToolTransformArgs::LIQUIFY) { | ||
631 | 634 | | |||
632 | stackedWidget->setCurrentIndex(3); | 635 | stackedWidget->setCurrentIndex(3); | ||
633 | liquifyButton->setChecked(true); | 636 | liquifyButton->setChecked(true); | ||
634 | 637 | | |||
635 | const KisLiquifyProperties *props = | 638 | const KisLiquifyProperties *props = | ||
▲ Show 20 Lines • Show All 692 Lines • Show Last 20 Lines |