Campbell Barton
adc8569deb
Error in theme color cleanup #2
2018-07-02 17:04:17 +02:00
Julian Eisel
bea364fe2a
Fix: Global area edges couldn't call right click menu to join/split
...
Operators ignored edges along the screen-layout bounds. They should've ignored
those along window bounds instead.
Although the global areas can not be joined/split, the adjacent areas can. So
the menu should still be shown.
Had to change the return value of area joining operator, so that an error report
can show up when trying to join over a global area edge. Think this is fine to
do, but you never know with such stuff.
Preferably we'd gray out the "Join Area" item in the menu when clicking on the
edge of a global area. Unfotunately the operator uses coordinates passed as
operator properties to find the right edge/areas, which we cannot access from
the poll callback.
2018-07-02 16:56:54 +02:00
Campbell Barton
878b09562c
Error in last commit
2018-07-02 16:52:08 +02:00
Campbell Barton
f4f85b9db7
Cleanup: remove redundant theme colors
...
Remove unused colors (colors which RNA has no access to).
2018-07-02 16:34:47 +02:00
Campbell Barton
ecc0945117
UI: show favourites from properties-space in the 3D view
...
This allows settings to be toggled in the 3D view.
2018-07-02 15:57:12 +02:00
Pablo Vazquez
5fd2ea58a6
UI: Header consistency
...
Snap before proportional editing, pivot after
2018-07-02 15:53:56 +02:00
Campbell Barton
41a7225794
UI: align header menus to space them closely
2018-07-02 15:47:00 +02:00
Campbell Barton
4d05dd880a
Keymap: reinstate Ctrl-L key
...
Linking based on selection may be done often, so adding back.
2018-07-02 15:27:19 +02:00
Campbell Barton
8e0cfcfc90
Keymap: add back macos preferences shortcut
...
Would like to avoid OS-keys, but apparently this is expected on OSX.
2018-07-02 15:15:27 +02:00
Campbell Barton
f2124c5624
UI: revert 3D menu alignment
...
This caused collapsed menu to draw in a row,
will look into alternate way to avoid menus taking too much room.
2018-07-02 15:02:45 +02:00
Pablo Vazquez
6a323d196f
UI: Header consistency for 3D Viewport
...
Alignment/snapping/proportional edit to the right like in all other editors,
keeping the center for the shading/overlay settings.
2018-07-02 14:54:20 +02:00
Pablo Vazquez
69e437ba22
UI: Header consistency for Text editor
2018-07-02 14:54:20 +02:00
Pablo Vazquez
79c8f5ac0d
UI: Header consistency for Squencer
2018-07-02 14:54:20 +02:00
Pablo Vazquez
ea57345adb
UI: Header consistency for Node editor
...
Also move use_insert_offset to the View menu as it is not toggled that often
to take space in the header.
2018-07-02 14:54:20 +02:00
Pablo Vazquez
fd6d149347
UI: Header consistency for UV/Image editor
2018-07-02 14:54:20 +02:00
Pablo Vazquez
5b7f0d36f3
UI: Header consistency for animation editors
2018-07-02 14:54:20 +02:00
Pablo Vazquez
cec11c86e5
UI: File Browser header consistency
...
Move "Recursion" and "Display Size" to a new View menu.
Thanks Campbell for helping with wonky menus.
2018-07-02 14:54:20 +02:00
Brecht Van Lommel
34678388f3
Outliner: add outliner wide RMB context menu.
...
All right click menus in the outliner now include OUTLINER_MT_context.
2018-07-02 14:52:22 +02:00
Campbell Barton
b3098c30a6
UI: add workspace cycling menu items
2018-07-02 14:30:28 +02:00
Brecht Van Lommel
20046defd7
UI: update mouse icons in status bar.
2018-07-02 13:46:09 +02:00
Campbell Barton
2e15ee0dcf
Keymap: add back X-Key for delete
...
This is needed as part of modeling work-flow, so keep it accessible.
2018-07-02 13:00:43 +02:00
Campbell Barton
3b0148d2aa
Keymap: use Page Up/Down for workspace switching
...
These are common keys for changing tabs,
leaving tab free to be used for tools/mode switching.
2018-07-02 12:49:45 +02:00
Campbell Barton
06994e954b
UI: add screen split to window context menu
2018-07-02 12:46:51 +02:00
Campbell Barton
ec22327a5f
Merge branch 'master' into blender2.8
2018-07-02 12:43:36 +02:00
Campbell Barton
c6416ae653
Screen: support splitting from floating menu
2018-07-02 12:40:17 +02:00
Campbell Barton
b076b3853c
Merge branch 'master' into blender2.8
2018-07-02 12:03:56 +02:00
Campbell Barton
b88e51dd55
Cleanup: use bool for poll functions
2018-07-02 11:51:31 +02:00
Clément Foucault
ad5a20efce
Commit D3494 : Compiled shader lookup fix
...
Authored by Pavel Rudko (PavelRudko) on Thu, Jun 21, 10:41 AM.
Original description:
I've encounterd into a problem with blender 2.8.
See the example screenshot (scene, shader setup). For some materials it's not enough to calculate hash based on fragment code and defines. In some cases attribute names may change. And if we change uv set name, for example, vertex shader is not recompiled, and another attribute name inside it is used.
2018-07-02 11:05:48 +02:00
Campbell Barton
bfbfb1c47e
Correct f-string in own recent changes
2018-07-02 09:18:38 +02:00
Campbell Barton
bf7c815169
Fix T55675: Crash internal animation player
2018-07-01 21:07:18 +02:00
Campbell Barton
37994e0af2
Merge branch 'master' into blender2.8
2018-07-01 20:15:21 +02:00
Campbell Barton
26c5a1c301
Cleanup: right shift in interface code
2018-07-01 20:12:07 +02:00
Campbell Barton
192e5d65a7
Keymap: add generally useful popups to F-Keys 1..4
...
This allows key bindings: link/append and user-preferences
to be accessed via keys - without having to assign keys to each action.
- F1: Context sensitive help.
- F2: File Context Menu.
- F3: Search.
- F4: Window Context Menu.
Other keys F5..10, remain free,
ideally they can be kept for user actions.
2018-07-01 17:51:31 +02:00
Brecht Van Lommel
71e65daf5c
Fix T55687: compile error when not using c++11.
2018-07-01 16:48:19 +02:00
Brecht Van Lommel
9c5203c98f
Fix T55626, fix T55106: Cycles motion blur + persistent images bug.
2018-07-01 16:32:35 +02:00
Campbell Barton
36a9436d80
Merge branch 'master' into blender2.8
2018-07-01 16:22:06 +02:00
Campbell Barton
ddee0931b8
RNA: use bool for boolean RNA types
...
We were using int's for bool arguments in BKE,
just to avoid having wrapper functions.
2018-07-01 15:57:59 +02:00
Campbell Barton
3ec6f2172d
Cleanup: reduce variable scope
2018-07-01 10:32:47 +02:00
Campbell Barton
fadad17c58
Cleanup: avoid calloc when immediately overwritten
2018-07-01 10:26:37 +02:00
Campbell Barton
bc95c7a3ea
Cleanup: remove num argument prefix
2018-07-01 09:23:51 +02:00
Campbell Barton
1c0aa4e396
Cleanup: RNA naming
2018-07-01 09:13:04 +02:00
Campbell Barton
b4998548ab
Cleanup: use '_len' suffix for line stipple
2018-07-01 08:42:16 +02:00
Campbell Barton
ab6e23ffbb
3D View: use 3px dashed relationship line
...
Seems this was accidentally doubled from 2.7x?
2018-07-01 08:36:22 +02:00
Campbell Barton
0d31ab362e
Revert "Experimental Tweak: Only show relationship lines between objects when either the parent/child object is selected"
...
This reverts commit 9129319647 .
This meant users needed to select everything to see relationship lines,
this isn't always easy since objects can have limit-selection set.
This could be made into an enum option if it's important.
2018-07-01 08:28:12 +02:00
Campbell Barton
24979ccb65
UI: set default theme outline alpha
...
The outline wasn't being set causing it not to draw.
2018-07-01 08:04:39 +02:00
Campbell Barton
9daf6b12a6
Merge branch 'master' into blender2.8
2018-07-01 07:24:46 +02:00
Campbell Barton
9738de820a
Cleanup: use f-string
2018-06-30 22:02:41 +02:00
Campbell Barton
6a13b6324b
UI: support check-boxes in quick menu
...
Could support other RNA types,
however menus don't work well in this case.
2018-06-30 21:08:48 +02:00
Campbell Barton
7d48a342d6
Merge branch 'master' into blender2.8
2018-06-30 18:06:20 +02:00
Campbell Barton
bea62c5c1a
Cleanup: split out context member query
2018-06-30 18:05:01 +02:00