Dennis
15th July 2004, 02:34 AM
Hi all,
I have a plugin that moves a selection "toward" a 3D point (mainly for moving a selection with higher precision than manual editing allows along a non-axis-aligned plane/edge). I perform moves at the vertex level using vertex_set_point().
The plugin works almost perfectly, but the selection bb doesn't update in the view window. Here's an example of what happens - you can see in the "Left" view where the vertices used to be, and how the selection bb didn't change:
http://bellsouthpwp.net/a/t/atomicd/movetoward_sel.jpg
I'm calling redraw_all() at the end of the function. What am I missing? Is vertex_set_point() the preferred method of moving vertices?
Thanks,
Dennis
I have a plugin that moves a selection "toward" a 3D point (mainly for moving a selection with higher precision than manual editing allows along a non-axis-aligned plane/edge). I perform moves at the vertex level using vertex_set_point().
The plugin works almost perfectly, but the selection bb doesn't update in the view window. Here's an example of what happens - you can see in the "Left" view where the vertices used to be, and how the selection bb didn't change:
http://bellsouthpwp.net/a/t/atomicd/movetoward_sel.jpg
I'm calling redraw_all() at the end of the function. What am I missing? Is vertex_set_point() the preferred method of moving vertices?
Thanks,
Dennis