Commit Graph

75472 Commits

Author SHA1 Message Date
Campbell Barton
2b5d4d426a Cleanup: use function to set the active base 2018-09-10 14:21:11 +10:00
Campbell Barton
bb9b0fcdbe Cleanup: remove unused field args 2018-09-10 14:05:33 +10:00
Clément Foucault
6b551c0b8c Eevee: Depth of Feild: Fix ringing issue of background objects
There was an issue caused by Antialiasing being done after DoF. Move TAA
after DOF and Motion Blur.

Also certain pixel with lower CoC would be spread all over the background
because the neighbooring pixel have higher CoC. So we need to apply some
bilateral filtering when downsampling. Currently we limit the influence of
neighbor pixels with a CoC inside the range [MaxCoC-2, MaxCoC].
2018-09-09 23:26:14 +02:00
Antonioya
d69d68621f GP: Improve smooth interpolation calc 2018-09-09 16:06:10 +02:00
Antonioya
84d85f963f GP: Fix strange pressure values when drawing
This strange values produced an "explosion" of the stoke and it was very annoying.
2018-09-09 14:08:18 +02:00
Antonioya
d7d4baa50f GP: missing change in previous commit 2018-09-09 11:48:02 +02:00
Antonioya
d5d354b1a2 GP: Fix scale problem when object is parented
The stroke was not scaled as expected in child objects.
2018-09-09 11:41:25 +02:00
Bastien Montagne
f074642b2c Fix T56712: Compositor image loader skips frames.
Bad removal of 'Fields' option for image sequences...
2018-09-08 16:46:44 +02:00
Bastien Montagne
4594cc25ac Fix T56720: Lattice: crash on setting points_u/v/w from python.
One need to check that there is something to free, before trying to free it...
2018-09-08 15:29:39 +02:00
Bastien Montagne
5a1e9e5af8 Fix T56722: Crash - Entering mesh Edit Mode.
Seriously...
2018-09-08 11:19:07 +02:00
Campbell Barton
31b8dbf8c0 Fix extrude gizmo redo after selection glitch
It was possible to adjust extrusion after selection.
2018-09-08 13:36:47 +10:00
Campbell Barton
cb909afa12 Correct last commit 2018-09-08 13:22:34 +10:00
Campbell Barton
9189fd643a Gizmo: fix extrude depth ordering 2018-09-08 13:01:46 +10:00
Campbell Barton
f7f4c05bbf WM: add temporary field to gizmo's 2018-09-08 12:49:46 +10:00
Campbell Barton
dc29ae579f UI: make extrude gizmo similar size to transform 2018-09-08 10:50:53 +10:00
Campbell Barton
0ffca8b7b3 Fix gizmo poll function
Missed cast switching to bool return type.
2018-09-08 07:27:29 +10:00
Campbell Barton
aa6c9ca899 Cleanup: style 2018-09-08 07:03:14 +10:00
Campbell Barton
66d275f8d3 RNA: update gizmo API for changes in Blender
- gpu module renamed.
- make gizmo.new() take type as a required argument.
2018-09-08 06:50:02 +10:00
Campbell Barton
f23319d095 RNA: Area.header_text_set text is now required 2018-09-08 06:23:25 +10:00
Campbell Barton
9c7195789d Merge branch 'master' into blender2.8 2018-09-08 06:03:29 +10:00
Campbell Barton
59eaa90300 Cleanup: move area API into own function 2018-09-08 05:59:28 +10:00
Antonioya
d9083212d6 GP: Replace hide icon in materials
Now the layers and materials icons are consistent.
2018-09-07 15:53:01 +02:00
Sergey Sharybin
2f3311ed30 Depsgraph: Cleanup, naming
If something is a list of data, it is to be called list, and data
is to be called data. No need to call list a data and data a weird
two letter abbreviation.

Clarity is our friend!
2018-09-07 15:10:24 +02:00
Dalai Felinto
d85ff86f7e Codestyle cleanup: uvedit_smart_stitch.c 2018-09-07 07:18:29 -03:00
Alan
601fd9683c Multi-Objects: UV_OT_stitch
Reviewers: dfelinto
https://developer.blender.org/D3645
2018-09-07 07:08:12 -03:00
Sergey Sharybin
db259e0889 Silence warning in release mode 2018-09-07 11:55:55 +02:00
Sergey Sharybin
dfeff72af7 Subdiv: Add ptex offsets to a subdiv structure
This is something what we need to know quite often from various places.
Added it as a cached value in Subdiv itself, so it can be queried easily
from any area.

