Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
cae1a59f
Commit
cae1a59f
authored
Oct 04, 2010
by
pixhawk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor adjustments
parent
97c7f726
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
MAVLinkXMLParser.cc
src/comm/MAVLinkXMLParser.cc
+4
-4
Q3DWidget.cc
src/ui/map3D/Q3DWidget.cc
+1
-0
No files found.
src/comm/MAVLinkXMLParser.cc
View file @
cae1a59f
...
...
@@ -443,10 +443,10 @@ bool MAVLinkXMLParser::generate()
rawHeader
.
write
(
mainHeader
.
toLatin1
());
// Write C structs / lcm definitions
QFile
lcmStructs
(
outputDirName
+
"/mavlink.lcm"
);
ok
=
lcmStructs
.
open
(
QIODevice
::
WriteOnly
|
QIODevice
::
Text
);
success
=
success
&&
ok
;
lcmStructs
.
write
(
lcmStructDefs
.
toLatin1
());
//
QFile lcmStructs(outputDirName + "/mavlink.lcm");
//
ok = lcmStructs.open(QIODevice::WriteOnly | QIODevice::Text);
//
success = success && ok;
//
lcmStructs.write(lcmStructDefs.toLatin1());
return
success
;
}
src/ui/map3D/Q3DWidget.cc
View file @
cae1a59f
...
...
@@ -495,6 +495,7 @@ Q3DWidget::initializeGL(void)
glEnable
(
GL_DEPTH_TEST
);
glShadeModel
(
GL_SMOOTH
);
glLightfv
(
GL_LIGHT0
,
GL_AMBIENT
,
lightAmbient
);
glLightfv
(
GL_LIGHT0
,
GL_DIFFUSE
,
lightDiffuse
);
glLightfv
(
GL_LIGHT0
,
GL_SPECULAR
,
lightSpecular
);
...
...
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