Blender Git Loki

Kaikki Blender Git kommitit.

Page: 2165 / 8462

September 25, 2019, 01:45 (GMT)
Cleanup: MOD_explode: Sanitize code some more.

This happens to be a non-behavioral change, but previous code here was
*very* confusing, and only ended up generating expected results by mere
chance (since `facepa[i]` == `totpart` in case the face has no (valid)
particle, i.e. `pa == NULL`)...
September 25, 2019, 01:45 (GMT)
Cleanup: MOD_Explode: sanitize face-without-particle case.

Systematically reset particle pointer to NULL and use it to detect
invalid particle case, instead of checking value of the face's
particle index everywhere in a confusing and prone-to-bug way
(see T70150 and previous commit).

No behavioral change expected here.
September 25, 2019, 01:45 (GMT)
Fix T70150: Explode modifier crashes with empty vertex group.

There?s be a lot to say about that explode modifier code, for now just
follow other places in code... But the handling of 'invalid'/'unkown'
particle case is... quiet confusing to say the least.
September 25, 2019, 01:45 (GMT)
UI: Move new sculpt mode tools to correct places in toolbar

Follows general logic, and are placed next to similar tools.
September 25, 2019, 01:45 (GMT)
UI: Add missing toolbar icons for Sculpt Mode
September 25, 2019, 01:45 (GMT)
GPencil: Fix missing last point when sculpt in Multiframe

This was a mistake when fixed the problem with multiframe sculpt. I missed change the index and use active point in the check.
September 25, 2019, 01:45 (GMT)
Mathutils: expose the swing + twist Quaternion decomposition to Python.

This decomposition is useful in rigging, and involves a math trick.
September 25, 2019, 01:45 (GMT)
GPencil: Performance improvement for Multiframe and Onion Skin

Before when Onion or Multiframe was enabled the VBO length was the total of points on the object for all frames and this results in a big size when the scene had a lot of frames.

Now, the size of VBO length is calculated more precisely and reduce the time to alloc the VBO.This also reduce memory footprint.
September 25, 2019, 01:45 (GMT)
Cleanup: Fix comment mistake
September 25, 2019, 01:45 (GMT)
GPencil: Apply transformed rotation only if needed

If there aren't modifiers or they are not transform type, the rotation is not needed.
September 25, 2019, 01:45 (GMT)
GPencil: Use Object location instead of 3D cursor for Grab Brush

Instead to use the 3D cursor as reference point (legacy code), it would be better use the object location.

Tested by: @pepeland
September 25, 2019, 01:45 (GMT)
GPencil: Remove Sculpt rotation effect for multiframe sculpt

As multiframe does not use modifiers, this is not required and only gets weird results.

Related to T70116
September 25, 2019, 01:45 (GMT)
GPencil: More changes to use original data in multiframe sculpt

Related to T70116
September 25, 2019, 01:45 (GMT)
GPencil: Multiframe Show only Edit lines was inverted

The flag was working in the oposite mode.

Related to T70116
September 25, 2019, 01:45 (GMT)
GPencil: Copy temp color in multiframe

As the evaluated data is not calculated in multiframe, needs to have the original colors.

Related to T70116
September 25, 2019, 01:45 (GMT)
GPencil: Rename function
September 25, 2019, 01:45 (GMT)
GPencil: Fix error in previous commit

Related to T70116
September 25, 2019, 01:45 (GMT)
GPencil: Use evaluated or original data in Sculpt for Multiframe

The evaluated frame is only available when the frame is the active one.

Related to T70116
September 25, 2019, 01:45 (GMT)
GPencil: Fix unreported select not working in multiframe mode

The selection was not working because the evaluated frame was only working for active frame, so when the evaluation was changed to use eval data instead of original data, the data was not available and the loop did not use it.

Related to T70116
September 25, 2019, 01:45 (GMT)
Cleanup: extra semicolon, comma warnings
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021