Blender Git Commits

Blender Git "master" branch commits.

Page: 2483 / 5574

November 3, 2015, 13:01 (GMT)
Correct error in recent commit
November 3, 2015, 10:30 (GMT)
Don't expand toggle brush on linking

Toggle brush is more a runtime only feature, not really supposed to be used
as real ID linking as it's done for modifiers i.e.
November 3, 2015, 09:38 (GMT)
Edge/Vert slide: improve multires interpolation

Need to re-interpolate the entire face, not just the connected loop.

Also add BM_face_interp_multires()
November 3, 2015, 09:31 (GMT)
BGE: Remove KX_IPOActuator.

KX_IPOActuator is not used since 2.4.

This patch removes:
- KX_IPOActuator.h/cpp;
- Python doc;
- Write of IPO actuator in write.c;
- Allocation of IPOactuator in sca.c;
- Conversion in KX_ConvertActuators.cpp;
- Initialization of the python proxy in KX_PythonInitTypes.cpp;
- Other minor remove in logic_windows.c and in KX_PythonInit.cpp.

Reviewers: sybren, campbellbarton

Reviewed By: campbellbarton

Subscribers: moguri

Differential Revision: https://developer.blender.org/D1603
November 3, 2015, 09:26 (GMT)
Fix T46677: OpenSubdiv crashes when witching from simple and CC subdivisions

Crash was happening due to OpenGL free from the non-main thread. Ideally we need
to implement somewhat delayed unused buffer free for OpenSubdiv similar to what we
are doing in GPU module.
November 3, 2015, 08:14 (GMT)
Fix: edge/vert slide ignored multires data

Multires data fails the CustomData_layer_has_math() check,
so meshes without UV's for eg werent getting interpolated multires.
November 3, 2015, 07:28 (GMT)
BMesh: add BM_loop_interp_multires_ex which takes cached vars

Avoid recalculating face centers (for each loop) when interpolating multires.
November 3, 2015, 06:46 (GMT)
BMesh: inline vert-loop iteration for normal calc

Calculating normals is called often (sculpting for eg),
so avoid using high-level iterator here.
November 3, 2015, 06:06 (GMT)
Cleanup: use 'const' for BMesh checking funcs
November 3, 2015, 04:50 (GMT)
Fix flip normals w/ multires

Needs Z axis flip to maintain the shape.
November 3, 2015, 04:50 (GMT)
BMesh: avoid mdisp lookups (minor optimization)
November 2, 2015, 18:25 (GMT)
Better fix for pthread ID comparison crap on windows.

Suggested by Sergey, thanks!
November 2, 2015, 17:48 (GMT)
Attempt to fix win32 compilation after own recent commits.
November 2, 2015, 16:04 (GMT)
Filebrowser: fix preview handling to make correct use of task scheduler.

We needed the 'background' feature here, since we never wait on those preview-generation tasks.

Note that it also simplifies the code, and as usual testing is needed here on all possible platforms...
November 2, 2015, 15:57 (GMT)
BLI_task: add support for full-background taskpools.

With current code, in single-threaded context, a pool of task may never be executed
until one calls BLI_task_pool_work_and_wait() on it, this is not acceptable for
asynchronous tasks where you never want to actually lock the main thread.

This commits adds an extra thread in single-threaded case, and a new 'type' of pool,
such that one can create real background pools of tasks. See code for details.

Review: D1565
November 2, 2015, 15:52 (GMT)
BLI_task: add freedata callback to tasks.

Useful in case one needs more complex handling of tasks data than a mere MEM_freeN().
November 2, 2015, 15:42 (GMT)
BLI_task: Fix/enhance logic of exiting worker threads.

In previous code, worker would exit in case it gets awoken from a condition_wait() and
task queue is empty. However, there may be spurious wake up (either due to pthread itself,
or to some race condition between workers) that would lead to wrongly exiting a worker before
we actually exit the whole scheduler. See code for more details.
November 2, 2015, 12:08 (GMT)
Fix/workaround T46622: crash w/ metas & particles

Metas are scanning all scenes duplis,
which can go into particle systems without an initialized derived-mesh.

For now just do NULL check, its not correct but real fix is not fitting well with current design.
November 2, 2015, 10:42 (GMT)
Fix T46626: Crash generating previews

Brush.toggle_brush was allowed to be an invalid pointer,
it worked for the one operator that used it - but in general bad practice,
requiring a lookup on every access.

Ensure the pointer is kept valid now.
November 2, 2015, 10:20 (GMT)
Library API: pass Main struct to unlink functions
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021