ce0db668ec
Fix T50148: Header: Wrong rounding when moving frames
...
Deduplicate the code and use the same logic used to
calculate individual elements in `t->values_final[0]`.
Differential revision: https://developer.blender.org/D6135
2019-10-28 09:51:53 -03:00
a83bbefec6
Cleanup: use doxy sections for transform_snap
2019-10-28 09:32:59 -03:00
df9f1d91da
UI: use zero box-spacing when used in headers
...
Without this, boxes are unusable in header layouts as they
add vertical space which shifts the items out of the header.
2019-10-28 22:40:12 +11:00
dd904f6761
WM: add utility to lookup a keymap item from an event
...
Useful for modal operators to be able to match events
against regular keymaps.
2019-10-28 04:59:35 +11:00
ae55523013
UI: add utility to show icons for the keymap item
...
This is useful for drawing keymap items into the header or status bar
While these icons are available directly,
mapping them from the keymap item isn't trivial.
2019-10-28 02:57:56 +11:00
c036db9f57
Merge branch 'blender-v2.81-release'
2019-10-28 00:44:31 +11:00
9b6aa740be
Cleanup: remove redundant NULL checks
2019-10-28 00:40:51 +11:00
1e630d79fb
Merge branch 'blender-v2.81-release'
2019-10-27 10:05:43 +01:00
f1824e6ec4
Cleanup: Fix tooltip text
2019-10-27 10:05:08 +01:00
1aa1716924
Merge branch 'blender-v2.81-release'
2019-10-25 21:50:48 +11:00
7137d89daa
Preferences: remove keymap items created with invalid data path
...
Before T65397 was fixed, invalid "(null)" data paths were being created.
Remove these keymap items from preferences.
2019-10-25 21:47:16 +11:00
2a3b5dc730
Merge branch 'blender-v2.81-release'
2019-10-25 06:11:47 +11:00
892c3891ed
UI: partial revert of renaming Normal -> Regular
...
These instances refer to winding/direction.
2019-10-25 06:00:46 +11:00
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
0c66039cfd
Merge branch 'blender-v2.81-release'
2019-10-25 01:27:20 +11:00
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
b35c14f015
Merge branch 'blender-v2.81-release'
2019-10-25 00:53:42 +11:00
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
e6c6db9af4
Merge branch 'blender-v2.81-release'
2019-10-24 13:48:54 +02:00
88a346420b
Fix T71063: GPencil - Numpad return key cannot be used to confirm primitive
2019-10-24 13:48:16 +02:00
672f6b79fb
Merge branch 'blender-v2.81-release'
2019-10-24 19:37:44 +11:00
5fa7d8643f
Cleanup: comment unused duplicate flags
2019-10-24 19:36:23 +11:00
040eb18837
Merge branch 'blender-v2.81-release'
2019-10-24 18:36:16 +11:00
bf3c382c47
Cleanup: comments, formatting
2019-10-24 18:15:08 +11:00
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
ac788b3d6d
Merge branch 'blender-v2.81-release'
2019-10-24 15:30:58 +11:00
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
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
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
6c1cc08da3
Merge branch 'blender-v2.81-release'
2019-10-23 02:36:21 +11:00
ac18c3c28d
Cleanup: unused variables, enums, spelling
2019-10-23 02:34:30 +11:00
0a38352588
Cleanup: clang-format, trailing space
2019-10-23 01:06:15 +11:00
dc0ce14316
Merge branch 'blender-v2.81-release'
2019-10-22 11:24:10 +02:00
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
a0d675d88f
Merge branch 'blender-v2.81-release'
2019-10-22 17:42:09 +11:00
b5f77973a7
Cleanup: remove BLI_dynstr use in py_capi_utils
...
Needed for standalone mathutils module.
2019-10-22 17:38:48 +11:00
2c6e95bb57
Merge branch 'blender-v2.81-release'
2019-10-22 15:26:23 +11:00
6f779218fb
BLI_math: support MATH_STANDALONE without Eigen
2019-10-22 15:22:45 +11:00
502f01cc47
Merge branch 'blender-v2.81-release'
2019-10-21 20:07:45 +02:00
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
42eef8f81a
Merge branch 'blender-v2.81-release'
2019-10-21 20:03:08 +11:00
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
3af8f88539
Merge branch 'blender-v2.81-release'
2019-10-21 19:20:35 +11:00
34c835cbd1
Fix project from view crash before the GPU is initialized
2019-10-21 19:19:04 +11:00
7242d79072
Merge branch 'blender-v2.81-release'
2019-10-21 02:58:45 +11:00
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
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
fed27c25aa
Merge branch 'blender-v2.81-release'
2019-10-20 18:26:11 +11:00
98ab0f173c
Mesh: add API functions for poly & loop removal
...
These existed for verts & edges, add for API completeness.
Also add ED_mesh_geometry_clear,
needed to reduce memory for edit-mesh separate.
2019-10-20 18:25:17 +11:00