Jacques Lucke
7faf0c8c2f
Fix T59145: don't clamp color value in Hue Saturation Value node in eevee
2019-01-24 13:58:59 +01:00
Campbell Barton
7b35ef23a0
Fix T60807: Can't select when active pose object is hidden
...
Object mode locking wasn't accounting for the 3D view context
which doesn't have an active object once its hidden.
2019-01-24 23:25:18 +11:00
Campbell Barton
4162b83590
Cleanup: use braces for single line if statements
2019-01-24 23:25:18 +11:00
Campbell Barton
e79cdb5541
Cleanup: Replace BASACT use w/ a variable
2019-01-24 23:25:18 +11:00
Brecht Van Lommel
3f1f2b3035
Cleanup: removed unused 3D view header template.
2019-01-24 13:19:23 +01:00
Brecht Van Lommel
1b12c2d423
Fix T58216: backdrop drawing in sequencer broken.
2019-01-24 12:39:39 +01:00
Sergey Sharybin
fa818170e3
Subdiv: Fix wrong orig_index for vertices of a loose edge
2019-01-24 12:13:36 +01:00
Sergey Sharybin
c4be1f861b
Fix T60408: Loose edge distort vertex on a surface
...
Treat those vertices as infinitely sharp. This matches the way
how OpenSubdiv's topology is being created.
2019-01-24 12:13:36 +01:00
Antonioya
b3ba97ccce
Fix T60805: Grease Pencil Rim Effect Problem
...
The problem was related to cache data that was removed from memory before the FX finished. This could affect to any FX.
Now all the information is saved in the FX itself in runtime struct to keep memory safe when cache memory is released.
2019-01-24 11:33:35 +01:00
Antonioya
d2afdf3c20
GP: Use matrix location instead of loc
2019-01-24 11:33:35 +01:00
Sergey Sharybin
a3261aad13
Fix T54581: Clip editor doesn't synchronize frame on layout change
2019-01-24 10:36:42 +01:00
Campbell Barton
be32168eb4
DRW: support clipping for object outlines (unselected)
2019-01-24 19:13:38 +11:00
Campbell Barton
aa1b77dccb
DRW: support clipping for object outlines
2019-01-24 18:28:21 +11:00
Brecht Van Lommel
0b37399cbe
Fix T60790, T60636, T60631: MMB emulation issues after recent changes.
...
The statusbar keymap display should not affect actual event handling.
2019-01-24 07:41:36 +01:00
Brecht Van Lommel
cd8a342d7c
Cleanup: fix compiler warnings.
2019-01-24 07:41:36 +01:00
Campbell Barton
11428e0b7f
DRW: use clipping for depth buffer
...
Object selection now supports clipping.
2019-01-24 17:12:06 +11:00
Campbell Barton
d8a082f914
Correct doxy file
2019-01-24 16:19:45 +11:00
Campbell Barton
04d18b117c
DRW: API for own versions of builtin GPU shaders
...
DRW_shader_get_builtin_shader can replace GPU_shader_get_builtin_shader
when we need to support clipping.
Use this for loose point & wire drawing in object mode,
clips edges in lattice edit mode.
2019-01-24 16:14:00 +11:00
Campbell Barton
1d908bffdd
WM: Repeat Last no longer reuses skip-save properties
...
PROP_SKIP_SAVE is often used as a way to detect the difference between
adjusting options from the redo panel and initial execution.
Repeat last operator was executing with skip-save properties set,
preventing operators from initializing them based on the context.
Fixes 60777.
2019-01-24 12:12:23 +11:00
Campbell Barton
7f77961f1c
Fix theme color use for clipping region
...
Color needed to be converted to linear in the engine,
not the theme.
2019-01-24 10:36:46 +11:00
Campbell Barton
41a7dd383c
Cleanup: style
2019-01-24 09:27:14 +11:00
Philipp Oeser
32c2e941e6
Fix T60417: Hair not instantly updating when editing curve guide
...
Reviewers: sergey, brecht
Maniphest Tasks: T60417
Differential Revision: https://developer.blender.org/D4193
2019-01-23 20:47:43 +01:00
Pablo Dobarro
657806691b
Fix T58438: wrong display of brush angle rotation preview.
...
Differential Revision: https://developer.blender.org/D4017
2019-01-23 20:25:45 +01:00
Jean Da Costa
b592e34559
Sculpt: add Topology Rake, to align edges along brush while painting.
...
This helps to generate cleaner topology and define sharp features for dynamic
topology. Best used on relatively low-poly meshes, it is not needed as much
for high detail areas and has a performance impact.
Differential Revision: https://developer.blender.org/D4189
2019-01-23 20:25:14 +01:00
Anton Stötzer
4e9817a4fb
Fix wrong f-curve modifier mute checkbox icon / tooltip.
...
Differential Revision: https://developer.blender.org/D3930
2019-01-23 18:31:15 +01:00
Antonioya
5e3ce0b662
GP: Remove unneeded armature code
...
This line looks a mistake and it's not needed.
2019-01-23 16:52:25 +01:00
Brecht Van Lommel
22bc6142c3
Fix T59152: dynamic topology constant detail should be in world space.
...
It seems more predictable, and makes more sense for future multi-object modes.
2019-01-23 16:48:02 +01:00
gsr b3d
409443500b
UI: fix horizontal scrollbar overlapping last row of files
...
Depending on area size, the scrollbar covered the bottom of the text,
with the extra it will only cover the padding at worst.
Differential Revision: https://developer.blender.org/D4207
2019-01-23 15:33:01 +01:00
Harley Acheson
93d226952b
UI: make editor corner splitting / joining more reliable.
...
* Add threshold for minimum amount of mouse movement for dragging to
get activated.
* Limit angles at which dragging is considered an action, do nothing if
mouse does not clearly move up/down/left/right.
* Increase action zone size vertically.
Differential Revision: https://developer.blender.org/D4227
2019-01-23 15:23:06 +01:00
Jacques Lucke
ac5278b682
Fix T60791: Don't show automatic weights option when not supported
...
There are probably many more cases in which the menu looks a little different.
However, I don't know them all and it's too easy to break something accidentally here.
Maybe a user could try the different combinations of object types and check if there are entries that should not be there.
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4240
2019-01-23 15:21:28 +01:00
Philipp Oeser
db78a8ee2e
Fix T59939: Masks not Animating in Render
...
For now this is not part of copy-on-write, and needs extra animation
evaluation.
Reviewers: sergey, brecht
Maniphest Tasks: T59939
Differential Revision: https://developer.blender.org/D4140
2019-01-23 15:12:53 +01:00
Campbell Barton
ddc278da24
Cleanup: comments above struct members, shader group assignments
...
Avoid using pointer to pointer when building shader groups.
2019-01-23 23:59:40 +11:00
Campbell Barton
48eed058b1
3D View: draw clipping region
...
Only for workbench solid/wire modes.
2019-01-23 23:37:25 +11:00
Sergey Sharybin
44e9fe024b
Fix T56877: Enabling mask Motion Blur overrides the Feather Falloff
...
Compositor makes a copy of mask before sampling the mask on different
time steps. The copy of layers did not copy falloff Settings.
2019-01-23 13:04:32 +01:00
Sergey Sharybin
e6ad4ec3fc
Fix T58994: Subdivision modifier generates artifacts with crease=1
...
The issue was caused by the lack of averaging of normals for
vertices which are on the ptex face boundaries.
2019-01-23 12:17:30 +01:00
Jacques Lucke
ac442da4a1
Refactor: use guard clauses instead of nested conditionals
2019-01-23 10:51:22 +01:00
Campbell Barton
6555e177e9
3D View: add back clipping draw code (disabled)
...
Disabled for now because of draw-order issues.
Also move clipping test out of view3d_draw_legacy.c
2019-01-23 20:50:43 +11:00
Antonioya
9ff73e61b1
Fix T60778: Grease pencil Hook modifieronly affects strokes with more than 2 points
...
Also fixed Lattice and Noise modifier.
2019-01-23 10:37:08 +01:00
Campbell Barton
2e5663c2c6
Fix T60781: DOF Distance (pick) crashes
...
From own recent changes c8e75c2b00
2019-01-23 16:43:18 +11:00
Campbell Barton
3eebf9ef06
RNA: expose Gizmo.use_operator_tool_properties
2019-01-23 16:30:19 +11:00
Campbell Barton
4f2bc2f0e5
Cleanup: use doxy comments for gizmo structs
...
Also move comments before members (better for clang-format).
2019-01-23 16:24:37 +11:00
Campbell Barton
6dfe6b4f19
Fix T58199: Spin tool top bar settings don't apply
2019-01-23 16:15:01 +11:00
Campbell Barton
be24da0a98
Gizmo: add support for gizmos to initialize from the active tool
2019-01-23 16:14:52 +11:00
Campbell Barton
7ce38978ae
WM: add tool property getter function
...
Matches 'ensure' functions but doesn't add data.
2019-01-23 15:36:10 +11:00
Campbell Barton
2e4f1b592f
Cleanup: use eGPU prefix for GPU enum types
2019-01-23 14:16:03 +11:00
Campbell Barton
14d947dcad
DRW: generalize selecting between regular/clipped shaders
...
Each engine was doing this on its own.
Move to DRWContextState, use an enum.
2019-01-23 13:34:55 +11:00
Campbell Barton
c403508e41
DRW: changes to object mode engine needed to support clipping
...
Split out shader struct, no function changes.
2019-01-23 12:37:12 +11:00
Campbell Barton
dc3b5024be
Cleanup: add BEGIN/END to GPL headers
2019-01-23 11:32:43 +11:00
Campbell Barton
dc84a03a95
License: add missing GPL headers
...
Information taken from related files committed at the time.
2019-01-23 11:32:43 +11:00
Campbell Barton
4c24782ccf
DRW: only show hidden geometry when selection is used
...
Matches 2.7x behavior.
2019-01-23 08:46:26 +11:00