Blender Git Commits

Blender Git commits from all branches.

Page: 1573 / 2888

March 11, 2018, 06:34 (GMT)
Muli-Edit: UV select(all) / circle / border / lasso
March 11, 2018, 05:59 (GMT)
Lasso Select support for multi-object edit
March 11, 2018, 05:10 (GMT)
Merge branch '28' into temp-object-multi-mode
March 11, 2018, 05:10 (GMT)
Quiet warning
March 11, 2018, 01:14 (GMT)
Merge branch '28' into temp-object-multi-mode
March 10, 2018, 12:29 (GMT)
Code refactor: Missing in previous commit
March 10, 2018, 12:25 (GMT)
Code refactor: Rename fields to prepare for ID datablock

Rename some fields to prepare the code to move the brushes (bGPDbrush) to reuse ID datablock ID_BR (Brush).
March 10, 2018, 11:24 (GMT)
Merge branch 'blender2.8' into greasepencil-object
March 9, 2018, 18:38 (GMT)
Cleanup: Rename brush input_samples field
March 9, 2018, 18:27 (GMT)
Cleanup: Rename brush type field
March 9, 2018, 17:45 (GMT)
Change 'face strength' values.

WARNING! this will break files saved with this branch and using face
strength feature (no crash or data corruption, but face strength values
will become invalid and will produce weird results)!

Rationals for this change are:
* Having strength values in natural order simplifies existing code
already, not to mention any future potential addition to strengthes.
* Now, code will work as-is, even if we decide to add more stength
values in the future.
March 9, 2018, 17:32 (GMT)
Cleanup: use MEM_[cm]alloc_arrayN as needed, instead of MEM_[cm]allocN.

New memory allocator was added a few months ago as an attempt to make
our memory management more secure, still have to go over rest of this
patch's code for same thing. ;)
March 9, 2018, 17:31 (GMT)
Cleanup: Rename brush icon field
March 9, 2018, 17:21 (GMT)
Serious refactor, adding common data struct, some factorizing...

We now pass most common parameters to processing functions using a
single struct, this is much cleaner.

Also, factorized code aggregating poly nors into vertex nors in new
aggregate_vertex_normal function, and optimized expensive powf calls
(exponential inverse weight...) by computing once and caching most
common values (since weight is static all-over processing, and nearly
all vertices will only have a few faces or loops using them...).

Note that am still very unhapy with 'keep sharp edges' case, that one
seems to copy a lot of code we already have in BKE_mesh_evaluate, and
(if I followed code correctly) recompute everything, essentially
ditching the whole first computations of weighted normals!
March 9, 2018, 16:52 (GMT)
Cleanup: Rename subdivide field
March 9, 2018, 14:22 (GMT)
Fix broken 'is vertex in vgroup' check.

Also, better to avoid binary XOR on booleans, you never know how those
are actually stored internally (or how they were generated), and may get
surprising results depending on compiler etc., though with modern
compilers I?d expect this to be safe now?
March 9, 2018, 14:03 (GMT)
More cleanup and optimizations.

Style and naming, arg positons (all loops data together, etc.),
const values and args, and so on...

Also, avoid allocating unused memory, avoid extra loops when possible, etc.
March 9, 2018, 12:38 (GMT)
Initial proof of concept multi-mode

Entering edit-mode uses all selected mesh objects.

- drawing.
- select (picking, circle, border).
- select mode vert/edge/face switching.
- handful of tools: subdivide, delete, select(all)
- uv project & unwrap.
- transform (uv's and vertices)
(crazy-space and islands aren't currently working).

Almost nothing else works, this is a proof of concept.

Note, missing indentation in some added loops to reduce diff noise and merge conflicts.
March 9, 2018, 11:54 (GMT)
Minor cleanup and silplification/optimizations...
March 9, 2018, 10:07 (GMT)
Cleanup: iterator macros

By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021