Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Plugin-AlignMeshes
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenFlipper-Free
Plugin-AlignMeshes
Commits
608b639e
Commit
608b639e
authored
Jan 06, 2016
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed uninitialized variable
parent
8f5f2d2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
PluginAlignMeshes.cc
PluginAlignMeshes.cc
+13
-6
No files found.
PluginAlignMeshes.cc
View file @
608b639e
...
...
@@ -48,22 +48,29 @@
PluginAlignMeshes
::
PluginAlignMeshes
()
:
toolBox_
(
0
)
{
toolBox_
(
0
),
toolIcon_
(
0
)
{
}
PluginAlignMeshes
::~
PluginAlignMeshes
()
{
delete
toolIcon_
;
if
(
OpenFlipper
::
Options
::
gui
())
{
delete
toolBox_
;
delete
toolIcon_
;
}
}
void
PluginAlignMeshes
::
initializePlugin
()
{
toolBox_
=
new
AlignMeshesToolbox
();
if
(
OpenFlipper
::
Options
::
gui
())
{
toolBox_
=
new
AlignMeshesToolbox
();
toolIcon_
=
new
QIcon
(
OpenFlipper
::
Options
::
iconDirStr
()
+
OpenFlipper
::
Options
::
dirSeparator
()
+
"alignMeshes.png"
);
emit
addToolbox
(
"Align Meshes"
,
toolBox_
,
toolIcon_
);
toolIcon_
=
new
QIcon
(
OpenFlipper
::
Options
::
iconDirStr
()
+
OpenFlipper
::
Options
::
dirSeparator
()
+
"alignMeshes.png"
);
emit
addToolbox
(
"Align Meshes"
,
toolBox_
,
toolIcon_
);
connect
(
toolBox_
->
alignMeshesButton
,
SIGNAL
(
pressed
()),
SLOT
(
alignMeshes
()));
connect
(
toolBox_
->
alignMeshesButton
,
SIGNAL
(
pressed
()),
SLOT
(
alignMeshes
()));
}
}
void
PluginAlignMeshes
::
alignMeshes
()
{
...
...
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