forked from teamnwah/openmw-tes3coop
Make it easier to place objects in the scene editor.
This fix allows objects to be dropped onto the ground, and prevents objects from being selected through the ground.
This commit is contained in:
parent
bde25c8299
commit
ee432690e6
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ osg::Vec3f CSVRender::InstanceMode::getScreenCoords(const osg::Vec3f& pos)
|
|||
}
|
||||
|
||||
CSVRender::InstanceMode::InstanceMode (WorldspaceWidget *worldspaceWidget, QWidget *parent)
|
||||
: EditMode (worldspaceWidget, QIcon (":placeholder"), Mask_Reference, "Instance editing",
|
||||
: EditMode (worldspaceWidget, QIcon (":placeholder"), Mask_Reference | Mask_Terrain, "Instance editing",
|
||||
parent), mSubMode (0), mSubModeId ("move"), mSelectionMode (0), mDragMode (DragMode_None),
|
||||
mDragAxis (-1), mLocked (false), mUnitScaleDist(1)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue