Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
Plugin-PropertyVis
Commits
a9596ffb
Commit
a9596ffb
authored
Feb 12, 2018
by
Martin Heistermann
Browse files
Update object list when objects are renamed (Fixes
#4
).
parent
e7813e24
Changes
2
Hide whitespace changes
Inline
Side-by-side
PropertyVisPlugin.cc
View file @
a9596ffb
...
...
@@ -219,6 +219,15 @@ void PropertyVisPlugin::slotObjectUpdated( int _identifier, const UpdateType& _t
}
}
void
PropertyVisPlugin
::
slotObjectPropertiesChanged
(
int
_identifier
)
{
// We get this signal when properties are renamed
if
(
OpenFlipper
::
Options
::
gui
()
&&
tool_
->
isVisible
()
)
{
updateGUI
();
}
}
void
PropertyVisPlugin
::
updateGUI
()
{
DataType
datatype
=
DataType
(
DATA_TRIANGLE_MESH
|
DATA_POLY_MESH
);
...
...
PropertyVisPlugin.hh
View file @
a9596ffb
...
...
@@ -120,6 +120,7 @@ private slots:
// BaseInterface
void
slotObjectUpdated
(
int
_identifier
,
const
UpdateType
&
_type
)
override
;
void
slotObjectPropertiesChanged
(
int
_identifier
)
override
;
void
slotAllCleared
()
override
;
// LoadSaveInterface
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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