Antonioya
6eaaa9c3d3
Fix T62507: Removing Annotation layers removes layers option
...
Now, when the layer is removed, the Annotation title is removed too to get the same situation when you start using annotations.
2019-03-12 19:49:46 +01:00
William Reynish
84ac6b72c0
UI: Adjustments to Texture Paint Projection Paint panel
2019-03-12 11:07:43 +01:00
Campbell Barton
d8daeeb930
UI: Avoid redundant text argument to UnifiedPaintPanel methods
...
Now when the text argument is omitted, use the default name
matching how regular properties work.
Avoids passing in the same name which RNA has,
matches UILayout.prop behavior.
Also use keyword only for optional arguments.
2019-03-12 16:31:02 +11:00
Campbell Barton
819c00483d
Cleanup: use UnifiedPaintPanel for context menu
2019-03-12 15:32:20 +11:00
Campbell Barton
022ad41670
DRW: use object color from instancer
...
Otherwise it's impossible to set the color of instanced library objects.
Follows convention of instancer controlling draw options.
2019-03-12 12:28:01 +11:00
Campbell Barton
3017d88aec
Cleanup: rename specials -> context_menu
...
In keeping with convention to match code & UI naming.
- No user visible changes.
- Include 'menu' in the name since context is an overloaded term.
- While a few of these are panels, from a user perspective they are
still context menus.
2019-03-12 11:05:28 +11:00
Campbell Barton
e6eb7b9cce
Tools: Only show cursor tool in wpaint mode when a pose object exists
2019-03-12 10:54:39 +11:00
Campbell Barton
bf1a3fee7c
UI: Restore orient/pivot UI for wpaint & pose mode
...
This was removed since 2.7x (by accident?)
2019-03-12 10:46:31 +11:00
Campbell Barton
6ad91be5d7
Fix overlay pose panel context check
...
Displayed pose options when weight-paint armature wasn't in pose mode.
2019-03-12 10:28:38 +11:00
William Reynish
26216332b8
UI: Remove Sculpt Direction from context menu
...
It didn't work well in here - the menu would close and re-spawn as you hovered over this control.
2019-03-11 23:47:24 +01:00
William Reynish
cb14138b5a
UI: Remove incorrect usage of ellipses in menus
...
We only use ellipses when a popup appears, not for regular submenus.
2019-03-11 23:33:13 +01:00
William Reynish
0f20696846
Icons: Add Links Cut icon to Node Editor, plus other tweaks
...
- Tweaks to Paint Mode Fill and Sample tool icons
- Tweaks to GP Add Primitive icons
2019-03-11 23:22:41 +01:00
Campbell Barton
34781e06b7
UI: correct context menu edge selection check
2019-03-12 08:22:38 +11:00
Campbell Barton
815a9df70c
Cleanup: trailing space
2019-03-12 08:16:55 +11:00
Campbell Barton
8add03c3b9
UI: correct typo
...
Also odd parenthesis.
2019-03-12 08:08:48 +11:00
William Reynish
c49f407f7b
UI: Add back frame operators to GPencil Draw and Sculpt mode contextual menus
...
Maniphest Task: T62130
2019-03-11 17:25:10 +01:00
William Reynish
19af5bd57e
Fix: Remove unnecessary check in previous commit
2019-03-11 16:51:04 +01:00
William Reynish
4879d8001c
Add missing Add Face and Fill commands to Edit Mode Edge contextual menu
2019-03-11 16:48:39 +01:00
William Reynish
3c81572e3d
UI: Move UV Editor Cursor Position to sidebar
...
Consistent with the 3D View
2019-03-11 16:37:57 +01:00
William Reynish
2703c405a4
UI: Add missing transform operators to Transform menu
...
- Consistent with other editors and modes
- Allows users to discover G R S keys
Maniphest task: T61556
2019-03-11 16:18:34 +01:00
William Reynish
a65b068f6e
UI: Add missing All Transform to Object > Apply menu
...
Reported on Devtalk
2019-03-11 16:12:29 +01:00
William Reynish
cd32acefec
UI: Add brush controls to contextual menu for GPencil Draw and Sculpt modes
...
Maniphest task: T62130
2019-03-11 15:51:54 +01:00
William Reynish
2ed0f08106
UI: Add brush controls to contextual menus for Texture Paint, Vertex Paint, Sculpt Mode
...
Maniphest task: T62130
2019-03-11 15:01:07 +01:00
William Reynish
cbc8ffa601
UI: Add brush controls to contextual menu in Weight Paint mode
...
Maniphest task: T62130
2019-03-11 14:34:07 +01:00
William Reynish
d5a024c72d
Tools: Add Selection tools to Texture Paint toolbar when Face Selection is enabled.
...
Consistent with the other paint modes.
2019-03-11 13:45:15 +01:00
Antonioya
ba4d07cc5c
GPencil: Material panel is hidden after adding new material
...
This bug was introduced by previous Pin fix commit. Maybe it's not the best solution, but this bug is critical and need a quick fix.
This commit fix the problem, but not totally sure this is working fine with pin.
@dfelinto Could you review and adapt if required.
2019-03-09 16:50:10 +01:00
Dalai Felinto
2ada9c5bc8
Final fix for greasepencil materials assign/select/deselect in edit mode
2019-03-08 16:48:19 -03:00
Dalai Felinto
4ccaf56814
Fix T62349: Grease Pencil top material list not working
...
This is a fixup for my own: 92d185faeb .
I'm also fixing the poll of the EEVEE_MATERIAL_PT_context_material
which would fail when we had no context.material available.
2019-03-08 15:36:31 -03:00
Bastien Montagne
457ecc6825
Partially revert "Collection duplication from Outliner: add a 'duplicate hierarchy' operation."
...
This partially reverts commit a77feabb51 ,
removing the shallow 'duplicate hierarchy' option from outliner.
Core changes from that commit in BKE_collections are kept.
2019-03-08 17:53:31 +01:00
Pablo Vazquez
5c630f8256
UI: Rename 'Use Lib Path' to 'Use Library Path' in particle settings.
...
Also align items in the column since they work together.
2019-03-08 15:50:43 +01:00
Pablo Vazquez
4831dd5f38
UI: Naming and tooltip for the new high-resolution smoke simplify setting.
...
* Rename "Use Smoke Highres" to "Use High-resolution Smoke"
* Use 'Display' instead of 'Draw', following the naming conventions in 2.8
* Drop the 'Use' prefix in the UI, a "High-resolution Smoke' checkbox sufficiently communicates what it does.
2019-03-08 15:30:51 +01:00
William Reynish
6cab5abbc3
Tools: Re-order Weight Paint toolbar
...
-Group gradient with the other paint tools
-Nest the two Sample tools together
-Keep painting tools first, secondary tools after
-Make sure toolbar doesn't jump when selection is enabled
2019-03-08 15:07:18 +01:00
William Reynish
1b31859243
Revert "Icons: Add GPencil Extrude and Radius icons"
...
This reverts commit a44d75a964 .
2019-03-08 13:07:20 +01:00
William Reynish
a44d75a964
Icons: Add GPencil Extrude and Radius icons
...
Also, revision of icons for paint modes, based on suggestions by Aslam Cader.
2019-03-08 13:02:46 +01:00
Campbell Barton
5af85d904e
RNA: rename bpy.data.grease_pencil to grease_pencils
...
All other sequences are plural here.
2019-03-08 09:55:40 +11:00
Dalai Felinto
92d185faeb
Properties Editor: Grease Pencil and pinning fixes
...
The UI was trying to use screen_context.c for its poll and draw
functions. So the active object and active object data and active layer
was used in the UI, instead of the context one.
Besides, for the material, the wrong context path was used altogether
when the active object was a greasepencil.
This would lead to all sort of pinning problems:
* A Mesh panel is pinned, but the active object is a grease pencil, the
grease pencil panels would show.
* If a Grease Pencil (data) panel is pinned, but the active object is not
the one pinned, nothing would show.
* Material panels and pinning were totally broken, showing the material
context for pinned mesh data panels even.
I also sanitized the name of the panels, their inheritance and poll
functions.
Reviewers: antoniov, brecht
Subscribers: billrey
Differential Revision: https://developer.blender.org/D4470
2019-03-07 20:28:25 +00:00
Campbell Barton
65f15e972e
Cleanup: remove redundant check
2019-03-08 02:47:00 +11:00
Campbell Barton
3a813622e1
Cleanp: use static sets
2019-03-08 02:43:33 +11:00
Jacques Lucke
b3d638087d
Fix T61761: Randomize Transform is an object mode operator
...
Reviewers: brecht, billreynish
Differential Revision: https://developer.blender.org/D4467
2019-03-07 15:55:59 +01:00
William Reynish
ed24315c63
UI: Change UI name of Draw Labels to Include Labels
...
For compliance with recent naming conventions.
2019-03-07 15:07:16 +01:00
William Reynish
6837474ae8
UI: Use sub-panels inside Grease Pencil Onion Skinning panel
...
Reviewers: Antonio Vazquez (antoniov)
Differential Revision: D4465
2019-03-07 14:57:21 +01:00
Campbell Barton
90f4ff95ed
Image: use sample size instead of radius
...
It wasn't possible to sample a 2x2 region.
2019-03-08 00:43:20 +11:00
Campbell Barton
1901595898
Tool System: use set/add/subtract for all lasso select operators
2019-03-07 23:45:58 +11:00
William Reynish
cee53160d2
Tools: Add Radius tool to Grease Pencil toolbar
...
Icon pending.
2019-03-07 11:12:30 +01:00
Campbell Barton
219e2f976d
Tool System: use set/add/subtract for all box select operators
2019-03-07 20:34:10 +11:00
William Reynish
e52e0c83d7
UI: Re-order toolbar in Curve Edit mode
...
Makes it more consistent with Mesh Edit mode, and uses same logic for grouping.
2019-03-07 09:58:56 +01:00
Campbell Barton
48e48653c2
Tool System: add radius option to the image sample tool
2019-03-07 18:03:40 +11:00
Campbell Barton
254f2e7390
Tool System: add annotation tool to image editor
...
Also add place-holder measure tool.
2019-03-07 14:09:28 +11:00
Campbell Barton
a9241c41e1
Cleanup: class name
2019-03-07 12:53:45 +11:00
Campbell Barton
f383537280
UI: rename "Camera Lock" to "View Lock"
...
Only 1 of the options in this panel apply to cameras.
2019-03-07 12:46:17 +11:00