Clément Foucault
e4ee9de638
GPU: Move gpu_shader.c to C++
...
We split builtin shader support to its own file to avoid
converting code (lack of designated initializer in C++)
and to reduce file size.
2020-07-29 15:03:02 +02:00
Clément Foucault
18d2db22ff
GPU: Move gpu_state.c to C++
2020-07-29 15:03:02 +02:00
Clément Foucault
45d61bdc03
GPU: Move gpu_texture.c to C++
...
# Conflicts:
# source/blender/gpu/GPU_texture.h
2020-07-29 15:03:02 +02:00
Clément Foucault
56d0a554a8
GPU: Move gpu_uniformbuffer.c to C++
...
This also rewrite and simplify the module a bit.
2020-07-29 15:03:02 +02:00
Clément Foucault
f84342d7e1
GPU: Move gpu_vertex_buffer.c to C++
2020-07-29 15:03:02 +02:00
Clément Foucault
959529d4b8
GPU: Move gpu_vertex_format.c to C++
2020-07-29 15:03:02 +02:00
Germano Cavalcante
18caaff149
Merge branch 'blender-v2.90-release'
2020-07-29 09:10:07 -03:00
Germano Cavalcante
84f7de432c
Fix T78826: Move constraint is not fully disabled
...
Caused by rB45f17e10ec50
2020-07-29 09:09:34 -03:00
Jacques Lucke
9c807325dd
Particles: rename Size attribute to Radius
...
Doing this change for consistency with the point cloud attributes.
2020-07-29 12:03:30 +02:00
Sebastián Barschkis
91150c9ef5
Workbench/Eeevee: Minor refactor in smoke draw function
...
More concise this way.
2020-07-29 11:22:35 +02:00
Antonio Vazquez
659db0592d
GPencil: Consider extrude point as last
...
Before, when extrude a point, the extruded point is considered as the first point of the stroke, but this was not logic.
Now, the extrude point is considered as last.
Related to T79313
2020-07-29 11:19:35 +02:00
Jacques Lucke
4cad74e589
Particles: add Size attribute
2020-07-29 10:05:27 +02:00
Brecht Van Lommel
3e82500509
Fix T79355: switch to texture paint workspace changes image in other workspaces
...
Only automatically change image in editor to follow texture paint editors and
workspaces that are visible.
2020-07-29 09:06:23 +02:00
Campbell Barton
7a07683060
Cleanup: rename uiBut.dt, uiBlock.dt to 'emboss'
...
Use 'emboss' instead of 'draw_type' as enum, layout & functions use
the term emboss.
This issue was noted by @Poulpator in D8414, as `dt` is also an
abbreviation for delta-time.
2020-07-29 12:05:27 +10:00
Campbell Barton
a3c6304a27
Cleanup: quiet possible comma misuse warning in feestyle PyAPI
2020-07-29 11:00:32 +10:00
Campbell Barton
1e76441dd6
Clanup: unused return
2020-07-29 10:50:43 +10:00
Campbell Barton
dcad6c9db8
Cleanup: correct assert in GPU_offscreen_read_pixels
2020-07-29 10:50:31 +10:00
Campbell Barton
ac6fbf6ba8
Cleanup: declare static variables
2020-07-29 10:50:10 +10:00
Campbell Barton
012ed9ca9f
Fix incorrect flag check in overlay relationship lines
2020-07-29 10:45:53 +10:00
nutti
0f075c25c4
Docs: add translation keyword argument default for msgctxt
2020-07-29 10:01:42 +10:00
nutti
55c6cc46b5
Fix RST syntax for freestyle documentation
2020-07-29 09:49:08 +10:00
Hans Goudey
7dfc2f5137
Cleanup: Doxygen sections, comment formatting
2020-07-28 17:20:41 -04:00
Jacques Lucke
a0bc3596f0
Cleanup: class -> struct
2020-07-28 20:56:45 +02:00
Jacques Lucke
cd3be9c46d
Cleanup: too small loop variable
2020-07-28 20:56:34 +02:00
Hans Goudey
c3f6227f30
Cleanup: Use bool instead of int
2020-07-28 14:24:25 -04:00
Antonio Vazquez
e5e97d0fe0
Merge branch 'blender-v2.90-release'
2020-07-28 18:46:38 +02:00
Antonio Vazquez
d8919d12f7
GPencil: Fix typo error in RIM VFX panel
...
The vertical axis must be named Y, not Z because it works in 2D space.
2020-07-28 18:46:22 +02:00
Jacques Lucke
814ca40c63
Merge branch 'blender-v2.90-release'
2020-07-28 16:37:01 +02:00
Bastien Montagne
fcf91bbf0d
Merge branch 'blender-v2.90-release'
2020-07-28 18:32:11 +02:00
Bastien Montagne
9c1da81a4c
Fix T54544: "Copy Materials to Selected" only works when materials are defined on the mesh.
...
Build a temp matarray storing materials from obdata and source object
(depending on slots 'allocation' of source object), and assign those to
targets.
Also remove limitation of 'using same obdata is forbidden', just never
edit obdata materials in that case...
Certainly not perfect, but already much better than existing code.
2020-07-28 18:31:51 +02:00
Brecht Van Lommel
cf243e0980
Merge branch 'blender-v2.90-release'
2020-07-28 17:56:26 +02:00
Brecht Van Lommel
5d88f8eba2
Fix T61607: OpenEXR files with less common RGB channels names not loaded
...
Previously there would have to be 3 channels R,G,B. Now also support cases
where there are fewer channels or other names like Red, AR and RA are used.
2020-07-28 17:55:37 +02:00
Brecht Van Lommel
556252f1fe
Fix T79067: Cycles panorama viewport render stretched after recent changes
2020-07-28 17:34:51 +02:00
Brecht Van Lommel
80539723b9
Fix T79219: Cycles NLM denoiser clean passes broken after recent changes
2020-07-28 17:34:44 +02:00
Jacques Lucke
67c33caeec
Fix: remove error in previous commit
2020-07-28 16:35:31 +02:00
Jacques Lucke
b274d18aec
Cleanup: correct usage of extern-C blocks in various places
...
This removes extern-C blocks around other includes and adds
such blocks for some headers that need them.
2020-07-28 16:33:43 +02:00
Antonio Vazquez
cbeb2e55ed
Merge branch 'blender-v2.90-release'
2020-07-28 16:24:53 +02:00
Antonio Vazquez
dcf7a05077
GPencil: Fix unreported missing strokes in interpolation
...
Sometimes the interpolated stroke was tagged and removed.
2020-07-28 16:23:45 +02:00
Patrick Mours
8fbed7f7f5
Merge branch 'blender-v2.90-release'
2020-07-28 15:46:09 +02:00
Patrick Mours
9ff7820f62
Fix T79259: OptiX render with fisheye camera is different to CUDA
...
The fisheye camera setup causes the edges of the image to not shoot primary rays. This was not
respected by OptiX because of an optimization that tried to reduce conditionals around trace calls.
Removing that does not seem to have an impact on performance anymore however and it fixes
the issue.
2020-07-28 15:45:46 +02:00
Germano Cavalcante
bc0b75ea37
Merge branch 'blender-v2.90-release'
2020-07-28 09:55:27 -03:00
Germano Cavalcante
5e232d7a0b
Fix bad 'Correct Face Attributes' behavior when extruding faces
...
A face must have area in order to be possible calculate interpolation weights.
The same to the reference UVs.
But the new faces created with the extrude operator, have no area (before moving).
The solution was to get the loop data from some neighbor face.
Differential Revision: https://developer.blender.org/D8278
2020-07-28 09:53:44 -03:00
Germano Cavalcante
6a689b5047
Transform: Correct Face Attributes: Option to merge attributes
...
Keeping face attributes connected is now optional.
Keeping UV's connected is useful for organic modeling, but bad for
architectural.
Differential Revision: https://developer.blender.org/D8360
2020-07-28 09:53:23 -03:00
Germano Cavalcante
47b82fc02f
Fix precision issues in 'interp_weights_poly_v2'
...
These precision issues were evident in corrected uvs when the option
`"Correct Face Attributes"` is enabled.
2020-07-28 09:53:07 -03:00
Bastien Montagne
26bc8f4935
Merge branch 'blender-v2.90-release'
2020-07-28 14:44:54 +02:00
Bastien Montagne
b99358315e
Fix T79180: Object disappears when scaled, set origin etc after applying smooth modifier.
...
Very dummy mistake in modifier code would generate invalid number
(divisions by zero)...
Should also be ported to 2.83.
2020-07-28 14:44:17 +02:00
Sybren A. Stüvel
76d489fe23
Bump minimum CMake version to 3.10
...
This bumps the minimally required CMake version from 3.5 to 3.10, as
discussed in D8405.
Since D7649 landed, there has been the `gtest_discover_tests()` call to
discover individual unit tests in `bin/tests/blender_test`. This
function was introduced in CMake 3.10.
Since there were no complaints about this incompatibility, I suspect
that a newer version is already in use by the majority of the
Blender-building people.
2020-07-28 14:17:13 +02:00
Campbell Barton
9d412a92f5
Cleanup: incorrect spelling of 'manhattan'
2020-07-28 22:06:44 +10:00
Campbell Barton
2a52c2d001
Cleanup: spelling, comments
2020-07-28 21:49:37 +10:00
Brecht Van Lommel
82c38a7df0
Fix T79067: Cycles panorama viewport render stretched after recent changes
2020-07-28 13:35:45 +02:00