mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +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 "EntityItemProperties.h"
|
||||
|
||||
RecurseOctreeToJSONOperator::RecurseOctreeToJSONOperator(const OctreeElementPointer& top, QScriptEngine* engine,
|
||||
RecurseOctreeToJSONOperator::RecurseOctreeToJSONOperator(const OctreeElementPointer&, QScriptEngine* engine,
|
||||
QString jsonPrefix /* = QString() */, bool skipDefaults /* = true */)
|
||||
: _top(top)
|
||||
, _engine(engine)
|
||||
: _engine(engine)
|
||||
, _json(jsonPrefix)
|
||||
, _skipDefaults(skipDefaults)
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
class RecurseOctreeToJSONOperator : public RecurseOctreeOperator {
|
||||
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 postRecursion(const OctreeElementPointer& element) override;
|
||||
|
||||
|
@ -22,7 +22,6 @@ public:
|
|||
private:
|
||||
void processEntity(const EntityItemPointer& entity);
|
||||
|
||||
const OctreeElementPointer& _top;
|
||||
QScriptEngine* _engine;
|
||||
QScriptValue _toStringMethod;
|
||||
|
||||
|
|
Loading…
Reference in a new issue