diff options
author | Dmytro Dadyka <d.dadyka@dmail.com> | 2015-01-07 12:58:51 +0900 |
---|---|---|
committer | ChunEon Park <hermet@hermet.pe.kr> | 2015-01-07 12:58:51 +0900 |
commit | 38b3d5a8570e8ca54458873e580995cab2487f3c (patch) | |
tree | 67bc40b12a7975009145b3eb341c58653f9de096 /src/lib/evas/canvas | |
parent | 5cfb2664318282079b72474718039232dad2548a (diff) |
[Evas: Evas_3D] Fixed bug with bounding shapes update.
Reviewers: cedric, Hermet
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1851
Diffstat (limited to 'src/lib/evas/canvas')
-rw-r--r-- | src/lib/evas/canvas/evas_3d_node.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_3d_node.c b/src/lib/evas/canvas/evas_3d_node.c index bcbb1db63f..b013e63293 100644 --- a/src/lib/evas/canvas/evas_3d_node.c +++ b/src/lib/evas/canvas/evas_3d_node.c | |||
@@ -1358,6 +1358,7 @@ _evas_3d_node_mesh_frame_get(Eo *obj EINA_UNUSED, Evas_3D_Node_Data *pd, Evas_3D | |||
1358 | EOLIAN static void | 1358 | EOLIAN static void |
1359 | _evas_3d_node_bounding_box_get(Eo *obj EINA_UNUSED, Evas_3D_Node_Data *pd, Evas_Real *x, Evas_Real *y, Evas_Real *z, Evas_Real *x2, Evas_Real *y2, Evas_Real *z2) | 1359 | _evas_3d_node_bounding_box_get(Eo *obj EINA_UNUSED, Evas_3D_Node_Data *pd, Evas_Real *x, Evas_Real *y, Evas_Real *z, Evas_Real *x2, Evas_Real *y2, Evas_Real *z2) |
1360 | { | 1360 | { |
1361 | eo_do(obj, evas_3d_object_update()); | ||
1361 | if (x) *x = pd->aabb.p0.x; | 1362 | if (x) *x = pd->aabb.p0.x; |
1362 | if (y) *y = pd->aabb.p0.y; | 1363 | if (y) *y = pd->aabb.p0.y; |
1363 | if (z) *z = pd->aabb.p0.z; | 1364 | if (z) *z = pd->aabb.p0.z; |
@@ -1369,6 +1370,7 @@ _evas_3d_node_bounding_box_get(Eo *obj EINA_UNUSED, Evas_3D_Node_Data *pd, Evas_ | |||
1369 | EOLIAN static void | 1370 | EOLIAN static void |
1370 | _evas_3d_node_bounding_sphere_get(Eo *obj EINA_UNUSED, Evas_3D_Node_Data *pd, Evas_Real *x, Evas_Real *y, Evas_Real *z, Evas_Real *r) | 1371 | _evas_3d_node_bounding_sphere_get(Eo *obj EINA_UNUSED, Evas_3D_Node_Data *pd, Evas_Real *x, Evas_Real *y, Evas_Real *z, Evas_Real *r) |
1371 | { | 1372 | { |
1373 | eo_do(obj, evas_3d_object_update()); | ||
1372 | if (x) *x = pd->bsphere.center.x; | 1374 | if (x) *x = pd->bsphere.center.x; |
1373 | if (y) *y = pd->bsphere.center.y; | 1375 | if (y) *y = pd->bsphere.center.y; |
1374 | if (z) *z = pd->bsphere.center.z; | 1376 | if (z) *z = pd->bsphere.center.z; |