src/tools/transformtool.cpp

changeset 163
36ea1a8aee33
parent 153
2f79053c2e9a
equal deleted inserted replaced
162:3ebe1a0ca818 163:36ea1a8aee33
35 QWidget* TransformTool::toolWidget() 35 QWidget* TransformTool::toolWidget()
36 { 36 {
37 return this->widget; 37 return this->widget;
38 } 38 }
39 39
40 QString TransformTool::iconName() const
41 {
42 return ":/icons/grid-outline.png";
43 }
44
40 void TransformTool::applyButtonClicked() 45 void TransformTool::applyButtonClicked()
41 { 46 {
42 std::unique_ptr<ModelEditor> editor = this->document->editModel(); 47 std::unique_ptr<ModelEditor> editor = this->document->editModel();
43 const glm::mat4 matrix = this->matrixEditor->value(); 48 const glm::mat4 matrix = this->matrixEditor->value();
44 for (ldraw::id_t id : this->selection) 49 for (ldraw::id_t id : this->selection)

mercurial