[Bf-committers] python nmesh setmode subsurf
Ken Hughes
khughes at pacific.edu
Tue May 2 20:16:27 CEST 2006
Toni Alatalo wrote:
> On Tuesday 02 May 2006 01:08, Alexander Ewering wrote:
>
>>On Mon, 1 May 2006, Ken Hughes wrote:
>>
>>>>how can one turn on subsurf using the new api ?
>>
>>I guess someone will add compatibility code that will add a subsurf
>>modifier for old scripts which try to turn this flag on, right?
>
> So the equivalent behaviour for py api would perhaps be to make the getter for
> the old subsurf flag to work, based on the modifier info, but have setting it
> raise a DepracationError telling to use the modstack. All the scripts I have
> heard of that have suffered from this problem were exporters that need to
> check the subsurf setting. I guess scripts that create / modify objects and
> set this setting are better ported to the 2.4 series anyway? Or would having
> setting work be important for some reason?
Thought about this a little, and while at first glance it appears doable
(adding/deleting a subsurf modifier), wasn't the subsurf setting stored
in the mesh previously, while the modifier is stored with the object?
Ken
More information about the Bf-committers
mailing list