Jacques Lucke
7c443ded1e
Vertex Paint: multiply vertex paint overlay
...
Fixes the first part of T56999.
Reviewer: brecht
Differential Revision: https://developer.blender.org/D3768
2018-10-05 14:05:48 +02:00
Antonioya
23e9b35bf4
GP: Rename Canvas Grid to Canvas
2018-10-05 14:00:47 +02:00
Alexander Gavrilov
3c0736bc4b
Redefine the Relative custom B-Bone handle type to be more reasonable.
...
Specifically, it should always use the position of the custom handle
bone head, even when affecting the handle at the tail of the main bone,
and shouldn't apply the special handling for joining two B-Bones.
This handle type was unusably broken before a bug fix included in
recent changes, so it should be safe to break backward compatibility.
2018-10-05 13:29:05 +03:00
Antonioya
8ce5f015dc
GP: Remove decoration in Viewport Display panels
2018-10-05 10:39:02 +02:00
Antonioya
e8f135c2cf
GP: Cleanup grid RNA settings moving to separated struct
2018-10-05 10:23:31 +02:00
Campbell Barton
f28dd2c944
Cleanup: capitalize runtime in struct name
2018-10-05 17:20:23 +10:00
Campbell Barton
b69301d4aa
Context: add uv_sculpt_object
...
While this may be temporary, it avoids copy-pasting these
checks in Python code.
2018-10-05 17:10:27 +10:00
Antonioya
8b05d38305
GP: Cleanup names and code
2018-10-05 08:59:33 +02:00
Campbell Barton
f36f029321
Cleanup: style
2018-10-05 15:01:58 +10:00
Campbell Barton
402bde39d1
UI: show uv sculpt options in topbar & toolsettings
2018-10-05 14:54:53 +10:00
Ray Molenkamp
19d8aa5652
Merge branch 'blender2.8' of git.blender.org:blender into blender2.8
2018-10-04 21:57:00 -06:00
Ray Molenkamp
ddfd6b518c
Merge remote-tracking branch 'origin/master' into blender2.8
2018-10-04 21:56:20 -06:00
Campbell Barton
9f7c7cb98e
Cleanup: remove gpencil label from common code path
2018-10-05 13:55:08 +10:00
Campbell Barton
1b7b6d9060
Tool System: prepare for showing non 3D view tools
2018-10-05 13:48:43 +10:00
Campbell Barton
1b38effd5f
RNA: add access to tool mode
2018-10-05 13:29:51 +10:00
Campbell Barton
143ece7199
Tool System: initial support for UV-sculpt
...
This currently conflicts with the UV-sculpt toggle being manually set,
ideally this would work more like other paint modes in Blender.
2018-10-05 13:13:30 +10:00
mano-wii
c15439bcdc
Cleanup: use PyModule_AddIntConstant
2018-10-04 23:53:57 -03:00
Campbell Barton
b0c1fe3618
Fix invalid flag passed to mesh batch dirty tag
2018-10-05 11:22:08 +10:00
Campbell Barton
0b98a679bb
UI: rename Border Select -> Box Select
...
See: T56648
2018-10-05 10:29:31 +10:00
Campbell Barton
50cb8013eb
UI: rename overlay: Ornaments -> Extras
...
See: T56648
2018-10-05 09:49:09 +10:00
Antonioya
3a1e9b9997
GP: Move grid parameters to GP object data level
...
The grid now can be configured by object because this helps to identify objects and allows to define diferent grid parameters for each objects.
Also added a color option.
2018-10-04 23:27:34 +02:00
Alexander Gavrilov
65f77ccea1
Fix T56268: display the correct rest shape for B-Bones in Edit Mode.
...
The rest shape of B-Bones is actually affected by custom handles or
the default connected parent/child mechanism. Ignoring these effects
thus leads to the edit mode shape being different from the actual
rest pose.
This splits the b_bone_spline_setup function that is used to compute
the correct rest and pose shape from pose channels into two parts,
and applies the data structure independent half to edit mode.
In order to access the custom handle settings in Edit Mode, they are
moved to Bone and EditBone, while the bPoseChannel fields are downgraded
in status to a cache for performance. Also, instead of flags, introduce
an enum to specify the handle operation modes, so that new ones could
be added later.
Reviewers: aligorith, brecht
Differential Revision: https://developer.blender.org/D3588
2018-10-04 19:55:44 +03:00
Alexander Gavrilov
61a24c799b
Move B-Bone custom handle settings to Edit mode.
...
Custom handle settings actually affect the B-Bone rest shape,
so they should be changed in Edit mode rather than Pose mode.
This is necessary to be able to display the correct rest shape
of the bone in Edit Mode.
Also, instead of flags, introduce an enum to specify the handle
operation modes, so that new ones could be added later.
Differential Revision: https://developer.blender.org/D3588
2018-10-04 19:55:44 +03:00
mano-wii
6932eaa2bc
Revert "tmp"
...
This reverts commit 9d8c05f7ec .
2018-10-04 13:54:57 -03:00
Jacques Lucke
a2d633316b
Cleanup: Remove some unneeded code
...
Reviewers: fclem
Differential Revision: https://developer.blender.org/D3767
2018-10-04 18:54:08 +02:00
Brecht Van Lommel
33d89e482b
Revert "UI: start maximized on X11 if possible, like other platforms."
...
This reverts commit ac0dfcced3 .
2018-10-04 18:52:55 +02:00
mano-wii
ee6c8be183
GPU Python: rename methods "shader_from_builtin" and "shader_code_from_builtin" to "from_builtin" and "code_from_builtin".
2018-10-04 13:51:21 -03:00
mano-wii
b183f57a9e
GPU Python: Fix assert in PySequence_Fast_GET_SIZE
2018-10-04 13:49:06 -03:00
mano-wii
9d8c05f7ec
tmp
2018-10-04 13:49:05 -03:00
Brecht Van Lommel
fe47f6e56a
Fix channels region showing in timeline editors in startup templates.
2018-10-04 18:12:31 +02:00
Jacques Lucke
4933dd716c
Gizmo: Fix artifacts when having large angles
...
Reviewer: brecht
Differential Revision: https://developer.blender.org/D3765
2018-10-04 17:53:05 +02:00
Jacques Lucke
4388549124
Units: Change '1000 Kilograms' to 'Tonnes'
...
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3766
2018-10-04 17:52:17 +02:00
Brecht Van Lommel
7bd5ba5019
Fix T57062: missing preview range drawing in graph editor.
2018-10-04 15:48:12 +02:00
Brecht Van Lommel
528a8bd788
UI: duplicate X-ray option in popover, makes relation with alpha more clear.
2018-10-04 15:26:38 +02:00
Clément Foucault
d2f913a37a
Fix T57040 Mesh Disappearing after exiting edit mode in sculpt
2018-10-04 14:57:23 +02:00
Clément Foucault
9869e4ffe5
Fix T56992 caused by typo in previous fix
2018-10-04 14:56:51 +02:00
Jorge Bernal
6e08b01bd9
Fix T57059: "make deps" build error when sndio library is present.
2018-10-04 13:34:08 +02:00
mano-wii
6bd60292da
Transform: fix glitch in the rotating gizmo drawing.
2018-10-04 08:23:52 -03:00
Philipp Oeser
cc92d83d39
Fix T57011: Crash pressing Free Light Cache during Indirect Light Cache
...
Baking
just kill the bake job prior to freeing
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D3764
2018-10-04 11:24:17 +02:00
Campbell Barton
935b18ec75
UV: support setting the cursor w/ non-cursor tools
2018-10-04 17:07:05 +10:00
Campbell Barton
b7aeadcaa9
Gizmo: UV transform cage now uses all edit-objects
2018-10-04 16:46:20 +10:00
Campbell Barton
105f9e577f
UV: avoid redundant batch cache w/ UV select pick & all
...
Only tag UV's as needing an update.
Also correct notifier for region redraw.
2018-10-04 16:19:27 +10:00
Campbell Barton
d0b47ddd7d
Fix UV select tools not refreshing
...
Add BKE_mesh_batch_cache_dirty_tag option for resetting UV's.
2018-10-04 16:03:51 +10:00
Campbell Barton
69496bd843
Remove empty file added by accident
2018-10-04 15:29:30 +10:00
Campbell Barton
51d6d1d8fb
WM: fix non-undo operators stealing redo panel
...
Non-undo actions would move the redo panel into a different space.
2018-10-04 15:26:36 +10:00
Campbell Barton
165a83345a
UV: border/circle select/deselect support
2018-10-04 15:14:00 +10:00
Campbell Barton
f4e38974b3
UV: use circle select/deselect
2018-10-04 13:21:25 +10:00
Campbell Barton
4469ca7f3e
UV: rename circle select operator
...
Word order was swapped from all other operators.
2018-10-04 13:21:21 +10:00
Campbell Barton
d23447d8d5
UI: disable UV operator register
...
Was showing redo panel for cursor & selection operators.
2018-10-04 13:08:28 +10:00
Campbell Barton
46eb050c9d
Cleanup: remove single backtick quotes
...
This isn't valid RST.
2018-10-04 13:08:28 +10:00