Sergey Sharybin
35214885c7
Cleanup: Redundant struct specifier
2019-05-01 10:51:19 +02:00
Campbell Barton
7191f66aa4
Cleanup: use BKE_pchan_mat3_to_rot / rot_to_mat3 utility functions
2019-05-01 13:55:50 +10:00
Campbell Barton
5915d1f453
BKE_pchan: add BKE_pchan_rot_to_mat3
...
Useful to get the un-scaled rotation from a pose channel.
2019-05-01 13:17:10 +10:00
Campbell Barton
340c564020
UI: move image paint panels into the image side-bar
...
- Move painting brush panels into the image side-bar.
- Add active tool panel to the image side-bar.
2019-05-01 12:35:00 +10:00
Campbell Barton
3ae872d9ab
Fix T64049: Unset space type crashes
2019-05-01 11:48:39 +10:00
Campbell Barton
909665a0d4
ClangFormat: run with ReflowComments on source/
...
Prepare for enabling ReflowComments.
2019-05-01 11:13:14 +10:00
Campbell Barton
f70470b540
Cleanup: comments (long lines) in ikplugin
2019-05-01 11:01:20 +10:00
Campbell Barton
c7041403d0
Cleanup: comments (long lines) in compositor
2019-05-01 10:51:13 +10:00
Campbell Barton
63f0e150ed
Cleanup: comments (long lines) in draw
2019-05-01 10:51:10 +10:00
Campbell Barton
480a09a92f
Cleanup: redundant lookup
2019-05-01 08:49:35 +10:00
Campbell Barton
3482e136bf
Fix error storing proportional editing for redo
...
Missed in recent changes to proportional edit mode.
2019-05-01 08:31:18 +10:00
Dalai Felinto
b7277aac72
Outliner: Fix "Unlink" not working for parented objects
...
How to reproduce it:
* Parent an object to another in the same collection.
* RMB the child object and try to "unlink" it.
2019-04-30 19:20:53 -03:00
Campbell Barton
910b886747
Cleanup: comments (long lines) in modifiers
...
Also remove duplicate comments in headers.
2019-05-01 08:04:52 +10:00
Campbell Barton
163fb251b9
Cleanup: comments (long lines) in compositor
2019-05-01 07:58:27 +10:00
Campbell Barton
1e8697cd80
Cleanup: comments (long lines) in freestyle
2019-05-01 07:58:27 +10:00
Campbell Barton
5ca8ac51d0
Cleanup: indentation from braces in '#if 0'
2019-05-01 07:58:27 +10:00
Bastien Montagne
20a8b07561
Fix broken build from recent rBae7db030dab0.
2019-04-30 22:17:32 +02:00
Dalai Felinto
d4126238b4
Cleanup/update comment on flag_legacy values
2019-04-30 16:48:07 -03:00
Dalai Felinto
1aa093ce9c
Fix T63343: Duplicated object is hidden whereas it should not
...
We were mixing ob->flag and ob->base_flag.
We shouldn't be using ob->flag & SELECT in 2.8x.
2019-04-30 16:48:07 -03:00
Dalai Felinto
ae7db030da
Stop using deprecated ob->flag & SELECT
...
We still have base->flag_legacy & BA_WAS_SEL for the few cases we really
need to have a per-object selection check (used in the transform code).
2019-04-30 16:48:07 -03:00
Dalai Felinto
2d32372c59
Remove BKE_scene_object_base_flag_sync_from_object
...
Note the fix for T62865 is still working fine.
2019-04-30 16:48:07 -03:00
Dalai Felinto
088d59c3d3
Refactor: Use object select API - ED_object_base_select
...
We had a mix of BKE_view_layer_base_select (harmless), and places where
we simply set the BASE_SELECTED flag with no regard to its selectable
state.
2019-04-30 16:48:07 -03:00
Dalai Felinto
c7452f14c5
Grease Pencil: Fix using wrong flag for selecting objects on convert
...
The correct fix should be to use ED_object_base_select() but I'm leaving
this to a separate pass.
2019-04-30 16:48:07 -03:00
Dalai Felinto
7388856318
Cleanup: Object base syncing already happening as part of ED_object_base_select
...
No functional change.
2019-04-30 16:48:07 -03:00
Antonioya
2fd6e855a5
GPencil: Small tweak to Dot minimum thickness
...
This was changed in a previous commit to 1.0, but a value of 0.5 works better.
2019-04-30 17:49:28 +02:00
Antonioya
9a4fd6da0f
Fix T63864 Duplicate Data options don't exist for Light Probe and Grease Pencil
...
See revision D4766
2019-04-30 17:37:16 +02:00
Bastien Montagne
d48a2f4a37
Select: Add 'deselect on nothing' to NLA editor.
...
Should be last part of T63995.
2019-04-30 17:20:21 +02:00
Bastien Montagne
26bc7414f7
Tweak to previous 'deselect on nothing' commit for Graph editor.
...
Better code, more in line with the one from action and NLA, and less
verbose.
2019-04-30 17:17:34 +02:00
Bastien Montagne
a5df2a9b63
Fix (unreported) two memleaks in clic-select ops of Action and NLA editors.
2019-04-30 17:05:34 +02:00
Bastien Montagne
b1f7647236
Select: Add 'deselect on nothing' to Action (dopesheet) editor.
...
Also removed annoying console error when clicking outside of valid range
of channels, that is no error at all. ;)
Part of T63995.
2019-04-30 16:51:44 +02:00
Bastien Montagne
de38778535
Select: Add 'deselect on nothing' to Graph (fcurves) editor.
...
Part of T63995.
2019-04-30 16:26:31 +02:00
Bastien Montagne
86ff61f853
Select: Add 'deselect on nothing' to UV editor.
...
As with mask, when this is enabled there is now a maximum click distance
from an item to actually select it.
Part of T63995.
2019-04-30 16:09:58 +02:00
Philipp Oeser
40b66ac2a6
Fix proportional editing always enabled if the property exists in the
...
operator
Fixes T64010, T64011
Reviewers: brecht
Maniphest Tasks: T64010, T64011
Differential Revision: https://developer.blender.org/D4764
2019-04-30 15:29:31 +02:00
Jacques Lucke
34944a2035
Refactor markers drawing
...
This will make it easier to move the markers area somewhere
else (to the top) in a separate step.
There should be no functional changes, only minor UI changes.
Reviewers: brecht
Differential Revision: https://developer.blender.org/D4745
2019-04-30 14:17:53 +02:00
Jacques Lucke
7f0b122b66
Refactor: Separate scrollers from text drawing in API
...
This is a continuation of rB7fdffd735ff24, where I separated the
e.g. frame number drawing from scrollers internally.
This patch changes the API, so that space draw handlers
have to draw these numbers explicitely.
This greatly simplifies the scrollers API for all spaces
that just need scrollers without any frame numbers.
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D4747
2019-04-30 14:10:53 +02:00
Clément Foucault
2445d5abc2
Fix T63393 Eevee: Specular Shader's Clear Coat does not function
2019-04-30 14:07:22 +02:00
Jeroen Bakker
d1f6ea2793
Sequencer: Scene Strip Performance
...
- Merged SEQ_OFSDRAW with V3D_OFSDRAW and define in the
DNA_view3d_types: Due to this FSAA always kicked in making the
rendering slow.
- Removed `Texture Solid` and `DOF`.
- Now when chosing Solid rendering the settings
of the original scene is used.
- Added a global override to use scene specific shading. In the
Future we will need to enhanced this so user can change the
settings.
- Added support for LookDev. LookDev crashed as it needed the
`evil_C` what was not set
- LookDev mode will always show the scene + world lights.
Reviewed By: brecht, fclem
Maniphest Tasks: T62517
Differential Revision: https://developer.blender.org/D4738
2019-04-30 14:01:22 +02:00
Howard Trickey
3e780507bd
Fix T63759 Vertex Bevel works for width and depth offset types.
...
From D4719 by George Vogiatzis (Gvgeo).
2019-04-30 07:13:22 -04:00
Philipp Oeser
e15c8ee447
Fix T64003: cannot enter object dimensions above 10000
...
When this button was still RNA based it was FLT_MAX (that changed to
10000 in rB1b8c3774a86e)
Reviewers: brecht
Maniphest Tasks: T64003
Differential Revision: https://developer.blender.org/D4763
2019-04-30 12:58:35 +02:00
Clément Foucault
e8daa61570
DRW: Add debug utility for batch cache requests
2019-04-30 12:55:03 +02:00
Clément Foucault
782917648f
Fix T64009 Normal Maps not working on EEVEE
...
Was missing a flag from recent refactor.
2019-04-30 12:55:03 +02:00
Harley Acheson
395fa5eb4c
Fix T63912: don't collapse menu separators for pie menus
...
Differential Revision: https://developer.blender.org/D4748
2019-04-30 12:40:24 +02:00
Sergey Sharybin
80c3501d19
Fix T63865: Animated Influence slider of NLA Strip doesn't update
...
Add special case to construct PointerRNA from evaluated NLA strip
to an original one when flushing animation back to the original ID.
Reviewers: brecht
Maniphest Tasks: T63865
Differential Revision: https://developer.blender.org/D4762
2019-04-30 12:10:18 +02:00
Sergey Sharybin
73e8d1096a
Depsgraph: Store pointer to original NLA strip
...
Similar to modifier data and particle systems.
2019-04-30 12:10:18 +02:00
Antonioya
56fd032393
T63854: Grease Pencil strokes appear too thick in the viewport when using texture mode
...
There was an arbitrary size limit of 4 pixels.
2019-04-30 11:59:48 +02:00
Bastien Montagne
7a0b3f927c
Select: Add 'deselect on nothing' behavior to tracking editor.
...
Part of T63995.
2019-04-30 11:34:22 +02:00
Bastien Montagne
7f4836a0a7
Cleanup: typo in func name.
2019-04-30 11:34:22 +02:00
Bastien Montagne
7f75017635
Cleanup: make 'deselect_all' properties PROP_SKIP_SAVE.
...
Forgot to do that for some in previous commits, that kind of props are
better with 'skip save' behavior (simpler to handle in keyconfigs).
2019-04-30 11:34:22 +02:00
Bastien Montagne
080d72a257
Select: change Sequencer to match new behavior of 'deselect on nothing'.
...
Note that unlike some others, this is always enabled for sequencer,
since previous (2.7x) code was already deselecting everything when
clicking in an empty area...
Part of T63995.
2019-04-30 11:34:22 +02:00
Bastien Montagne
e4b9836c53
Cleanup: Remove pre-2.5 ifdef'ed piece of code.
2019-04-30 11:34:22 +02:00