[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33522] trunk/blender/source/gameengine/ Ketsji: BGE BugFix: [#21246] Some values for ipoactuator. frameEnd and frameStart make ipo not play the first time

Campbell Barton ideasman42 at gmail.com
Mon Feb 7 22:37:53 CET 2011


Blenders DNA handles conversion between float/int/short/(probably char
too) values so its ok to make changes like this without do_versions(),
just double check it does what you expect.

On Mon, Feb 7, 2011 at 9:23 PM, Dalai Felinto <dfelinto at gmail.com> wrote:
> Just for the records.
> Actually the values are all stored as integers so the only way of
> changing that would be changing the DNA and doing a do_version. I
> wonder if a change from integer to float in a struct can go harmless,
> that would be neat too.
>
> That said we have the "Property" playmode which most of the time has a
> float on it. So to have floats there wouldn't be a problem. However
> Blender itself does not allow to change the current frame to a float.
> So it seems a bit against Blender design , no?
>
> Dalai
> (yup old email :) but it was in my to reply list ;)
>
> 2010/12/9 Carsten Wartmann <cw at blenderbuch.de>:
>> Am 09.12.2010 09:28, schrieb Dalai Felinto:
>>> Hi Carsten,
>>> I know floats are supported internally. The UI, however, forces you to pick
>>> an integer for the frame start and end. I don't have a strong opinion here,
>>> but shouldn't the API match the UI "constraints"?
>>
>> For maximum flexibility change the UI constraints... ;-)
>>
>> Carsten
>> --
>> Carsten Wartmann: Autor - Dozent - 3D - Grafik
>> Homepage:         http://blenderbuch.de/
>> Das Blender-Buch: http://blenderbuch.de/redirect.html
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell


More information about the Bf-committers mailing list