Skip to content
Snippets Groups Projects
Commit c4ee993c authored by Temeez's avatar Temeez
Browse files

`Object` had no accessible width and height fields

parent 12accd70
No related branches found
No related tags found
No related merge requests found
......@@ -819,6 +819,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,
......@@ -893,6 +895,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