mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-29 01:33:15 +08:00
FIX:Delete unnecessary code
jira: STUDIO-12128 Change-Id: I243191369407a1bb2f375a9eb903a235959456a5
This commit is contained in:
parent
1b8a2e5a16
commit
b1ca6c21c3
@ -84,10 +84,6 @@ std::string GLGizmoScale3D::get_tooltip() const
|
|||||||
|
|
||||||
void GLGizmoScale3D::data_changed(bool is_serializing)
|
void GLGizmoScale3D::data_changed(bool is_serializing)
|
||||||
{
|
{
|
||||||
const Selection &selection = m_parent.get_selection();
|
|
||||||
bool enable_scale_xyz = selection.is_single_full_instance() || selection.is_single_volume_or_modifier();
|
|
||||||
for (unsigned int i = 0; i < 6; ++i)
|
|
||||||
m_grabbers[i].enabled = enable_scale_xyz;
|
|
||||||
set_scale(Vec3d::Ones());
|
set_scale(Vec3d::Ones());
|
||||||
|
|
||||||
change_cs_by_selection();
|
change_cs_by_selection();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user