Python API - Update flag during Sculpting

An open space where people who use Blender in an academic environment can share progress and the typical problems and needs of academic environments.

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Mon Jun 17, 2013 9:09 pm

Python API - Update flag during Sculpting

Post by letsplayfootsy »

Hi Everyone,
I'm working on a python script which will aid with 3d sculpting. However, I'm having trouble avoiding unnecessary calculations.

The main interaction mechanism I'm using/expecting is through sculpting. I'm looking for something similar to mesh.is_updated, mesh.is_data_updated, or so that I can be notified if an object has had its vertices moved.

I've tried assigning a callback in scene_update_pre and scene_update_post and checking in both of those if any of the flags are being set. Sometimes the flag gets set if I move a vertex in Edit mode, but none of them seem to be updated if I do any amount of sculpting...

Any help or direction would be appreciated


Post Reply