-Added ATITC texture support

-Fixed bug of some tabs showing wrong names
-Exported properties for viewport
This commit is contained in:
Juan Linietsky
2014-02-26 10:08:17 -03:00
parent b2ce682f6e
commit ed6d9463d2
22 changed files with 303 additions and 51 deletions

View File

@@ -162,6 +162,10 @@ void Node2D::set_scale(const Size2& p_scale) {
if (_xform_dirty)
((Node2D*)this)->_update_xform_values();
scale=p_scale;
if (scale.x==0)
scale.x=CMP_EPSILON;
if (scale.y==0)
scale.y=CMP_EPSILON;
_update_transform();
_change_notify("transform/scale");