Blender Git Commits

Blender Git "master" branch commits.

Page: 3353 / 5574

December 22, 2012, 13:39 (GMT)
From the long todo:

New Outliner mode: "Main Data".

This shows a flattened, non-hierarchical list of all linkable "ID" data in
your current project. It works fine on searches. Actually this is the
view on the "Main" database in Blender, the one that's saved in a .blend.

This is in general more useful than the "Datablocks" viewer,
which is not searchable, and shows every property of data as well.


December 22, 2012, 11:52 (GMT)
Small drawing glitch, for UI with transparent overlapping regions;

- The corner 'duplicate/merge area' widget was drawing too often.

(Added comment in subwindow 'active' code, too many redraws are being
sent on moving mouse over region eddges)

December 22, 2012, 11:08 (GMT)
Small tweak in the new "Relative Parent" option for Bones that have Object-children:

- Transform now is relative to the bone root.

For backwards compatibility this transform was set to the tip for parenting...

Now the new parenting option uses the root, the old one still the tip.
I've noted in the code to check on a version patch, to make it consistent.

December 22, 2012, 09:37 (GMT)
fix for using uninitialized flag in my last commit.
December 22, 2012, 08:59 (GMT)
BGE: The PyGILState_Ensure() call in KX_Scene was causing a segfault in the Blenderplayer even when being run in the main thread. I'm removing it for now since I don't think it will really cause a problem.
December 22, 2012, 08:37 (GMT)
correct own error in openmp use for BM_mesh_elem_index_ensure().
December 22, 2012, 08:19 (GMT)
Weight gradient tool for weight paint mode
- blends from current weight into alpha zero.
- uses brush alpha & curve.
- respects weight paint vertex/face select modes.
- updates realtime.


Access With
- Alt+LMB (linear gradient)
- Ctrl+Alt+LMB (radial gradient)


note:
- WM_gesture_straightline_* are used but not well suited to this task, may end up replacing with own modal operator.
- Key handling works but needs to be done better.
December 22, 2012, 08:13 (GMT)
function for flushing polygon -> vert,edge selection (in object mode), currently unused.
December 22, 2012, 05:38 (GMT)
BGE: Committing async LibLoad from Swiss. This does the lib loading in a separate thread to keep the BGE from freezing. Here is an example from the docs:

# Print a message when an async LibLoad is done
import bge

def finished_cb(status):
print("Library (%s) loaded in %.2fms." % (status.libraryName, status.timeTaken))

bge.logic.LibLoad('myblend.blend', 'Scene', async=True).onFinish = finished_cb

LibLoad() now returns a KX_LibLoadStatus object for information on the library loading. LibNew() and LibFree() are unaffected by this commit. In other words, the async option only works for LibLoad(). Furthermore it only works for Scenes, not Actions or Meshes.
December 22, 2012, 05:04 (GMT)
Text Editor: Gray out the Register check unless the file has .py extension. (feature lost since July)

December 22, 2012, 01:08 (GMT)
code cleanup and minor changes
- use DummyRNA_NULL_items to replace empty enums.
- replace calloc with malloc in copy_dverts since its copied over after.
- add wmGesture->userdata, so operators that use gestures have somewhere to store their own data (not used yet).
December 21, 2012, 20:25 (GMT)
"Fix" for [#33524] Interaction of "Size" & "Distance" sliders in "Spot Lamp" panel with "3D view"

Simply added a dashed line materializing the center/direction of the spot, and ending at Distance from it (exactly as for the Area lamp). We already had something similar for buffered shadow spots (to materialize start/end clipping), and imho it's also quite useful to see *where* points a spot, when using wide spots!

Very easy to revert anyway.
December 21, 2012, 19:20 (GMT)
back to utf-8 encoding!
December 21, 2012, 19:05 (GMT)
Bug fix #33648

Node location coordinate was wrapped within 10k limits, now 100k.
Go figure how large these modern node setups get :)

December 21, 2012, 18:10 (GMT)
Additional fix in glsl shaders: "Darken" was using different formula as render.
"Divide" still differs too for division by zero - cannot find this yet...

December 21, 2012, 17:47 (GMT)
Bug fix #33647

Particle combing didn't always respond as expected. The combed effect was
depending on the center of object in view, instead of on the center of
selected hairs. That made combing in certain close ups impossible.

Same was actually true for transform tools for hairs!

And even worse - there was an optimize break in calculating center
which wasn't true even. Causing centers for transform to fail similar
in other cases.


December 21, 2012, 16:11 (GMT)
Bug fix, own collection:

User preference "Zoom Scale" didn't work correct for 2d views.
(was calculating center of region badly).

December 21, 2012, 15:41 (GMT)
Fix encoding of those files (was iso-8859-15, i.e 8bit, instead of utf-8!).
December 21, 2012, 12:17 (GMT)
rename rna prop _parenting -> _parent
December 21, 2012, 12:16 (GMT)
make Node.links return a tuple, this may you can't do socket.links.append() by mistake.
removed RNAMeta mixin class since you cant register subclasses.

also some minor code cleanup
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021