diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-21 10:37:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-21 10:37:42 +0400 |
commit | 1f8f7310e98764f4a0368a4316a70b34941d5166 (patch) | |
tree | cba3e25dad3f2c8cdaed1c93a97a4ddc3af0d29f /source/blender/render/extern/include/RE_render_ext.h | |
parent | d88d41b26513d052700925422db6a9ae469f8299 (diff) |
calculate sticky wasnt working very well and had a few glites -
updating data was only being done on the active object but sticly was being calculated for the selection.
split this into 2 operators, one that works on the selection and another that operates on the active object - so we can have a button in the mesh panels that calculates sticky.
also note that there was no way to calculate sticky from the UI - perhaps this feature should die a quiet death?
anyway - it works better then it used to for now.
Diffstat (limited to 'source/blender/render/extern/include/RE_render_ext.h')
-rw-r--r-- | source/blender/render/extern/include/RE_render_ext.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/render/extern/include/RE_render_ext.h b/source/blender/render/extern/include/RE_render_ext.h index c07ed42332f..2a9a1becc42 100644 --- a/source/blender/render/extern/include/RE_render_ext.h +++ b/source/blender/render/extern/include/RE_render_ext.h @@ -39,10 +39,11 @@ /* called by meshtools */ struct View3D; struct Scene; +struct LinkNode; -void RE_make_sticky(struct Scene *scene, struct View3D *v3d); - -/* for radiosity module */ +void RE_make_sticky(struct Scene *scene, struct Object *camera, struct LinkNode *objects); + +/* for radiosity module */ struct RadView; struct RNode; struct Render; |