Brecht Van Lommel
44a8070db3
Cleanup: fix incorrect contributor information.
2018-06-01 15:47:00 +02:00
Campbell Barton
06c4106d03
Fix for fix, indentation was accidental
2018-06-01 15:42:00 +02:00
Campbell Barton
75b2729488
Fix missing braces
2018-06-01 15:37:53 +02:00
Pablo Vazquez
50afc430fd
Update Flatty themes with the new pulldown background and minor tweaks.
2018-06-01 15:32:46 +02:00
Vuk Gardašević
27881e9948
Fix Add menu issue when there are no collections to instance
...
Differential Revision: https://developer.blender.org/D3453
2018-06-01 15:27:18 +02:00
Brecht Van Lommel
13ca63d2ad
Draw background on pulldown widgets if the header is transparent.
...
Since the viewport header now supports transparency, text on pulldowns
can be hard to read if their color matches the viewport content.
Background is drawn using the 'inner' theme color, that was unused until now.
2018-06-01 15:11:38 +02:00
Bastien Montagne
3b05034935
Fix broken logic in make static override operators for Collections.
...
Was pretty sure I already fixed that some weeks ago... but look like it
was not committed or somehow lost...
2018-06-01 14:31:29 +02:00
Campbell Barton
ddf2a58282
Mesh: Replace DM for mesh w/ wpaint vertex picking
2018-06-01 14:29:22 +02:00
Campbell Barton
82b8fd8eaf
UI: don't show XYZ text w/ direction buttons
2018-06-01 14:10:43 +02:00
Campbell Barton
32c12d057f
Cleanup: rename vars
2018-06-01 14:01:46 +02:00
Campbell Barton
be8016908d
Mesh: Replace DM for mesh -> curve conversion
2018-06-01 14:01:44 +02:00
Campbell Barton
4faf9bfbe9
Mesh versions of DerivedMesh access API calls
...
Add mesh_get_eval_final & mesh_get_eval_deform
Note: these will eventually need to be renamed & moved into BKE.
2018-06-01 13:58:53 +02:00
Campbell Barton
b85d5b6d52
Cleanup: quiet warning, don't set unused alpha
2018-06-01 13:58:53 +02:00
Jeroen Bakker
83a41ccd0a
LookDev: make sure lookdev balls are still visible after 'N'
2018-06-01 12:52:10 +02:00
Clément Foucault
cfdadc7d61
Edit Mode: Fix Edit Object renderability with multi objects edit.
2018-06-01 12:28:32 +02:00
Jeroen Bakker
4eb47c303d
Fix: raytrace_mirror does not exist anymore
...
Eevee default material settings were not showing.
2018-06-01 12:14:08 +02:00
Jeroen Bakker
0c18024a8d
Fix error
2018-06-01 12:04:24 +02:00
Jeroen Bakker
c771bbc27e
Code cleanup: Compiler warning
2018-06-01 12:01:31 +02:00
Brecht Van Lommel
01c75c3765
Math: optimizations for 4x4x matrix inverse, multiplications.
...
In some heavy rigs matrix inverse can be 10% of computation time. This
reduces it to 2% by using Eigen's optimized 4x4 matrix inverse and SSE
matrix multiplication.
2018-06-01 12:00:11 +02:00
Brecht Van Lommel
719e782f2c
Modifiers: tiny optimizations for mesh deform, lattice, kdop.
2018-06-01 12:00:11 +02:00
Brecht Van Lommel
bcbee4b9a3
Fix missing animation updates when the proxy object is not visible.
...
The relation was inverted here, for a long time already. The reason is
unclear and in principle it should work fine in the right direction.
2018-06-01 12:00:11 +02:00
Brecht Van Lommel
1bc801e020
Fix use of uninitialized value in depsgraph.
2018-06-01 12:00:11 +02:00
Campbell Barton
14c55a5828
Cleanup: long lines
2018-06-01 11:59:15 +02:00
Dalai Felinto
e35dab0fec
Fix building for workbench in windows (BLI_INLINE)
2018-06-01 11:55:50 +02:00
Sybren A. Stüvel
0bddf5315f
Fix T55282: Modifiers: Removed unnecessary object evaluation
2018-06-01 11:50:53 +02:00
Sybren A. Stüvel
8f24d404fe
Removed old mention of CDDerivedMesh
2018-06-01 11:50:53 +02:00
Campbell Barton
e614a8290c
Fix/Workaround T55272: Sculpt/VPaint removes mesh
2018-06-01 11:49:10 +02:00
Campbell Barton
e8142ad7dc
Cleanup: quiet warnings
2018-06-01 11:49:10 +02:00
Clément Foucault
4683091369
Object Mode: Display loose edges if overlays are enables.
...
This fix T55280 Loose edges not visible in object mode
2018-06-01 11:36:01 +02:00
Jeroen Bakker
d5a359b1d4
Fix: overlays are reset when selection is being performed
...
/me hits myself in the head. In selection code the flags were not tested
but set directly.
2018-06-01 11:31:30 +02:00
Jeroen Bakker
c450966e95
Workbench: Material specific settings for the specular
...
- Uses the roughness setting of the basic eevee material
- renamed gloss_mir to roughness
- set default of roughness to 0.25
- renamed ray_mirror to metallic
- cleaned up material rna (BI mirror struct)
- use BLINN phong model
- normalize incoming/outgoing specular light
- when using camera oriented studiolight, the SolidLight will be used
for specular highlights
- EXPERIMENT: when in world oriented studiolight only the shadow direction will be used.
- change the settings of the internal light to make scenes more
readable
2018-06-01 11:01:55 +02:00
Campbell Barton
3b2d3a3cd1
Fix crash switching sculpt/vpaint -> edit mode
2018-06-01 10:34:00 +02:00
Bastien Montagne
7bdc67f5f3
Fix broken 'make single user' operator UI.
...
Texture option was removed, since BI engine removal...
2018-06-01 10:27:27 +02:00
Campbell Barton
fe09aa602a
3D View: hide orbit navigation in camera view
...
Typically for camera views it's nicer not to overlay large widgets,
only include the button to exit camera view.
2018-06-01 10:17:07 +02:00
Sybren A. Stüvel
c338ac9454
Modifiers: ported Soft Body DerivedMesh → Mesh
...
The simulation doesn't seem to update properly yet.
2018-06-01 10:04:46 +02:00
Campbell Barton
3cefb27830
Partial Revert of COW/Camera manipulator changes
...
d64fbe9456 3e26b84397
2018-06-01 09:48:40 +02:00
Campbell Barton
266fc1c1ff
Revert "COW Fix: Lamp manipulators"
...
This reverts commit 33e45658eb .
No longer needed.
2018-06-01 09:25:24 +02:00
Campbell Barton
5736157b5e
3D View: respect text option for edit-mode info
2018-06-01 09:22:08 +02:00
Campbell Barton
a6395cebb7
Error in last commit
2018-06-01 08:31:32 +02:00
Campbell Barton
c87cfcc8de
3D View: make text overlay optional
2018-06-01 08:26:55 +02:00
Campbell Barton
63785a889c
3D View: support world background color
2018-06-01 08:16:24 +02:00
Pablo Vazquez
35efa1d3d3
Add 'Toggle Header' to header context menu.
...
Also disable collapsing the header by dragging it up/down. This prevents
accidentally hiding the header when resizing areas.
2018-06-01 02:55:16 +02:00
Dalai Felinto
a63b55f642
Cycles UI: Show pause button only when in rendered mode
2018-05-31 23:58:49 +02:00
Dalai Felinto
a4bb1a5881
Fix render engine info region when overlap and header on bottom
...
Note there is some talk about changing the position of this (which would be strange in the image editor by the way,
since there we use the bottom for the result of the current pixel when dragging the mouse).
However first I wanted to fix this regardless.
2018-05-31 23:58:48 +02:00
Campbell Barton
995fa1f4c0
UI: new tool properties space type
...
This currently shows panels that were in the 2.79 3D view toolbar
which are now popovers.
In some cases it's useful for these to stay open.
This commit adds a space type to do this.
Note this is currently empty in object mode.
2018-05-31 21:45:26 +02:00
Campbell Barton
14dee6d7a5
UI: support drawing panels from multiple contexts
2018-05-31 21:42:02 +02:00
Dalai Felinto
e51cbce646
Cleanup: Fix indentation
2018-05-31 19:19:27 +02:00
Clément Foucault
bf4ce5755f
Overlay: Add Wireframe overlay.
...
This overlay is showing mesh topology. It is usable with transparency
even if the mesh order can mess up with the expected result (some object
more prominent than others).
Edge thickness and alpha values are hardcoded for now but can easily be
added to theme or object settings.
2018-05-31 19:09:20 +02:00
Clément Foucault
712885c30e
DRW: Add wireframe buffer texture generation for wireframe drawing.
...
Only OB_MESH is supported for now.
Creates a simple index buffer with negative indices if the edges is not a
real edge.
Also create the buffer texture representation of this buffer along with the
pos_in_order buffer texture.
2018-05-31 19:09:20 +02:00
Clément Foucault
f43e3d0b6b
DRW: Fix DRW_shgroup_call_procedural_* vertex count.
2018-05-31 19:09:20 +02:00