Browse Source

Revert "Set PixelsPerUnit default value to 100, make 2D Object has suitable size in Editor."

This reverts commit 766ce1d4c106feb289a9d7338e2f2fd81dad14e8.
aster2013 11 years ago
parent
commit
a2daae5573
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Engine/Urho2D/Drawable2D.cpp

+ 1 - 1
Source/Engine/Urho2D/Drawable2D.cpp

@@ -44,7 +44,7 @@ extern const char* blendModeNames[];
 
 
 Drawable2D::Drawable2D(Context* context) :
 Drawable2D::Drawable2D(Context* context) :
     Drawable(context, DRAWABLE_GEOMETRY),
     Drawable(context, DRAWABLE_GEOMETRY),
-    pixelsPerUnit_(100.0f),
+    pixelsPerUnit_(1.0f),
     zValue_(0.0f),
     zValue_(0.0f),
     blendMode_(BLEND_ALPHA),
     blendMode_(BLEND_ALPHA),
     vertexBuffer_(new VertexBuffer(context_)),
     vertexBuffer_(new VertexBuffer(context_)),