Commit Graph

91402 Commits

Author SHA1 Message Date
Campbell Barton
2a3b5dc730 Merge branch 'blender-v2.81-release' 2019-10-25 06:11:47 +11:00
Campbell Barton
892c3891ed UI: partial revert of renaming Normal -> Regular
These instances refer to winding/direction.
2019-10-25 06:00:46 +11:00
Harley Acheson
e50b4d7de4 UI: Incorrect Cursor Used in Split Area Operator
Incorrect cursor shown for horizontal split when selected from edge context menu.

Differential Revision: https://developer.blender.org/D6124

Reviewed by Campbell Barton
2019-10-24 09:17:55 -07:00
Campbell Barton
0c66039cfd Merge branch 'blender-v2.81-release' 2019-10-25 01:27:20 +11:00
Campbell Barton
ad3f9c6dfe Fix crash drawing the paint cursor over the redo region
Also fix CTX_wm_region_view3d which didn't check the region type.
2019-10-25 01:25:23 +11:00
Campbell Barton
b35c14f015 Merge branch 'blender-v2.81-release' 2019-10-25 00:53:42 +11:00
Campbell Barton
ce6e7a0941 Fix T60689: Flip Active/Selected bone fails in weight paint mode
Multiple selection operations failed with weight-paint + pose mode.

Weight-paint + pose mode is a special case that doesn't support
multi-pose mode, so we need to use this instead of the generic
function.
2019-10-25 00:49:39 +11:00
Antonio Vazquez
e6c6db9af4 Merge branch 'blender-v2.81-release' 2019-10-24 13:48:54 +02:00
Antonio Vazquez
88a346420b Fix T71063: GPencil - Numpad return key cannot be used to confirm primitive 2019-10-24 13:48:16 +02:00
Campbell Barton
672f6b79fb Merge branch 'blender-v2.81-release' 2019-10-24 19:37:44 +11:00
Campbell Barton
5fa7d8643f Cleanup: comment unused duplicate flags 2019-10-24 19:36:23 +11:00
Campbell Barton
040eb18837 Merge branch 'blender-v2.81-release' 2019-10-24 18:36:16 +11:00
Campbell Barton
bf3c382c47 Cleanup: comments, formatting 2019-10-24 18:15:08 +11:00
Campbell Barton
1afdea624c Transform: reverse absolute, ratio vertical motion
This only impacts push-pull & shrink-fatten.

Flipping this matches zoom where moving the mouse cursor up
increases the zoom-level.

Previous behavior felt unnatural when adding gizmos to these tools.
2019-10-24 17:56:40 +11:00
Campbell Barton
ac788b3d6d Merge branch 'blender-v2.81-release' 2019-10-24 15:30:58 +11:00
Campbell Barton
9be3ef6c72 Fix T71036: Separate loose parts crashes in object mode
Error in own recent optimization.
2019-10-24 15:29:09 +11:00
Dalai Felinto
9aa1bb6388 Fix T70439: Local view always including new objects
The same issue is valid for objects from a recently re-enabled
collection.
2019-10-23 13:40:12 -03:00
Campbell Barton
d212fb774f Cleanup: add back comment that was removed when moving code
Keep comments when moving code between files.

Also wrap lines over 120 width.
2019-10-24 00:42:53 +11:00
Campbell Barton
976a2ce58b Merge branch 'blender-v2.81-release' 2019-10-23 15:03:37 +11:00
Campbell Barton
b9dd87f0cb Doxygen: update configuration
Quiet warnings when generating docs.
2019-10-23 15:02:52 +11:00
Campbell Barton
3e3e5fd9c8 Merge branch 'blender-v2.81-release' 2019-10-23 14:59:44 +11:00
Richard Antalik
0d8df07232 Fix T70845: Crash when switching scene of scene strip.
Crash on assert in `sound_verify_evaluated_id()`

Reviewed By: sergey

Maniphest Tasks: T70845

Differential Revision: https://developer.blender.org/D6104
2019-10-23 14:58:48 +11:00
Campbell Barton
4dc443908c CMake: disable OpenMP on macOS bpy_module config
This gives linking errors on build.
2019-10-23 14:50:42 +11:00
Richard Antalik
15d27c1ae5 Fix T70845: Crash when switching scene of scene strip.
Crash on assert in `sound_verify_evaluated_id()`

Reviewed By: sergey

Maniphest Tasks: T70845

