mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-22 10:57:30 +01:00
Better snap axis defaults.
This commit is contained in:
parent
3f7b422662
commit
f23f3122a4
@ -55,7 +55,7 @@ void VoxelmanProp::set_props(const Vector<Variant> &props) {
|
||||
|
||||
VoxelmanProp::VoxelmanProp() {
|
||||
_snap_to_mesh = true;
|
||||
_snap_axis = Vector3(0, 1, 0);
|
||||
_snap_axis = Vector3(0, -1, 0);
|
||||
}
|
||||
VoxelmanProp::~VoxelmanProp() {
|
||||
_props.clear();
|
||||
|
@ -90,6 +90,7 @@ VoxelChunkPropData::VoxelChunkPropData() {
|
||||
_z = 0;
|
||||
_scale = Vector3(1, 1, 1);
|
||||
_snap_to_mesh = false;
|
||||
_snap_axis = Vector3(0, -1, 0);
|
||||
}
|
||||
VoxelChunkPropData::~VoxelChunkPropData() {
|
||||
_mesh.unref();
|
||||
|
Loading…
Reference in New Issue
Block a user