Shouldn't be a problem from memory usage point of view, it's 4MB per
1M faces coarse mesh. This is very low percentage of mesh itself, and
even lower percentage of highres subdivided mesh.
2018-09-07 11:54:20 +02:00
Sergey Sharybin
cbab3e1e90 Cleanup: Unused undef
That symbol is never defined.
2018-09-07 11:04:54 +02:00
Antonioya
9c12f58908 GP: Fix unreported crash when use Alt key in Surface draw 2018-09-07 09:29:33 +02:00
Campbell Barton
49fa58e330 Gizmo: fix extrude handles
Only use the 2D selection function when 3D selection isn't defined.

Regression from e18a2c4ed7
2018-09-07 16:36:02 +10:00
Campbell Barton
066afa2198 Fix T56707: Assert changing grease pencil modes 2018-09-07 13:41:31 +10:00
Campbell Barton
ee6b95f7e0 UI: move toolbar arrow closer to button edge
Could overlap icons.
2018-09-07 12:21:24 +10:00
Campbell Barton
77c0a7e1d5 Fix missing line width for helper line drawing
Also scale by pixel size.
2018-09-07 11:35:33 +10:00
Campbell Barton
5940ea11ce Merge branch 'master' into blender2.8 2018-09-07 11:27:18 +10:00
Campbell Barton
7be3378d16 Fix normal transform orientation calculation
When using the 'normal' orientation, the normal would be ignored
if the plane couldn't be calculated.

Now use only the normal if the plane is zero length,
this was already done, just not in all cases.
2018-09-07 11:25:54 +10:00
Campbell Barton
d49cbe1936 Fix own error in changes to transform logic
Regression in 3c8e4e4180
2018-09-07 11:02:15 +10:00
Brecht Van Lommel
3733c52985 Merge branch 'master' into blender2.8 2018-09-06 20:11:18 +02:00
Brecht Van Lommel
d1ab109619 Fix T56698: saving render result from compositing as EXR is empty. 2018-09-06 17:46:34 +02:00
Brecht Van Lommel
90ea5c543a Fix T56643: crash drag & dropping ID onto a text field. 2018-09-06 17:35:16 +02:00
Brecht Van Lommel
310e396b51 Cleanup: remove unused Blender Internal preview.blend. 2018-09-06 17:16:11 +02:00
Sebastian Parborg
329b4c3363 Fix T54329: brush texture preview not working.
With the removal of blender internal, the texture preview had to be
rewritten. Now we evaluate and write the texture directly to the
preview buffer instead of going through the renderer.

Differential Revision: https://developer.blender.org/D3670
2018-09-06 17:10:54 +02:00
Clément Foucault
5a134910b1 Fix T56705: Z axis do not displays in side views 2018-09-06 15:00:44 +02:00
Clément Foucault
b2d82d096a Fix T56706: Lattice crash when enter in edit mode 2018-09-06 15:00:44 +02:00
Dalai Felinto
5ff15a1777 Multi-Objects: orthographic support for UV project
D3375 by @Al

I did a few changes before the commit:
* Initialize flot arrays with {0} instead of memset(foo, 0, sizeof(foo)).
* Use add_v4_v4 instead of for loop.
* Rename uv_map_rotation_matrix_w_offset > uv_map_rotation_matrix_ex.

bjects: orthographic support for UV project
2018-09-06 09:26:53 -03:00
Antonioya
ed7048ee05 GP: Add multiframe support to vertex group operators
Before, the operators only worked in the current frame
2018-09-06 13:37:56 +02:00
Brecht Van Lommel
e0a4dc6a79 UI / Python: rename X-Ray to In Front, Draw to Display.
See T56648.
2018-09-06 13:26:46 +02:00
Campbell Barton
1450a37555 CMake: add missing headers 2018-09-06 21:23:25 +10:00
Campbell Barton
c89791ba78 Multi object support for UV live unwrap
D3658 by @Al
2018-09-06 20:49:31 +10:00
Brecht Van Lommel
f1c8c25a3e UI: rename Translate/Grab to Move in UI, shortcuts stay the same. 2018-09-06 12:22:09 +02:00
Brecht Van Lommel
32ef77bf0a UI: change default modifier name from Subsurf to Subdivision. 2018-09-06 11:49:26 +02:00