dmuratshin 9 years ago
parent
commit
17936dc7a4
2 changed files with 4 additions and 1 deletions
  1. 3 0
      oxygine/src/SlidingActor.cpp
  2. 1 1
      oxygine/src/math/Matrix.h

+ 3 - 0
oxygine/src/SlidingActor.cpp

@@ -57,6 +57,9 @@ namespace oxygine
 
     void SlidingActor::snap()
     {
+        if (!_content)
+            return;
+
         updateDragBounds();
         _drag.snapClient2Bounds();
         _sliding = false;

+ 1 - 1
oxygine/src/math/Matrix.h

@@ -153,7 +153,7 @@ namespace oxygine
     template <class T>
     void MatrixT<T>::transpose()
     {
-        transpose(this, *this);
+        transpose(*this, *this);
     }
 
     template <class T>