Campbell Barton
8ec7429a70
Merge branch 'master' into blender2.8
2018-12-17 17:32:42 +11:00
Campbell Barton
42b9df5907
Cleanup: use 'tool_settings' name everywhere in UI scripts
2018-12-17 17:22:50 +11:00
Campbell Barton
7fac1bfc20
Context: remove active_gpencil_brush
...
We don't have this for other painting modes,
no need for a special case here.
2018-12-17 17:17:43 +11:00
Campbell Barton
c73958a100
Theme: use grey for blender_light inactive menu text
...
There wasn't enough difference between labels and menu item text which
could be selected.
2018-12-17 16:52:06 +11:00
Campbell Barton
a2a39bada2
Theme: use black for blender_light view-overlay
...
Cursor axes & transform guide contrasting w/ background was too low.
2018-12-17 14:55:19 +11:00
Campbell Barton
21c1c3c59c
3D View: empty image option to show front/back
...
Only back was possible.
2018-12-17 14:49:16 +11:00
Campbell Barton
d72d2d4133
DNA: clear / remove deprecated flags
...
- Clear deprecated flags for ID's:
Scene, Sequence, World, Object & Mesh.
- Clear deprecated flags for Spaces: outliner, 3D view & image.
- Remove unused `Mesh.drawflag`
- Remove unused `USER_ALLWINCODECS`, `USER_MMB_PASTE`.
- Remove `V3D_SOLID_TEX` & `V3D_ZBUF_SELECT` - used in a few areas.
- Flip `Object.empty_image_visibility_flag`
(avoids do-version on each new flag)
- Rename 'Backside' -> 'Back' in context of drawing - showing 'Back'
makes sense.
2018-12-17 13:55:06 +11:00
Antonioya
fbed69866e
GP: Add option to occlude eraser
...
This adds the functionality requested in T59417 adding a new button near of pressure button of the brush to enable/disable occlude effect for eraser.
2018-12-16 18:25:55 +01:00
Alexander Gavrilov
cfa46ddf6c
UI: initialize Overridable Static checkbox for custom properties.
2018-12-16 17:09:32 +03:00
Campbell Barton
4488056f3d
Theme: blender_light text editing colors were too similar
...
Make the background of text editing fields dark to contrast with
selection and the cursor, similar to T59219.
2018-12-16 11:27:01 +11:00
Campbell Barton
e01755033a
Cleanup: theme right shift
2018-12-16 11:21:32 +11:00
Campbell Barton
41a3634f80
Theme: include new colors
...
No visible changes.
2018-12-16 11:19:26 +11:00
Campbell Barton
3e311fdcd1
Cleanup: style
2018-12-16 09:30:05 +11:00
Antonioya
351f537fa8
GP: New Curve primitive and other primitive improvements
...
This commit adds support for new curve tool and adds more functionalities to the existing primitives, including new handles, editing, stroke thickness curve, noise, preview of the real stroke, etc.
Thanks to @charlie for his great contribution to this improvement.
2018-12-15 17:21:47 +01:00
Antonioya
f9917a8d43
Fix T59396 Grease pencil brush crash
...
The problem was the brush was not initializated because some code was missing (marked as ToDo)
2018-12-15 09:54:31 +01:00
Dalai Felinto
2b7e56964a
Fix UV editor missing/typo circle_select
2018-12-14 19:24:35 -02:00
Antonioya
f6f46accfe
GP: Added keymaps for Sculpt select
...
Still T58986 not fixed.
2018-12-14 19:13:53 +01:00
Antonioya
7bf6a9ee94
GP: Fix missing changes after rename CTX
...
Thanks to Charlie Jolly for find the bug.
2018-12-14 19:07:30 +01:00
Philipp Oeser
ac68f44b8a
fix shader editor errors when showing world shader tree
...
probably an oversight in rBd40bffa17f6d
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4079
2018-12-14 19:01:22 +01:00
Antonioya
780f0f646d
GP: Rename CTX and OB modes
...
Part of T59335.
2018-12-14 16:52:12 +01:00
Clément Foucault
a1c8595b09
Edit Curve: Add Normal size in overlay popover and change default range
...
Change default range to 0..2 to improve the slider behavior.
2018-12-14 16:35:51 +01:00
Campbell Barton
fb685c01c3
Correct error in last commit
2018-12-14 13:23:02 +11:00
Campbell Barton
be0c8ed734
Keymap: correct keymap names
...
Generated names include the current context mode
which is irrelevant for generic 3D view tools.
2018-12-14 12:17:00 +11:00
Campbell Barton
82a53481ee
Keymap: only use double-click MMB w/ LMB select
2018-12-14 12:01:27 +11:00
Campbell Barton
9ea645862c
Preferences: add option for header position
...
Sets the header position for newly created windows with few exceptions
(preferences is always bottom, file-selector is always top).
2018-12-14 09:54:34 +11:00
Campbell Barton
cb5d23b544
UI: show workspace cycling key bindings in menu
2018-12-14 07:56:19 +11:00
Antonioya
7d3b1cdd7d
GP: New Smooth operator
...
Smooth a stroke, in edit mode, similar how mesh operator works with meshes.
2018-12-13 19:49:13 +01:00
Campbell Barton
8a804d5da7
Templates: remove redundant directory init
...
This is now handled when versioning all startups.
2018-12-13 07:22:22 +11:00
Jacques Lucke
4e0291f185
Fix T59208: Error when loading reference/background image in edit mode
2018-12-12 16:39:00 +01:00
Brecht Van Lommel
b01852f20a
UI: use consistent subdivision modifier name when creating from shortcuts.
2018-12-12 13:27:50 +01:00
Bastien Montagne
eedd679ef2
Point API doc to proper path.
...
We'll have to update that again once we move 2.8 to master...
2018-12-12 12:29:58 +01:00
Bastien Montagne
91c9be7df3
Merge branch 'master' into blender2.8
2018-12-12 12:04:17 +01:00
Bastien Montagne
047d7d3b57
Fix T59213: Application menu links to outdated version of Python API.
...
Somehow those links were forgotten when we renamed API doc to simpler
names last year...
2018-12-12 11:56:25 +01:00
Campbell Barton
4357fb63db
Keymap: event type filter w/ finding keymap items
...
Now its possibly to ask for only keyboard/mouse/ndof events
when finding key map items.
2018-12-12 21:43:26 +11:00
Philipp Oeser
f2796da2e5
PyTemplates operator_modal_timer: update to 2.8
...
use keyword argument
Fixes T59232
2018-12-12 09:36:46 +01:00
Campbell Barton
4ae68d6825
Fix T59170: Box select ignores modifiers-keys once tool option is set
...
- Key-map items properties now override tool-options
so modifier keys can have different behavior to the default action.
- Box & circle select now have `wait_for_input` properties
instead of detecting this based on selection options being set or not.
This relied on the key-map setting properties which may need to be
initialize from the tool settings.
2018-12-12 14:26:43 +11:00
Campbell Barton
805bf5d602
Keymap: add Shift-F1..3 editor shortcuts
...
Some frequently used editors didn't have F-key access.
2018-12-12 11:39:52 +11:00
Campbell Barton
c0b7bdd38b
Revert "Tweak UI message of Ruler tool."
...
This reverts commit 1bf0a4f4d0 .
This is a bug, clicks shouldn't remove rulers since it's too easy
to accidentally click instead of dragging.
2018-12-12 09:52:52 +11:00
Campbell Barton
220ab6290e
Fix toolbar key-accelerator w/ LMB select
...
Tweak events were masking hotkey access.
Reported in T55162
2018-12-12 09:40:37 +11:00
Antonioya
18d354a5eb
GP: Remove Object Onion Skin switch
...
It was confusing to have two switches.
2018-12-10 20:18:15 +01:00
Antonioya
2debee96ec
GP: Replace Clamp icon
2018-12-10 20:18:10 +01:00
Bastien Montagne
1bf0a4f4d0
Tweak UI message of Ruler tool.
...
It's much simpler to just click on one end, than dragging it outside of
view. ;)
Related to T59084.
2018-12-10 15:53:53 +01:00
Lukas Stockner
e79bb957fc
User Interface: Add button color for indicating that the value differs from the interpolated one
...
One issue that especially newer users often run into is that they accidentally reset changes to the scene by switching frame without creating a keyframe first.
Therefore, this commit adds a new color that is used to draw properties if their current value differs from the one that would be set when switching to this frame.
This works both for existing keyframes as well as for currently interpolated frames.
Unfortunately the flags in but->flag are full, so I had to move the new flag to but->drawflag and pass that to all relevant functions.
I went with orange for the color since afaics it fits with the green and yellow that are currently used for keyframe states and since it's somewhat reddish to signify that there might be something to look out for here.
Reviewers: campbellbarton, #user_interface, brecht
Reviewed By: campbellbarton
Subscribers: brecht, predoe
Differential Revision: https://developer.blender.org/D3949
2018-12-08 18:06:23 +01:00
Campbell Barton
1ddfd8c9ec
Cleanup: style
2018-12-08 15:01:47 +11:00
Sybren A. Stüvel
e2d9166473
Metadata: add hostname to the available metadata options
...
Having the hostname allows us to identify which machine rendered which
frame in our render farm.
This simply uses the host's name, and doesn't do any DNS lookup of any
IP address of the machine. As such, it's only usable for identification
purposes, and not for reachability over a network.
Reviewers: sergey, brecht
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D4047
2018-12-07 17:29:07 +01:00
Philipp Oeser
f034926dba
add 'Control Points' and 'Segments' editmode menus for Surfaces
...
Fixes T58922
Reviewers: brecht, billreynish
Maniphest Tasks: T58922
Differential Revision: https://developer.blender.org/D4046
2018-12-07 15:15:52 +01:00
Campbell Barton
8f40fbad5b
Add license headers for app-templates
2018-12-07 14:29:03 +11:00
Campbell Barton
8a5656caa9
Fix T58897: Show folders in video editing template
...
Show folders and start in the users home.
2018-12-07 14:27:22 +11:00
Lucas Boutrot
d40bffa17f
UI: add material settings in shader editor sidebar.
...
Differential Revision: https://developer.blender.org/D3926
2018-12-07 00:57:20 +01:00
Brecht Van Lommel
5fdf739e7f
Fix T58898: Python error clicking in empty space in text edit mode.
2018-12-06 23:44:21 +01:00