Differential Revision: https://developer.blender.org/D6104
2019-10-22 17:34:14 -07:00
Campbell Barton
6c1cc08da3 Merge branch 'blender-v2.81-release' 2019-10-23 02:36:21 +11:00
Campbell Barton
ac18c3c28d Cleanup: unused variables, enums, spelling 2019-10-23 02:34:30 +11:00
Campbell Barton
0a38352588 Cleanup: clang-format, trailing space 2019-10-23 01:06:15 +11:00
Antonio Vazquez
dc0ce14316 Merge branch 'blender-v2.81-release' 2019-10-22 11:24:10 +02:00
Antonio Vazquez
f8e8f4ee0f GPencil: Calculate inverse matrix only once
Instead to do it for each action, do it only in init.
2019-10-22 11:23:40 +02:00
Campbell Barton
a0d675d88f Merge branch 'blender-v2.81-release' 2019-10-22 17:42:09 +11:00
Campbell Barton
bfa9ead12a Cleanup: quiet unknown escape warnings
Auto-complete showed errors.
2019-10-22 17:38:55 +11:00
Campbell Barton
b5f77973a7 Cleanup: remove BLI_dynstr use in py_capi_utils
Needed for standalone mathutils module.
2019-10-22 17:38:48 +11:00
Campbell Barton
2c6e95bb57 Merge branch 'blender-v2.81-release' 2019-10-22 15:26:23 +11:00
Campbell Barton
6f779218fb BLI_math: support MATH_STANDALONE without Eigen 2019-10-22 15:22:45 +11:00
Antonio Vazquez
502f01cc47 Merge branch 'blender-v2.81-release' 2019-10-21 20:07:45 +02:00
Antonio Vazquez
388c954cb5 Fix T70888: GPencil Sculpt tools don't work properly in a particular situation
Thanks to @charlie for his help fixing this bug.
2019-10-21 20:07:09 +02:00
Patrick Mours
200267eb96 Merge branch 'blender-v2.81-release' 2019-10-21 15:53:29 +02:00
Patrick Mours
d0cba5caf4 Fix T70937: Cycles fails in viewport when rendering with OptiX
Was caused by D6068, which did not handle "MEM_PIXELS" memory
when not in background mode. Before that it always fell back to using
generic device memory, so restoring that behavior. In future this
should be changes to use OpenGL interop for optimal performance.
2019-10-21 14:23:45 +02:00
Campbell Barton
42eef8f81a Merge branch 'blender-v2.81-release' 2019-10-21 20:03:08 +11:00
Campbell Barton
6a1118092a Fix invalid property shortcuts being created
When there was no way to find the data-path from context
the shortcut was still being created.
It would evaluate to "context.(null)".

Now adding shortcuts will be disabled if the path can't be computed.
2019-10-21 19:57:43 +11:00
Campbell Barton
3af8f88539 Merge branch 'blender-v2.81-release' 2019-10-21 19:20:35 +11:00
Campbell Barton
34c835cbd1 Fix project from view crash before the GPU is initialized 2019-10-21 19:19:04 +11:00
Campbell Barton
95fddf1452 Merge branch 'blender-v2.81-release' 2019-10-21 15:07:22 +11:00
Campbell Barton
41ec25d27b Cleanup: style 2019-10-21 15:05:56 +11:00
Campbell Barton
7fa8c41693 Merge branch 'blender-v2.81-release' 2019-10-21 14:51:29 +11:00
Campbell Barton
3ceff8b7bc CMake: fix building as a Python module on macOS
Caused by c553b790fc
2019-10-21 14:48:17 +11:00
Campbell Barton
7242d79072 Merge branch 'blender-v2.81-release' 2019-10-21 02:58:45 +11:00
Campbell Barton
71538eaad6 Fix T70864: Separate loose parts runs indefinitely
Large objects with many separate pieces became unstably slow
(run for hours and not finish).

The entire original mesh was being duplicated twice per loose part.

In own tests, millions of vertices and thousands of loose parts
now run in around 5-15 seconds.
2019-10-21 02:47:07 +11:00
Alexander Gavrilov
47d7f5e200 Shrinkwrap: improve numerical stability of Target Normal Project.
* Add proper adjustment for scale in the solver epsilon computation.
* Run at least one full iteration of the solver, even if the initial
  state meets the epsilon requirement.
* When applying offset, blend normal into the offset direction
  as the initial point moves very close to the target mesh.

Also random improvements to debug trace output in the console.
2019-10-20 16:53:21 +03:00
Campbell Barton
fed27c25aa Merge branch 'blender-v2.81-release' 2019-10-20 18:26:11 +11:00