Commit 33770aa6 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'renderer_crashfix' into 'master'

crashfix

See merge request !1
parents 5c4ffb91 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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment