FIX:Modify threshold of plate_count in GLGizmoFlatten

jira: STUDIO-8874
Change-Id: I1a97b5607d24e9400def0fd9cb533da21443b3e2
(cherry picked from commit 932dd27b40aab4c20190eb3a7463008070f582f1)
This commit is contained in:
zhou.xu 2024-11-25 18:01:44 +08:00 committed by Lane.Wei
parent 4eb6502c59
commit 1950039b08

View File

@ -357,7 +357,7 @@ void GLGizmoFlatten::update_planes()
planes.pop_back();
}
};
const int plane_count = 10;
const int plane_count = 20;
for (size_t i = 0; i < m_planes.size(); i++) {
if (m_planes[i].area < experted_minimal_area) {
if (i + 1 >= plane_count) {