[Bf-committers] Broken binary plugins

Peter Schlaile peter at schlaile.de
Sun Dec 31 23:45:43 CET 2006


Hi,

the recent changes by Ton and Campbell broke binary compatibility
of sequencer plugins (and most probably of the other binary plugins, too).

Ton's changes made ImBuf's part of the linkable list system and therefore
added fields at the beginning of the structure. This can't be easily done
in another way and is badly needed for the flipbook system, if I
understood it correctly.

For the plugin system, that can be worked around with a version bump and
a little pointer hackery. (See patch below, that does it for sequencer
plugins)

Campbell's patch seems more of cosmetic nature. It changes
VarStruct and enlarges the name-field from 16 to 32 bytes. (And that even
inconsistently, since it only does so in blenkernel and not in the
plugin interface.)

Since the later is cosmetic, I suggest to revert it. (Hacking around it
means also copying the VarStruct structure around or do some nasty hackery
in the GUI code.)

The following patch makes sequencer plugins work again:
http://peter.schlaile.de/seq_plugin_fix.diff

but is still open for discussion.

Greetings,
Peter

P.S.: Campbell's patch can be found here:
http://projects.blender.org/pipermail/bf-blender-cvs/2006-December/008720.html

----
Peter Schlaile <peter at schlaile.de> [Telefon: 0721 - 130277]




More information about the Bf-committers mailing list