[Bf-python] adding Blender.ReshadeAll method
Campbell Barton
cbarton at metavr.com
Tue Feb 7 00:59:28 CET 2006
Agree- redraw and reshade are very different things, and should not be
confused :). Is there a way not to reshade all? why not just
Window.Reshade()
if there is a way to reshade 1 object then ob.reshade() might be good.
- Cam
bmx007 wrote:
> Reshading need indeed CPU, so there is good reason to not do it automatically.
> Adding an argument in one of the Redraw function is finally a bad idea
> because if you want to refresh lamp panel and 3D view, you'll need to
> a RedrawAll.
> We should add in this case reshading in the RedrawAll. This force
> everyone thatr wants to reshade to redraw all the views.
>
> Becauses this need is very specific (we need it only if we change lamp
> settings or move object in shaded mode), I think a separate method
> will be more flexible.
> Perhas a Blender.Object.ReshadeAll (as jms suggests) will fit ...
>
> Other idea ?
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>
>
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-python
mailing list