Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
Plugin-Decimater
Commits
91a430fc
Commit
91a430fc
authored
May 02, 2016
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the update function of the meshobject private.
parent
8a04041b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
DecimaterPlugin.cc
DecimaterPlugin.cc
+2
-2
No files found.
DecimaterPlugin.cc
View file @
91a430fc
...
...
@@ -832,7 +832,8 @@ void DecimaterPlugin::decimate(int _objID, QVariantMap _constraints) {
object
->
mesh
()
->
garbage_collection
();
object
->
mesh
()
->
update_normals
();
object
->
update
();
emit
updatedObject
(
baseObjectData
->
id
()
,
UPDATE_TOPOLOGY
);
// Create backup
emit
createBackup
(
_objID
,
"Decimation"
);
...
...
@@ -850,7 +851,6 @@ void DecimaterPlugin::decimate(int _objID, QVariantMap _constraints) {
emit
scriptInfo
(
"decimate("
+
QString
::
number
(
_objID
)
+
", "
+
param
+
")"
);
emit
updatedObject
(
baseObjectData
->
id
()
,
UPDATE_TOPOLOGY
);
}
else
{
emit
log
(
LOGERR
,
tr
(
"Unsupported object type for decimater"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment