Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

3 hours 37 min ago
Sculpt: Line gestures and Mask Line tool

This adds support for line gesture to SculptGestureContext and
implements a Mask Line tool, which affects everything to the right of a plane
defined by the straightline gesture.

For this to work, a new WM_gesture_straightline_oneshot_modal is needed
which only runs exec when the gesture is over.

Added as experimental as it does not have icon.

Reviewed By: Severin

Differential Revision:
3 hours 44 min ago
Fix Face Set overlay rendering wrong color with modifiers

face_set_color_default was not copied when copying meshes, so when
extracting the colors in the draw cache it was using a wrong default
color ID.

Reviewed By: sergey

Differential Revision:
Revision 8d34e81 by Ankit Meel
5 hours 55 min ago
Cleanup: CMake config: set options in alphabetical older

No functional change.
Revision 8fb806a by Ankit Meel
5 hours 55 min ago
Revert "Generate Xcode scheme files during configuration."

This reverts commit 5eb5978043c8e7036e15572e.

The change was problematic:
*Advanced users may prefer managing schemes manually and adding only
a few that they need, instead of one for every library/executable
Blender builds.

*If CMake creates schema files, it overwrites the changes a developer
made every time CMake is run. If Xcode creates scheme files, it keeps
settings/ environment variables intact.

If someone runs CMake very frequently, pass
`-DCMAKE_XCODE_GENERATE_SCHEME=ON` to `cmake` while configuring.
Revision fdf7734 by Ankit Meel
5 hours 59 min ago
CMake: Remove duplicate WITH_GMP options.

I didn't realize there were more duplicates while committing

Original was added in {rB83f8223543f58c3b0881a03b6e9ddffff91}.
Duplicate was added in the merge {rB9e09b5c418c0a436e3c84ccf}.

Ref D8822
Revision 74bcb32 by Ankit Meel
5 hours 59 min ago
macOS: Remove ASan debug flags from release config.

Setting `PLATFORM_LINKLIBS` is not required for clang, compiler and
linker flags are enough. Note that the change made in
{rBa4c5811e2127}) to `platform_apple.cmake` (appending to
`PLATFORM_CFLAGS`) has not been reverted. platform file shouldn't be
overwriting the flags.

`PLATFORM_LINKFLAGS` is overwritten by `platform_apple.cmake`, so no
point in setting it. Fixing that like `PLATFORM_CFLAGS` is out of the
scope of this change.

`PLATFORM_LINKFLAGS_DEBUG` has been replaced with generator expression
to include RelWithDebInfo and MinSizeRel build types also.
8 hours 20 min ago
Fix T81205: Grease pencil material slots don't auto-erase void slots above the first material
16 hours 19 min ago
Fix T81168: 2.8x Crash when loading 2.79 file.

Object in the 2.7x file is on no layer at all, while this is not really
expected nor considered valid, better to cope with the case gracefully
than crash.

To be backported to 2.90 and 2.83.
Revision 83dc97c by Hans Goudey
1 day and 2 hours ago
Cleanup: Use canonical variable name
Revision 9b6c526 by Hans Goudey
1 day and 2 hours ago
Cleanup: Decrease indentation by returning early

Where the if statement was just a check for an error or an unhandled
condition and there are no else statements, the rest of the function
doesn't need to be indented.
Revision 4842dd0 by Hans Goudey
1 day and 3 hours ago
Cleanup: Declare variables where initialized, lower scope

Also use "r_" prefix for return arguments in a few places.
1 day and 5 hours ago
Fix Tests for Weld Modifier with KD-Tree

Fixes the failing tests and reintroduces the KD-Tree solution.

Reviewed By: mano-wii

Differential Revision:
1 day and 6 hours ago
LibOverride: Tweak messages when some sub-item is not found when applying overrides.
1 day and 6 hours ago
Fix T78343: Most properties of Ocean modifier should not be animatable.

Properties that are only used when initializing the simulation cannot be
animated (the changes in their value would not be taken into account).
1 day and 6 hours ago
LibOverride: Better handling of cleanup of 'insert' operations in collections.

Before, it might have been possible in some cases (when there were no
items at all anymore in the collection) to miss that cleanup step,
leaving ghost useless and invalid operations around.
1 day and 6 hours ago
LibOverride: Cleanup: reserve debug messages to debug builds.
Revision d951239 by Hans Goudey
1 day and 6 hours ago
Fix T81161: Bad properties context panel placement loading old files

These breadcrumbs used to be a panel in 2.79 and 2.80 development.
If a file was saved in those versions, and the panels rearranged in a
version that didn't have this panel, its sortorder would be changed
even though it wasn't visible or even used in that version.

A simple fix is to use a new ID name for the new version of this
panel in 2.91. "Buttons" is an old name anyway.
Revision e2fe405 by Hans Goudey
1 day and 7 hours ago
Cleanup: Miscellaneous code improvements

- Declare variables where initialized
- Return early in some cases
- Use "i" as an iteration index variable
- Use bool instead of int where applicable
1 day and 8 hours ago
Fix constrain plane not being set in tranform code

Error introduced in rB388b9162469650c
Revision 90ce6db by Hans Goudey
1 day and 8 hours ago
UI: Improve curve geometry property tooltips

These tooltips mostly just repeated the property names, which is not
helpful at all. Changing that leaves space to be much more specific
about what the properties actually do.

Differential Revision:
Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020