Skip to content
Snippets Groups Projects
Unverified Commit b5e8beac authored by Matt Hall's avatar Matt Hall Committed by GitHub
Browse files

Merge pull request #75 from Temeez/master

`Object` had no accessible width and height fields
parents d603b761 c4ee993c
No related branches found
No related tags found
No related merge requests found
......@@ -824,6 +824,8 @@ pub struct Object {
pub gid: u32,
pub name: String,
pub obj_type: String,
pub width: f32,
pub height: f32,
pub x: f32,
pub y: f32,
pub rotation: f32,
......@@ -898,6 +900,8 @@ impl Object {
gid: gid,
name: n.clone(),
obj_type: t.clone(),
width: w,
height: h,
x: x,
y: y,
rotation: r,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment