caa357dae7
Cleanup: typo in variable name
2019-03-23 00:01:00 +11:00
2d60618746
UI: refactor queries into interface_query.c
...
interface_handlers.c is quite large (over 10k lines),
move general button utility functions into a separate file.
2019-03-22 23:38:24 +11:00
c2584c1fad
Fix incorrect hard limits on motion blur shutter time.
2019-03-22 12:09:02 +01:00
3f852e00f9
Fix T62835: Color picker template value slider does not scale correctly with UI scale
...
Missing multiplication with UI_DPI_FAC.
2019-03-22 10:59:12 +01:00
177623dd40
Implement Stencil Mask Drawing for Texture Painting
...
Stencil mask drawing was not implemented yet. This commit will implement this for texture painting.
It brings the state back to how it was for B279.
Reviewed By: fclem
Maniphest Tasks: T58727
Differential Revision: https://developer.blender.org/D4570
2019-03-22 08:21:12 +01:00
5cd3e1b5d1
Cleanup: move widget enum into source file
2019-03-22 17:56:58 +11:00
6e7e6832e8
Fix T62814: Camera frame invisible with large near-clip value
2019-03-22 17:28:53 +11:00
813694e07b
UI: use checkbox text for property split layout
...
Use right aligned checkboxes when 'use_property_split' is enabled
instead of a separate label.
2019-03-22 15:43:23 +11:00
bd2299aae5
UI: support for showing checkboxes after text
...
Needed so the new layouts that show right aligned checkboxes can have
clickable text (as left aligned checkboxes do already).
2019-03-22 15:43:23 +11:00
27da43ba86
UI: refactor color picker flags out of buttons
...
These are specialized color picker options which don't need to be
stored in the button (frees of flags for buttons too).
2019-03-22 15:43:23 +11:00
00f7dcd5be
DRW: show clipping border for solid mode
...
Solid + xray is still not supported.
2019-03-22 15:43:23 +11:00
78ce2063d3
Cleanup: use 'use' as prefix for booleans
2019-03-22 15:43:23 +11:00
c49a70bcd1
Eevee: Add small optimisation for Curve Mapping nodes
...
This remove the RGB texture lookups if the curve is only used for "Luma"
correction and does not affect individual RGB channels.
2019-03-22 03:53:21 +01:00
875b50f94f
UI: Fix curve extention filling on curve widgets
2019-03-22 03:53:21 +01:00
6a65bb4955
GPU Matrix: Increase precision of GPU_matrix_unproject.
2019-03-21 22:23:50 -03:00
2b42b8b779
BLI Math: Add and use new projmat_dimensions utility.
2019-03-21 22:23:49 -03:00
1ae6aaad43
Eevee: Cleanup
...
Remove unneeded normalization.
2019-03-22 00:13:18 +01:00
8b00712b55
Eevee: Fix tangent vector not normalized before interpolation.
2019-03-22 00:13:18 +01:00
27109fd209
Eevee: Normalize Tangents after transform to world space
...
Fix T62621 without breaking everything else.
2019-03-22 00:13:18 +01:00
cc1b193ddf
Revert "Fix T62621 object scale changes tangent node output in Eevee"
...
This reverts commit 86646dab7c .
2019-03-22 00:13:18 +01:00
1f1e90a013
Fix T59890: regression of the precision when projecting the cursor.
...
Basically the framebuffer size was different from the glViewport size.
This made the depth read in glReadPixel not corresponding to the center of the pixel.
Another thing that reduced precision compared to blender 2.79 is the `GPU_matrix_unproject` that now computes using `float`s instead of `double`s.
But this may be for another commit.
2019-03-21 17:04:35 -03:00
b6ad98729b
UI: Spelling: fix wrong apostrophe
2019-03-21 16:36:29 +01:00
ad8566db9b
UI: Fix wrong spelling
...
Effect vs Affect
2019-03-21 16:31:46 +01:00
196e3920f7
Use 'show_' prefix convention for composition guides
2019-03-21 16:05:32 +01:00
6f38d2782a
UI: Correct tooltips for composition guides
2019-03-21 15:09:11 +01:00
a0c9095620
UI: Put camera composition guides in standard sub-panel
...
Before we were using a very inconsistent toggle-menu for this. Just use standard UI here instead.
2019-03-21 15:01:07 +01:00
e4694c057b
UI: replace button open event with activate on init
...
No user visible change.
2019-03-22 00:55:24 +11:00
2b21e7ab9a
Fix T62768: Softbody cache still not updated correctly
...
There was missing flush from transform update to the point cache
reset. Caused by the fact that when update happens in the "middle"
of component all the component operations will be tagged for update
(since the intermediate state is not stored), but that will not
flush updates to other operations since that would cause too much
of updates.
This now we tag point cache for reset after evaluation operation
but before final transform and before rigid body world.
2019-03-21 14:41:41 +01:00
b832f6f915
Fix T62810: AA reversed in workbench
...
Due to recent changes the AA was not rendered in the viewport when not
interacting. When interacting it was. This was due to incorrect
detemination to perform TAA.
2019-03-21 14:35:28 +01:00
9a09246dc0
WM: enable activate on init for wmOperatorType.prop
...
This enables popups to edit text when displayed,
use for new collection popup.
2019-03-22 00:32:01 +11:00
75b14db6a9
Fix T62808: Hair shape cut crash
...
Reviewers: sergey
Differential Revision: https://developer.blender.org/D4565
2019-03-21 12:38:07 +01:00
fbceac9708
Cleanup: Outliner: remove warning about no undo of ID deletion.
...
ID deletion is undoable nowadays...
2019-03-21 11:17:21 +01:00
8314c3188c
Fix clipboard copying collections when copying objects from 3DView.
...
This was inherited from 2.7x behavior with groups, but in 2.8
collections are also used as 2.7x layers, which turns to be a problem
when pasting back clipboard content, since it would instantiate
collections instead of objects, quickly leading to tens of new
collections in the viewlayer...
Instead, we only copy selected objects from the 3DView now. On paste
time, those will be added to the active collection.
Last part of fixes related to T61670.
2019-03-21 09:47:50 +01:00
b346a7c0df
Fix T62802: Layer order inverted in Outliner
2019-03-21 09:29:16 +01:00
b98fe9e707
Cleanup: move functions into doxy sections
...
Also use const args for queries.
2019-03-21 14:19:45 +11:00
9b3818762a
Cleanup: use doxy sections for interface_handlers
2019-03-21 13:53:27 +11:00
0bbff8a711
Cleanup: move scroll step into own function
2019-03-21 11:58:03 +11:00
06585e0b13
UI: popovers scroll now changes offset directly
...
Mouse wheel on menus changes the selected item item which doesn't work
well for popovers since buttons aren't always stacked vertically.
Resolves T62777
2019-03-21 11:37:44 +11:00
83753d1d29
Cleanup: split menu scrolling function
...
The same function scrolled to a location and button (depending on args).
2019-03-21 11:36:51 +11:00
9105e1d084
Fix T62782: Edge slide crashes with mirror enabled
2019-03-21 09:53:57 +11:00
f71e8617e0
Viewport: Draw loose edges in edit mesh mode if there is a modifier stack
2019-03-20 22:43:30 +01:00
c2f0bd6aed
Fix DEG warning from T52873: Proximity WeightVG modifier can use empty as target too.
...
Only create DEG_OB_COMP_GEOMETRY relation to target object when it has
some, and we use it.
2019-03-20 21:12:34 +01:00
1cf592e62e
Fix T58748 Mirror modifier: edges/verts invisible unless face is present
...
It was due to the mapped mesh not being used if no face was present in the
cage mesh.
2019-03-20 20:07:22 +01:00
da1350acdc
Fix T60815: drag & drop crash when search menu is opened immediately after.
...
Patch by matc, some further refactoring by me.
Differential Revision: https://developer.blender.org/D4250
2019-03-20 19:50:21 +01:00
6500b31728
Fix T62788: drop image into node editor puts node at wrong location.
...
It should be under the mouse cursor but was wrong for high DPI. Also put the
cursor in the header now so it's easy to reposition.
2019-03-20 19:18:51 +01:00
eb94a0db4f
Fix assert after recent changes.
...
Mark as localized immediately, so that functions that edit the node tree can
verify they are being used under the correct conditions.
2019-03-20 18:39:56 +01:00
bff472d2ff
Fix T61326 "In Front" option not working on edit curves
...
Create a new pass for them and draw them separately.
Beware of the double multisample resolve when multi-editing a mix of curves
with and without the "in front" option enabled.
2019-03-20 17:26:14 +01:00
15d6521de9
Fix assert on vertex parent
...
The evaluation was done on an original object, which is not allowed.
2019-03-20 17:20:10 +01:00
2f4bd63239
Fix T56778: Alembic Override Frame does not update on playback
2019-03-20 16:48:35 +01:00
f06dc36c35
Select Similar: use kdtree de-duplication
...
Avoids redundant tree traversal when finding nearest.
2019-03-21 02:42:31 +11:00