[Bf-python] getWorldMatrix() Implimented

Campbell Barton cbarton at metavr.com
Fri Jun 25 11:29:53 CEST 2004


Okay agree'd
Is anyone going to make a patch?

Ill need to add getMatrixInternal() for other python/c functions to use.

Failing that I could get the existing functions to pass an empty python 
arg to getMatrix()... but I dont know how to do that.

- cam


Carlos López wrote:

> It's great, and (think) the best option (maybe some day we need 
> another sopace, or kind of matrix, mmm...) Anyway, until now all 
> scripts use the default .getMatrix() refered to local space, so I'd 
> follow the compatibility criteria. Both look well...
>
>
> Regards
> Klópes
>
>
> Campbell Barton wrote:
>
>> Yeah. Im the same, either way.
>>
>> your probably right- fully backwards compatable is better AND works 
>> the same is the betBoneMatrix.
>> There is still the issue with other functs calling getMatrix, jsut 
>> have 2 functions 1 for internal use, and another that takes an argument.
>> - Cam
>>
>>
>> Joseph Gilbert wrote:
>>
>>> Great idea. Although maybe the default should be local? Don't know 
>>> really.
>>> You can decide - but getMatrix() now gets localspace - which would make
>>> things fully backward compatible. However - if objects aren't 
>>> parenting it
>>> doesn't matter anyway :) So probably either one is good. I do like 
>>> the idea
>>> of having the option at least of specifying which space' type - just 
>>> for
>>> clarity sake. I you have the time and inclination the loc/size/rot 
>>> would
>>> also be on this list too I guess :)
>>>
>>> -----Original Message-----
>>> From: bf-python-admin at blender.org 
>>> [mailto:bf-python-admin at blender.org]On
>>> Behalf Of Campbell Barton
>>> Sent: Thursday, June 24, 2004 7:21 PM
>>> To: bf-python at blender.org
>>> Subject: Re: [Bf-python] getWorldMatrix() Implimented
>>>
>>>
>>> Hi. getMatrix('worldspace') is probably the best option (consistant 
>>> with 
>>
>>
>





More information about the Bf-python mailing list