Blender Git Loki

Blender Git commits from all branches.

Page: 2140 / 2888

November 25, 2015, 11:29 (GMT)
Node inputs now have a 'value type' to specify how input connections are treated.

VALUE_CONSTANT inputs can not have connections, their values are known at compile time.
bvm stores these values directly in the instruction list.

VALUE_VARIABLE inputs store values at evaluation time. bvm stores a stack index for them
which is used to load and store from/to the evaluation stack.

VALUE_FUNCTION inputs are passed to kernels to be called internally when needed.
bvm stores an instruction index and allows a jump to this instruction (TODO).
November 25, 2015, 10:43 (GMT)
Merge branch 'master' into GPencil_Editing_Stage3
November 25, 2015, 10:27 (GMT)
Added an 'entry point' instruction number to functions.

This is currently always 0, but will be used in the future to allow
storing per-element functions along with the main code. These can then
be called within kernels.
November 25, 2015, 10:12 (GMT)
Enabled generic math nodes for modifier node trees.
November 25, 2015, 09:51 (GMT)
Fix for static empty mesh variable, used as default value of meshes on the stack.

This creates a (minor) mem leak when statically creating the mesh. Instead it
should be constructed in a init/free pair of functions.

Because this variable is used in all different compile units, each of them has
to create their own global 'empty_mesh' variable.
November 25, 2015, 09:01 (GMT)
Fixed missing delete call for unused nodes.
November 25, 2015, 08:58 (GMT)
Free the modifier bvm function after use.

Note that eventually these should be cached to avoid unnecessary
recompilation, but for now they get compiled on every modifier eval.
November 25, 2015, 08:53 (GMT)
Use the guardedalloc new/delete overloads for relevant classes.
November 25, 2015, 08:29 (GMT)
Fixed overzealous assert for input stack assignments in codegen.

For constant inputs no stack index is needed. Previous to node pruning
this did not trigger the assert because there were still pass nodes
allocating the stack indices.
November 25, 2015, 08:28 (GMT)
Node tree pruning function for removing unused nodes.

This also removes the placeholder 'pass' nodes, which were already
being skipped and made unused.
November 25, 2015, 08:09 (GMT)
Changed node instance storage in the node graph to pointers.

This makes it much easier to optimize the graph by removing and reconnecting nodes.
November 24, 2015, 21:48 (GMT)
BGE: Set render flag true on game start.

Fixes this bug:
1. add `logic.setRender(False)`
2. run game, exit game
3. remove the `logic.setRender` line
4. run game ... the render is still off

Now the render flag will be on by default on game start.

Note: during the game, the render flag stays unchanged across
game restart/load. It's only on initial game start that it is
initialized on.
November 24, 2015, 15:27 (GMT)
Skip hidden widgets when updating widget size
November 24, 2015, 15:06 (GMT)
Cleanup: Mixed code and declarations are allowed now o/

(And other cleanup)
November 24, 2015, 14:52 (GMT)
Merge branch 'master' into id-remap
November 24, 2015, 14:11 (GMT)
Clean up use of old OGL extensions (correction to previous commit)

Somehow managed to not include this in rB72b2de3fa6ac.
November 24, 2015, 11:49 (GMT)
Merge branch 'master' into openvdb
November 24, 2015, 08:50 (GMT)
Merge branch 'master' into id-remap
November 24, 2015, 08:40 (GMT)
Merge branch 'master' into object_nodes

Conflicts:
source/blender/blenkernel/intern/softbody.c
November 24, 2015, 07:51 (GMT)
Cleanup: Use of old OGL extensions, use `rna_enum_` prefix for RNA enums

Just to apply to latest changes in master.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021