Blender Git Commits

Blender Git commits from all branches.

Page: 2133 / 2888

December 6, 2015, 11:33 (GMT)
BGE: Add GL synchronization on ImageRender.refresh() without buffer.

Calling ImageRender.refresh() without passing a buffer object will
now perform the render (if not already started earlier with
ImageRender.render()) and wait for the render to complete.
This is done internally with a GLSync object to synchronize with the GPU.
This is only useful when doing offscreen render on texture target:
when refresh() returns, you are guaranteed that the texture is ready for use.

fbo = bge.render.offScreenCreate(width,height,samples,bge.render.RAS_OFS_RENDER_TEXTURE)
tex = fbo.color
ir = bge.texture.ImageRender(scene,camera,fbo)
ir.refresh()
--> tex is now ready for use
December 6, 2015, 11:27 (GMT)
Merge branch 'master' into bmesh-boolean-experiment
December 6, 2015, 11:10 (GMT)
Generalize the node compiler functions a bit to prepare for node groups.
December 6, 2015, 10:37 (GMT)
Moved type conversion utility functions to the common_node module.
December 6, 2015, 10:26 (GMT)
Use update callbacks to sync sockets of group input/output nodes to the interface items.
December 6, 2015, 00:43 (GMT)
Merge branch 'master' into bmesh-boolean-experiment
December 5, 2015, 18:34 (GMT)
Fix memory header corruption, report and cause found by Julian, thanks!
December 5, 2015, 18:16 (GMT)
Merge branch 'master' into wiggly-widgets
December 5, 2015, 17:43 (GMT)
grrr...proper fix this time
December 5, 2015, 17:40 (GMT)
classic blenderplayer compile error fix.
December 5, 2015, 16:14 (GMT)
Use a general update function to update all the nodes that are affected by a group interface.

This is not particularly nice, because it relies on every interface variable to call the
update explicitly. Eventually such things should work via the depsgraph, but this is
currently not easy to do.
December 5, 2015, 15:44 (GMT)
Register node trees only after creating associated group types.

That way the node group definition can update the node tree type before.
December 5, 2015, 15:09 (GMT)
Added lists of inputs and outputs to node trees for defining the group interface.
December 5, 2015, 14:46 (GMT)
GPencil: Moved Stroke Placement settings from GP datablock to tool settings

This commit moves the Stroke Placement settings from being a per-datablock
setting to being stored in tool settings instead. The main reason this was
done was to resolve a usability issue with the old way: in order to set this
setting, you had to first create a GP datablock to be able to see the settings!

Now, by having these as tool settings (as they should have been from the start),
they can be always visible (even when there isn't a datablock yet), meaning that
it will work as expected from the very first stroke.


Implementation Notes:
* There are separate Stroke Placement properties for the different editor types.
e.g. 3D View, Sequencer Preview, Image Editor, and all other 2D Views

* I couldn't get the version patching code working (to port over placement settings
from the GP datablock attached to the active scene), as this was causing crashes
and other general weirdness when loading old files. The code to do this is there,
but #if 0'ed out.
December 5, 2015, 13:26 (GMT)
BGE: Display shadow when default render is off.

There was a bug with logic.setRender(False): the shadow buffers
were not computed, which was visible in the bge.texture.ImageRender()
custom renders.
This is now fixed: the shadow buffers will be computed at most once per
frame by the first ImageRender() or by the default render.
December 5, 2015, 13:06 (GMT)
avoid bow-tie when detecting parallel vert-pair
December 5, 2015, 12:07 (GMT)
Initial support for holes w/ bmesh booleans
December 5, 2015, 10:32 (GMT)
Rudimentary node group classes for an instance node and inputs/outputs.

The node group instance prevents recursive groups by disallowing nested
node trees, both when selecting a different group tree for an existing
node instance, and when adding an existing node to a tree (copy/paste).
December 5, 2015, 10:29 (GMT)
Fix for keymap quirk not resetting default property values.

Keymap entries have to use explicit values for properties if they
are modified in any of the variants. Otherwise the value is not
reset to the default in subsequent calls once it gets changed.
December 5, 2015, 10:27 (GMT)
Object node id property poll function should be a regular function rather that a classmethod.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021