Blender Git Commits

Blender Git commits from all branches.

Page: 2171 / 2888

October 8, 2015, 10:03 (GMT)
Merge branch 'master' into free-refcount-ids
October 8, 2015, 08:36 (GMT)
Added "expressions" as a reduced definition of a function for evaluating instruction lists.
October 7, 2015, 21:15 (GMT)
Replace 'do_id_user' param of BKE_xxx_free() funcs by generic BKE_libblock_relink().

Heavily simplfies that freeing area, but again a rather risky and likely-to-break change.

At least, NodeTree is known to be a trouble-maker here, due to how it seems to be
'owned' by its mat/tex/sce/etc. Have to dig deeper here, this is still quite unclear
what exactly happens with those, and how to handle them correctly.
October 7, 2015, 19:56 (GMT)
Add BKE_libblock_relink(), which works as _libblock_remap(), but only over one given ID
(instead of whole Main content).

Could replace maybe things like constraint, rigisbody world, etc. '_relink' func,
but for now it's only intended to replace custom 'id releasing' code in _free()
funcs of all IDs!
October 7, 2015, 19:10 (GMT)
Avoid fexplicit conversion to ID * for remap parameters (use void pointers instead).
Also found another missing ID in foreach_id (sound pointer of sequences).
October 7, 2015, 18:56 (GMT)
Merge branch 'master' into id-remap
October 7, 2015, 18:32 (GMT)
Huuuuuuuge commit - replace ugly scene/object/group_unlink by new generic libblock_unlink.

Previous situation was pretty much horrible, a few data types having their own coocking to
unlink, often doing more than only unlinking, often doing the same thing two times or more,
often messing with areas they should not have touched (like editors from withing BKE)...

Now we hope to have something generic, working the same way for all ID types
(we do have to add some specific handling for groups/objects/scene unfortunately,
but this remains reasonable).

Needless to say such a change is calling for troubles - I tried to follow and reproduce
as best as I could previous code, but most likely some areas will become buggy. Do not think
previous code was 100% correct anyway, things like Objects have a really big and complicated
usage of IDs...

Also, foreach_id tool has been enhanced, again for complex types like objects & co, we should
cover much better all possible IDs now (e.g. rigidbody & logic bricks were
totally missing from there).

And there is more to come...
October 7, 2015, 08:31 (GMT)
Adding game sensors/controllers/actuators to foreachid libquery.

Those were totally missing, cannot see a good reason for it...
Seems to work OK, but only very quickly tested code.
October 6, 2015, 20:47 (GMT)
allow deforming rigidbodies now with mesh_source 'FINAL' as well
October 6, 2015, 15:49 (GMT)
BGE: API documentation for FBO creation and use in VideoTexture.
October 6, 2015, 12:47 (GMT)
Make use of new IDWALK_REFCOUNTED flag in our ID remap code.

Think core of the system is getting pretty much OK, now we'll likely have to deal
with tons of specific cases, given how Blender is totally inconsistent when it comes to
handling user counts (e.g. spaceimage...).

Also, still have to make generic ID_unlink and ID_release_datablocks func to replace
redundant code in BKE we have currently.
October 6, 2015, 12:46 (GMT)
BGE: new rasterizer method to create FBO for custom render in VideoTexture.

New raterizer method:

fbo = bge.render.offScreenCreate(width,height)
width, height: size of the FBO, need not be power of two
Returns a PyRASOffScreen object that encapsulates the FBO.
It has just 2 attributes: width and height to return the size of the FBO.
Currently, this object can only be used in the ImageRender constructor.

New optional argument on ImageRender constructor:

ir = bge.texture.ImageRender(scene, camera, fbo)
If present, fbo is an object of type PyRASOffScreen.
The returned ImageRender object holds a reference to it, which ensures
that the FBO livespan is at least as long as the ImageRender object.
One PyRASOffScreen object can be shared by multiple ImageRender objects.
The FBO is automatically destroyed when all refences to the PyRASOffScreen
object are released.
Note: the whole and capSize attributes of the ImageRender object have no
effect when an FBO is used: the render and the capture is automatically
done on the full size of the FBO.
October 6, 2015, 10:25 (GMT)
Merge branch 'missing-libs' into id-remap
October 6, 2015, 10:25 (GMT)
Merge branch 'lib-link-rework-temp' into id-remap
October 6, 2015, 10:25 (GMT)
Merge branch 'free-refcount-ids' into id-remap
October 6, 2015, 10:23 (GMT)
Merge branch 'master' into missing-libs
October 6, 2015, 10:20 (GMT)
Merge branch 'master' into lib-link-rework-temp
October 6, 2015, 10:19 (GMT)
Merge branch 'master' into free-refcount-ids
October 5, 2015, 23:01 (GMT)
Merge branch 'master' into soc-2014-fluid
October 5, 2015, 22:53 (GMT)
script changes
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021