Blender Git Commits

Blender Git "master" branch commits.

Page: 3018 / 5574

December 2, 2013, 12:24 (GMT)
Bevel: add width consistency pass.

When the desired widths (offsets) of beveled edges cannot be
satisfied, often because we want them to meet on an intermediate
non-beveled edge, we need to compromise on the widths somehow.
This code changes the compromise to minimize the sum of squares
of errors in the offsets. It also adds a global width consistency
pass: starting from a vertex that needed width adjustment, it
uses a breadth-first search to try to propagate the adjustments
and keep the bevel widths from having to taper along the edges.

Also fixed a case where a reflex angle would cause bad results.
Also fixed the way the 'percentage' width method was calculated.
December 2, 2013, 12:05 (GMT)
Fix T37671: Edit Texture Space on Skin Resize crash

Texture space editing from TFM_SKIN_RESIZE is not supported,
so hide the option and don't use it for such a transform.
December 2, 2013, 11:20 (GMT)
Correct previous commit with BLF & buildinfo
December 2, 2013, 11:14 (GMT)
Fix T37656: Huge amount of RAM used during start when rendering large images

Issue was caused by linear float buffer creating for every working
thread. This buffer actually duplicated original buffer which doubles
amount of required memory.

We can not avoid such a duplication, because OCIO needs to work on a
float buffer and it modifies this buffer.

Alternative for now is to not allocate linear buffer for the whole chunk
which needs to be handled by the thread and use further chunk cutting in
thread itself.

So now every thread will handle the chunk in blocks of 64 scanlines.
This reduces memory overhead significantly without speed loss in own
tests.

Ideally, IMB_processor_apply_threaded need to be switched to generic
task scheduler and made it so this function generates tasks with
reasonable number of scanlines. This requires much more testing to
be sure there're no conflicts with object update and so.

Such a change to IMB_processor_apply_threaded would not be noticed by
users, so do not consider this is a crucial to do right now.
December 2, 2013, 10:53 (GMT)
3D Text: remove 'body' editing from the UI.

This wont preserve newlines, looses materials and is broken in edit-mode.
December 2, 2013, 10:35 (GMT)
User Interface: fix for crash pressing Ctrl+Delete

also remove redundant string duplication.
December 2, 2013, 10:10 (GMT)
Blender Font (BLF): add length argument to string width/height functions

This also fixes a crash editing buttons longer then UI_MAX_DRAW_STR
December 2, 2013, 06:51 (GMT)
MemArena: use size_t instead of int for alloc args and internal storage.

also add BLI_memarena_calloc to be used when calloc isnt enabled for the arena.
December 2, 2013, 04:56 (GMT)
Polyfill: fast-path for convex ngons (and mostly convex ngons).

avoid intersection checks where there are no concave coords.
December 2, 2013, 00:49 (GMT)
Fix for triangulate and beauty-fill

- could crash if triangulate attempted to create an existing face.

- tagging edges to rotate was unreliable, don't do this anymore.
now check if edge is in the array passed to the beauty function.
December 2, 2013, 00:36 (GMT)
CMake: check CMAKE_C_COMPILER_ID instead of CMAKE_CXX_COMPILER_ID

While its possible to have different C/C++ compilers, we dont support
this at the moment, so just check C compiler ID for now.
December 1, 2013, 14:05 (GMT)
Fix T37667: rotational difference driver target marked invalid even though valid.
December 1, 2013, 10:25 (GMT)
Cleanup: remove deprecated old Lamp.shadspotsize from code.

Was not used anymore, except in Collada import/export, but without any conversion code.
Suggested by Brecht in comments of D59.
December 1, 2013, 05:41 (GMT)
Fix for beauty option for triangulate (modifier and tool)
December 1, 2013, 03:30 (GMT)
Code Cleanup: make cpack into a function.
December 1, 2013, 02:11 (GMT)
Code Cleanup: replace ABS() with fabsf() when used with float expressions.
December 1, 2013, 01:37 (GMT)
Code Cleanup: softbody macro use (function calls and expressions within macros)
November 30, 2013, 11:13 (GMT)
BMesh/Mesh: replace scanfill with polyfill
November 30, 2013, 11:00 (GMT)
Geometry API: polyfill2d, ear clipping polygon filling functions.

Simple/predictable polygon filling functions (no hole support)
originally from libgdx which have some advantages over scanfill.

- always creates the same number of triangles (never any missing faces).
- gives same results for any affine transformation.
- doesn't give so many skinny faces by default.

made some changes for Blender.
- remove last ears first (less to memmove)
- step over the ears while clipping to avoid some verts becoming fans to most of the other.
November 30, 2013, 07:41 (GMT)
Code cleanup: minor changes to custom startup file property use
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021