Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 559 / 5574

September 28, 2020, 12:12 (GMT)
Fix T80967: Alembic, crash when the imported sim from Houdini starts

Compare mesh loop count with number of loop normals before reading the
loop normals.

Houdini doesn't always write the correct loop normals to Alembic. When a
mesh is animated and then replaced by a fluid simulation, Houdini will
still write the original mesh's loop normals, but the mesh
verts/loops/polys are from the simulation. In such cases the normals
cannot be mapped to the mesh, so it's better to ignore them.
September 28, 2020, 12:12 (GMT)
Cleanup: Animation, fix comments

Remove one outdated comment, and make the other into a proper sentence.

No functional changes
Revision f7655dd by Julian Eisel
September 28, 2020, 10:06 (GMT)
UI Code Quality: Clear layout pointer on layout destruction

The layout pointer is quite ugly, but currently needed to work around
design issues. At least it should be cleared to avoid use-after-free.
September 28, 2020, 10:03 (GMT)
Cleanup: Animation, remove unused parameter from anim tagging function

Remove `bool flush` parameter from `rna_tag_animation_update()`, as every
call uses `true` anyway.

No functional changes.
September 28, 2020, 09:23 (GMT)
Fix T81214: Crash on Action constraint without action

A `NULL` pointer check was missing.
September 28, 2020, 09:00 (GMT)
Cleanup: animation, simplify `anim_flush_channel_setting_up()`

Simplify `anim_flush_channel_setting_up()` by flipping conditions and
returning early. This makes it easier to understand what is actually
happening in the code.

No functional changes.
September 28, 2020, 09:00 (GMT)
Cleanup: animation, split up ANIM_flush_setting_anim_channels()

Split up `ANIM_flush_setting_anim_channels()` into smaller functions. This
makes it easier to understand how it works, and makes future improvements
also easier.

No functional changes.
September 28, 2020, 07:57 (GMT)
Libmv: Fix NukeCameraIntrinsics copy constructor

Copy the appropriate parameter

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D9014
September 28, 2020, 07:09 (GMT)
Fix typo in UI messages.
September 28, 2020, 04:28 (GMT)
Fix T79275: Missing redraw for pinned active tool settings panels

In the 3D view sidebar, the active tool settings panel can be pinned to other
categories, and in those other categories it doesn't redraw when the active
tool changes. This commit checks for pinned panels from the "Tool" category
when checking whether to redraw.

Note that the relatively expensive string comparison is only done for
currently visible pinned panels.

Differential Revision: https://developer.blender.org/D9012
September 26, 2020, 20:04 (GMT)
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: https://developer.blender.org/D8722
September 26, 2020, 19:58 (GMT)
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: https://developer.blender.org/D8957
Revision 8fb806a by Ankit Meel
September 26, 2020, 17:47 (GMT)
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 8d34e81 by Ankit Meel
September 26, 2020, 17:47 (GMT)
Cleanup: CMake config: set options in alphabetical older

No functional change.
Revision fdf7734 by Ankit Meel
September 26, 2020, 17:43 (GMT)
CMake: Remove duplicate WITH_GMP options.

I didn't realize there were more duplicates while committing
{rBf1fee433be92}.

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

Ref D8822
Revision 74bcb32 by Ankit Meel
September 26, 2020, 17:42 (GMT)
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.
September 26, 2020, 15:22 (GMT)
Fix T81205: Grease pencil material slots don't auto-erase void slots above the first material
September 26, 2020, 07:23 (GMT)
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
September 25, 2020, 20:54 (GMT)
Cleanup: Use canonical variable name
Revision 9b6c526 by Hans Goudey
September 25, 2020, 20:51 (GMT)
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.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021