diff --git a/Aquaria/SceneEditor.cpp b/Aquaria/SceneEditor.cpp index 4e5a465..8c7d295 100644 --- a/Aquaria/SceneEditor.cpp +++ b/Aquaria/SceneEditor.cpp @@ -102,9 +102,9 @@ std::string getMapTemplateFilename() static void tileToQuad(Quad *q, const TileData& t) { q->position = Vector(t.x, t.y); - q->setWidthHeight(t.et->w, t.et->h); - q->scale = Vector(t.scalex, t.scaley); q->setTexturePointer(t.et->tex); + q->setWidthHeight(t.et->w, t.et->h); // set AFTER texture + q->scale = Vector(t.scalex, t.scaley); q->fhTo(!!(t.flags & TILEFLAG_FH)); q->rotation.z = t.rotation; if(t.flags & TILEFLAG_REPEAT && t.rep)