Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Rivill
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MINT
Rivill
Commits
5fc3076f
Commit
5fc3076f
authored
1 year ago
by
Florent Berthaut
Browse files
Options
Downloads
Patches
Plain Diff
Fix remove path crash
parent
c212904a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/Reveal.cpp
+1
-0
1 addition, 0 deletions
src/Reveal.cpp
src/modules/RevealedPathModule.cpp
+6
-0
6 additions, 0 deletions
src/modules/RevealedPathModule.cpp
src/modules/RevealedPathModule.hpp
+2
-0
2 additions, 0 deletions
src/modules/RevealedPathModule.hpp
with
9 additions
and
0 deletions
src/Reveal.cpp
+
1
−
0
View file @
5fc3076f
...
@@ -629,6 +629,7 @@ void Reveal::testDelete() {
...
@@ -629,6 +629,7 @@ void Reveal::testDelete() {
}
}
m_listenersDeleteVec
.
clear
();
m_listenersDeleteVec
.
clear
();
if
(
m_modulesDeleteVec
.
size
()
>
0
)
{
if
(
m_modulesDeleteVec
.
size
()
>
0
)
{
MainWindow
::
getInstance
()
->
refreshModules
(
true
,
erasedListeners
);
MainWindow
::
getInstance
()
->
refreshModules
(
true
,
erasedListeners
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/modules/RevealedPathModule.cpp
+
6
−
0
View file @
5fc3076f
...
@@ -87,6 +87,12 @@ RevealedPathModule::RevealedPathModule(): RevealedModule() {
...
@@ -87,6 +87,12 @@ RevealedPathModule::RevealedPathModule(): RevealedModule() {
RevealedPathModule
::~
RevealedPathModule
()
{
RevealedPathModule
::~
RevealedPathModule
()
{
Reveal
::
getInstance
()
->
unregisterGeom
(
m_pathGeom
);
Reveal
::
getInstance
()
->
unregisterGeom
(
m_pathGeom
);
Reveal
::
getInstance
()
->
removeModuleListObserver
(
this
);
}
void
RevealedPathModule
::
deleteModule
()
{
RevealedModule
::
deleteModule
();
Reveal
::
getInstance
()
->
removeModuleListObserver
(
this
);
}
}
void
RevealedPathModule
::
load
(
xmlNodePtr
node
)
{
void
RevealedPathModule
::
load
(
xmlNodePtr
node
)
{
...
...
This diff is collapsed.
Click to expand it.
src/modules/RevealedPathModule.hpp
+
2
−
0
View file @
5fc3076f
...
@@ -34,6 +34,8 @@ class RevealedPathModule : public RevealedModule, public ModuleListObserver {
...
@@ -34,6 +34,8 @@ class RevealedPathModule : public RevealedModule, public ModuleListObserver {
RevealedPathModule
();
RevealedPathModule
();
virtual
~
RevealedPathModule
();
virtual
~
RevealedPathModule
();
virtual
void
deleteModule
();
virtual
void
load
(
xmlNodePtr
node
);
virtual
void
load
(
xmlNodePtr
node
);
virtual
xmlNodePtr
save
(
xmlNodePtr
parentNode
);
virtual
xmlNodePtr
save
(
xmlNodePtr
parentNode
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment