80162 Commits

Author SHA1 Message Date
Dalai Felinto
c0b61cf64b Silence GP warning 2018-09-10 11:40:27 -03:00
Brecht Van Lommel
d483dfd03d Fix T56717: crash removing/adding objects.
Object bases hash always needs to be freed on library remapping.
2018-09-10 16:09:52 +02:00
Antonioya
b2865560a8 GP: Cleanup commented lines 2018-09-10 16:08:55 +02:00
Antonioya
5e89d1d96c GP: Remove annotation stroke mode
This option has not been working since a lot of time and it looks is unused. When we confirm is not used, we can remove it completely.
2018-09-10 16:08:55 +02:00
Dalai Felinto
58622eb3a6 Image/UV Editor: Remove show other option
This is no longer useful now that we have multi-object editing support.
2018-09-10 10:43:30 -03:00
Antonioya
0ee212682e GP: Use correct name for new Stroke object
To follow Blender standards, the name of the new primitive stroke must be different of blank object.

Also changed the default orientation of Suzanne 2D to use the same as other objects (not aligned by default)
2018-09-10 15:29:22 +02:00
Sergey Sharybin
0284392c48 Cleanup: More variables unused in release 2018-09-10 09:56:14 +02:00
Sergey Sharybin
ad713dc457 Cleanup: Warning in release builds 2018-09-10 09:50:50 +02:00
Campbell Barton
c30e12455b Correct argument type 2018-09-10 17:45:54 +10:00
Campbell Barton
18dc84dc35 Poly Build: disable use_boundary_tear
Without this, it's more like deleting the vertex than dissolving.
2018-09-10 17:35:03 +10:00
Campbell Barton
7283179a00 Poly Build: dissolve was using selection, not highlighted
Also no need to clear selection history,
BM_mesh_elem_hflag_disable_all handles this.
2018-09-10 17:29:24 +10:00
Campbell Barton
5b39b83af4 Poly Build: set newly added elements active 2018-09-10 16:24:38 +10:00
Campbell Barton
a4d126cac6 Cleanup: use title caps 2018-09-10 16:14:26 +10:00
Campbell Barton
549ac6ddeb Edit Mesh: pass Base array to picking functions
In some cases we need to use this array afterwards,
so this gives control over which objects are used for picking.

Also use an index argument as return argument
so callers that need to know the index in the array
don't need to calculate it afterwards.
2018-09-10 16:02:12 +10:00
Campbell Barton
fc06bd7236 Cleanup: use 'mesh' in preselect identifiers
We may have preselection for other types later.
2018-09-10 14:44:15 +10:00
Campbell Barton
0c2001e5ef Missing from last commit 2018-09-10 14:40:12 +10:00
Campbell Barton
a331b5dde6 Cleanup: rename edge-ring preselect file
Having all pre-selection in one file isn't so nice,
differentiate edge-ring from element pre-selection.
2018-09-10 14:38:13 +10:00
Campbell Barton
20634fd433 Tool System: use preselect highlight w/ poly-build
- Poly build now uses a new gizmo for pre-selection
  which has the same behavior as loop-cut.

  This replaces hack where mouse-move set the active element
  which was no longer working properly because of missing
  depsgraph updates.

- Multi-object support for poly-build.

- Support for deformed cage.

- Fix error where changing active object wasn't properly
  refreshing the preselect gizmo (for loopcut too).

Currently holding Alt to select non-boundary element's isn't working.
2018-09-10 14:35:04 +10:00
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
73e9ae608c Merge branch 'master' into blender2.8
Conflicts:
	source/blender/blenkernel/intern/lattice.c
2018-09-08 15:32: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
b8ac2379eb Cleanup: remove redundant assignment 2018-09-08 07:29:15 +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
5e942f459f UI: Disable popup for object mode delete from menu
Since there are no options to change, delete immediately.
2018-09-08 06:56:48 +10:00
Campbell Barton
570b328fac Cleanup: Update shortcut in comment 2018-09-08 06:54:03 +10:00
Campbell Barton
9c441dcd73 Gizmo: update template to use matrix multiply 2018-09-08 06:51:02 +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
Bastien Montagne
e2fc6615c4 Merge branch 'master' into blender2.8 2018-09-07 20:41:27 +02:00
Bastien Montagne
639a916f12 Install_deps: fix llvm/clang ARCH package names.
Issue raised in T56540, thanks.

Also tried to re-enable using fedora's llvm/clang packages, would hope
and assume old issue here is fixed.
2018-09-07 20:39:42 +02:00
Bastien Montagne
2659f3be13 Merge branch 'master' into blender2.8 2018-09-07 20:32:41 +02:00
Bastien Montagne
98323160d2 Install_deps: Fix wrong URL for ILMBase/OpenEXR source archives.
They also went to github...
2018-09-07 20:31:50 +02:00
Bastien Montagne
b75ebd0877 Merge branch 'master' into blender2.8 2018-09-07 20:22:57 +02:00
Bastien Montagne
1d0e15c911 Install_deps: Fix building python on fedora 28
Looks like libffi is now a dependency of python as well...

Done it for the other distro as well, just in case. ;)
2018-09-07 20:21:57 +02:00