User posts mrh85
30 December 2016 16:31
30 December 2016 00:05
I was trying both workarounds without success.
1)
2) See attached screenshot
I have the same result. Perhaps I'm still doing something wrong.
Can you estimate when we can expect bug fix release?
1)
function loaded_cb(data_id) {
var objs = m_scenes.get_all_objects("ALL", data_id);
for (var i = 0; i < objs.length; i++) {
var obj = objs[i];
if (m_obj.is_mesh(obj)) {
m_obj.update_boundings(obj);
}
}
}
2) See attached screenshot
I have the same result. Perhaps I'm still doing something wrong.
Can you estimate when we can expect bug fix release?
29 December 2016 23:24
24 December 2016 15:16
24 December 2016 15:00
When I add Shape Keys I'm unable to select object with pick_object method. Without Shape Keys pick_object method is working correctly.
You can reproduce this bug with morphing code snippet by adding mouse click handler.
pick_object is returning null. I was testing this with few different objects. Please find test blender project.
It is working correctly only with simple cube.
Enabled flags:
Selectable
Enable Outlining
Outline on Select
Export Shape Keys
Force Dynamic Object
Dynamic Geometry
I was debugging pick_object method and discovered that
is returning null. In the pick_color method subs_color_pick.do_render flag is false.
You can reproduce this bug with morphing code snippet by adding mouse click handler.
function main_canvas_clicked_cb(e) {
var x = m_mouse.get_coords_x(e);
var y = m_mouse.get_coords_y(e);
var localSelectedObj = m_scenes.pick_object(x, y);
}
pick_object is returning null. I was testing this with few different objects. Please find test blender project.
It is working correctly only with simple cube.
Enabled flags:
Selectable
Enable Outlining
Outline on Select
Export Shape Keys
Force Dynamic Object
Dynamic Geometry
I was debugging pick_object method and discovered that
m_scenes.pick_color(main_scene, canvas_x, canvas_y)