mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 13:49:12 +02:00
Remove unused variable
This commit is contained in:
parent
be279f08dc
commit
6f6c92e647
2 changed files with 3 additions and 5 deletions
|
@ -12,10 +12,9 @@
|
||||||
#include "RecurseOctreeToJSONOperator.h"
|
#include "RecurseOctreeToJSONOperator.h"
|
||||||
#include "EntityItemProperties.h"
|
#include "EntityItemProperties.h"
|
||||||
|
|
||||||
RecurseOctreeToJSONOperator::RecurseOctreeToJSONOperator(const OctreeElementPointer& top, QScriptEngine* engine,
|
RecurseOctreeToJSONOperator::RecurseOctreeToJSONOperator(const OctreeElementPointer&, QScriptEngine* engine,
|
||||||
QString jsonPrefix /* = QString() */, bool skipDefaults /* = true */)
|
QString jsonPrefix /* = QString() */, bool skipDefaults /* = true */)
|
||||||
: _top(top)
|
: _engine(engine)
|
||||||
, _engine(engine)
|
|
||||||
, _json(jsonPrefix)
|
, _json(jsonPrefix)
|
||||||
, _skipDefaults(skipDefaults)
|
, _skipDefaults(skipDefaults)
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
class RecurseOctreeToJSONOperator : public RecurseOctreeOperator {
|
class RecurseOctreeToJSONOperator : public RecurseOctreeOperator {
|
||||||
public:
|
public:
|
||||||
RecurseOctreeToJSONOperator(const OctreeElementPointer& top, QScriptEngine* engine, QString jsonPrefix = QString(), bool skipDefaults = true);
|
RecurseOctreeToJSONOperator(const OctreeElementPointer&, QScriptEngine* engine, QString jsonPrefix = QString(), bool skipDefaults = true);
|
||||||
virtual bool preRecursion(const OctreeElementPointer& element) override { return true; };
|
virtual bool preRecursion(const OctreeElementPointer& element) override { return true; };
|
||||||
virtual bool postRecursion(const OctreeElementPointer& element) override;
|
virtual bool postRecursion(const OctreeElementPointer& element) override;
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ public:
|
||||||
private:
|
private:
|
||||||
void processEntity(const EntityItemPointer& entity);
|
void processEntity(const EntityItemPointer& entity);
|
||||||
|
|
||||||
const OctreeElementPointer& _top;
|
|
||||||
QScriptEngine* _engine;
|
QScriptEngine* _engine;
|
||||||
QScriptValue _toStringMethod;
|
QScriptValue _toStringMethod;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue