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-Render-ShaderPipeline
Commits
4f79e8b3
Commit
4f79e8b3
authored
Apr 25, 2017
by
Christopher Tenter
Browse files
avoid crash on show render objects if there are none
parent
5c4ffb91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Renderer.hh
View file @
4f79e8b3
...
...
@@ -86,7 +86,7 @@ public:
public
slots
:
QString
version
()
{
return
QString
(
"1.0"
);
};
QString
renderObjectsInfo
(
bool
_outputShaderInfo
)
{
return
dumpCurrentRenderObjectsToString
(
&
sortedObjects_
[
0
],
_outputShaderInfo
);
};
QString
renderObjectsInfo
(
bool
_outputShaderInfo
)
{
return
sortedObjects_
.
empty
()
?
""
:
dumpCurrentRenderObjectsToString
(
&
sortedObjects_
[
0
],
_outputShaderInfo
);
};
private
slots
:
...
...
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