mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-19 01:46:27 +00:00
Fixed animation loader bug, added CBoneTransformData to separate animation transforms away from CSkeleton, added skeleton raycasting, added a bunch of animation playback controls to the character editor
This commit is contained in:
@@ -231,9 +231,7 @@ CRay CBasicViewport::CastRay()
|
||||
|
||||
CVector2f CBasicViewport::MouseDeviceCoordinates()
|
||||
{
|
||||
QPoint MousePos = QCursor::pos();
|
||||
QPoint ThisPos = this->mapToGlobal(pos());
|
||||
MousePos -= ThisPos;
|
||||
QPoint MousePos = mapFromGlobal(QCursor::pos());
|
||||
|
||||
CVector2f Device(
|
||||
(((2.f * MousePos.x()) / width()) - 1.f),
|
||||
|
||||
Reference in New Issue
Block a user