Added getter for tree scale in js

This commit is contained in:
Atlante45 2014-04-18 16:00:44 -07:00
parent b098a7a294
commit 61981b9470

View file

@ -36,6 +36,9 @@ public:
void setUndoStack(QUndoStack* undoStack) { _undoStack = undoStack; }
public slots:
/// provide the world scale
const int getTreeScale() const { return TREE_SCALE; }
/// checks the local voxel tree for a voxel at the specified location and scale
/// \param x the x-coordinate of the voxel (in meter units)