Blender Git Commit Log

All Blender Git commits.

Page: 4378 / 8462

June 2, 2016, 14:14 (GMT)
Fix T47637: Multiple multires objects in Sculpt mode make blender crash.

That was a nice and funny hunt, albeit rather time consumming!

To summarize, so far code was using a static global gpu_buffer for pbvh vbo drawing
of 'grid' types (multires mostly?).

There were two issues here:
1) Global gpu buffer was assigned to GPU_PBVH_Buffers->index_buf, but then nearly no
check was done when freeing that buffer, to ensure we were not freeing the global one
(not totally sure this one was actually causing any issue, but was bad and unsafe anyway).
Was solved by adding a flag to GPU_PBVH_Buffers to indicate when we are using some
'common' buffer here, which freeing is handled separately.

2) Main issue: if several multires objects in sculpt mode with different grid size
were present simultaneously, the global gpu buffer had to be resized for each object draw
(i.e., freed and re-allocated), but then the pbvh nodes from other objects storing freed reference
to that global buffer had no way to know that it had been freed, which was causing the segfault & crash.
Was solved by getting rid of that global buffer, and instead allocating one 'grid_commmon_gpu_buffer' per pbvh.

Told ya baby, globals are *PURE EVIL*!
June 2, 2016, 12:59 (GMT)
Merge branch 'master' into soc-2016-multiview
June 2, 2016, 12:58 (GMT)
Fix invalid function signature when passing derivatives for types that don't support them.
June 2, 2016, 12:01 (GMT)
Fix for GLSL uniform being update from inside glBegin/glEnd

This seems to be illegal and not productive anyway. Do it ahead of
a time now, which solves shading issues in edit mode and prevents
assert from happening.
June 2, 2016, 10:31 (GMT)
Fix leak using UI_BTYPE_TEXT button w/o a callback

Moving ownership of the string to the button's 'rename_orig'
leaked when the button didn't have a uiAfterFunc.
June 2, 2016, 09:48 (GMT)
Cleanup: warnings in previous commit
June 2, 2016, 09:44 (GMT)
WIP: Select shortest path - Computing the shortest path using regular Dijkstra algorithm
June 2, 2016, 08:48 (GMT)
partial solution for FM autoexecute, auto disables when sim runs and is enabled again on startframe

note: cache will always be overwritten in autoexec sim mode, because keeping it may lead to incorrect sim results
furthermore a couple of changes for external mode (attempt to be more BCB compatible)
June 2, 2016, 08:44 (GMT)
Improve (fix a few bugs in) the transform hierarchy creation.

Now an empty is created for every transform node except for the cases
when the transform node only has a single child that is not a transform
itself.

There are still a few issues in complex hierarchies where multiple
objects have the same name (which is legal in Alembic since it is the
whole path to the object that counts, not just the name).
June 2, 2016, 08:42 (GMT)
Minor edits to last commit

Failed with chunk merging disabled
June 2, 2016, 08:13 (GMT)
BLI_array_store: Move writing many chunks into a function

Minor optimization, avoid some checks each iteration.
June 2, 2016, 08:05 (GMT)
BLI_array_store: store max size in BArrayInfo
June 2, 2016, 06:41 (GMT)
Add extra validation checks to array-store
June 2, 2016, 05:29 (GMT)
Minor changes to help text

D2040 by @Blendify, also move 'Experimental Features' above more general help text.
June 2, 2016, 05:12 (GMT)
ShapeKey was missing lattice-flag

missed from 7a8bd2eae
June 2, 2016, 02:53 (GMT)
Fix T48566: Render-border minor offset issue
June 1, 2016, 22:43 (GMT)
Half float: Half EXR now uses a half4 slot on CPU.

Code in util_half.h inspired by work from Lukas Stockner.

Still a lot missing (GPU, Data Textures...).
June 1, 2016, 21:31 (GMT)
Half Textures: Fix some todos from last commit.
June 1, 2016, 20:11 (GMT)
Implemented the hilbert spiral
June 1, 2016, 20:06 (GMT)
Decklink: fix output on some DeckLink cards.

Opening a DeckLink card for output with the DeckLink object
sometimes failed because some types of card report no support for BGRA pixel
format, yet it works. The test is maintained but a warning is printed
instead of throwing an exception.

Optional cache size suffix added in Decklink output format string: may be
needed for some card that needs more than the default 8 frames.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021