6934b246d1
Cleanup: Inetnation
2018-09-21 15:35:34 +02:00
5ee0200d43
Multires: Support masks propagation to higher levels
2018-09-21 15:31:44 +02:00
cec4c77719
Multires: Copy mask from sculpt to multires
...
Allows to paint mask in sculpt mode, then go out of sculpt
mode, come back and see proper mask.
2018-09-21 15:31:43 +02:00
b32832a7e8
Subdiv: CCG, initialize grid mask from paint mask
2018-09-21 15:31:43 +02:00
da800621ed
Subdiv: CCG, cleanup
2018-09-21 15:31:43 +02:00
06dc059f48
Depsgraph: update frame in scene on frame change.
...
Normally the time can be read from DEG_get_ctime(depsgraph), but this is a
bit more forgiving for e.g. addons that don't care too much about the details
of the COW depsgraph.
2018-09-21 14:15:27 +02:00
4494be513a
Fix smoke to render in Cycles again.
...
Viewport caching seems still broken, though baking works.
2018-09-21 14:15:27 +02:00
b7035cb8bd
GP: Change canvas titles
...
These changes are to harmonize names.
2018-09-21 14:10:40 +02:00
cfb7565cd5
Cleanup: convert smoke modifier from DerivedMesh to Mesh.
2018-09-21 13:56:22 +02:00
9ecce9b4c4
Subdiv: Fix crash subdividing mesh withotu faces
2018-09-21 12:18:50 +02:00
12372e8d8b
Multires: Support sculpting on a lover levels
...
Added propagation of displacement to a higher levels.
Has the same limitation as reshape from object, which makes
grids somewhat choppy due to linear interpolation nature.
This is to be addressed next.
2018-09-21 11:43:42 +02:00
619c55027f
Multires: Fix reshaping from object at lower level
...
This brings basic implementation of displacement propagation
to a higher levels. Currently does linear interpolation between
grid points at which reshape happened. It makes results a bit
choppy, proper solution would be to use some interpolation
weights from the limit patch.
2018-09-21 11:24:33 +02:00
495c7463fc
UI: fractional DPI scaling of splash, instead of always 1x or 2x.
2018-09-21 10:46:08 +02:00
c71db48b27
Fix minor typo in comment.
2018-09-21 10:08:42 +02:00
cf34c165ea
GP: Convert lock axis to popover
2018-09-21 08:51:25 +02:00
391536ef12
Fix missing edge in shape-to-wire utility
2018-09-21 16:09:32 +10:00
7a3474ddfd
Gizmo: spin tool XYZ axis toggles
...
New handle type for initial spin,
gives clear differentiation between do & redo (similar to extrude).
Some tweaks still required to match T56571.
2018-09-21 13:48:22 +10:00
3266ebf9e5
Gizmo: enable spin tool redo gizmos again
...
- Add x,y rotate and translate controls.
- Remove x-depth adjustment.
2018-09-21 13:34:29 +10:00
7deb38eec6
Gizmo: fix incorrect dial clip scaling
...
Failed with obvious error when the dials scale wasn't 1.0
2018-09-21 10:30:55 +10:00
5340e9ac1b
Merge branch 'master' into blender2.8
2018-09-21 08:18:23 +10:00
0a968510bf
Cleanup: style, use raw strings
2018-09-21 08:15:46 +10:00
08c7733c13
Cleanup: style
2018-09-21 08:11:50 +10:00
Dalai Felinto
fb88088203
Preserve the actively bound framebuffer after using gpu.offscreen
...
Otherwise we cannot draw anything after drawing in the offscreen buffer
2018-09-20 21:43:08 +00:00
5e2c032f1a
GP: Change lock axis property text
2018-09-20 22:51:56 +02:00
Dalai Felinto
425cfdd5be
GPU Python API: shader.uniform_float
...
The existing alternative is to use a buffer and call
uniform_vector_float which is overkill for such a simple operation.
2018-09-20 19:51:06 +00:00
Dalai Felinto
e316e41f84
Typo on pydoc for uniform_int
2018-09-20 19:49:08 +00:00
f0149bc070
gpu.batch module: keep shader reference in batch.
2018-09-20 16:38:43 -03:00
9fb9604c19
gpu.shader module: Do not free builtin shaders.
2018-09-20 15:21:59 -03:00
Sebastian Parborg
d0eed5e50a
Texture Paint: unify missing data and slots panels, better auto position nodes.
...
Differential Revision: https://developer.blender.org/D3694
2018-09-20 19:54:33 +02:00
1a0181bb6d
UI: add support for defining any icon as a mono icon.
...
Previously it was hardcoded to one row. These icons are colored with the
text color. Changes include some refactoring.
2018-09-20 19:15:41 +02:00
decc323b4e
UI: default to single icon column toolbar in new 3D views.
2018-09-20 19:15:01 +02:00
9c2dc808ce
gpu.shader.builtin module: Add GPU_SHADER_2D_IMAGE.
2018-09-20 13:55:43 -03:00
b8d55a570e
GPUCodegen: Remove unnecessary GLEW_VERSION_3_0 checks
2018-09-20 17:53:47 +02:00
667add5fc5
Eevee: Implement Wireframe Node
...
This implementation is a bit hacky but match cycles pretty close.
If pixel size is not enabled, it will use the geom shader to
compute distances between vertices. This will have a cost.
Implementation is a bit hacky in gpu_codegen to make the geom shader works
in an optional manner.
2018-09-20 17:53:47 +02:00
5c20161f81
Fix compilation error in the stick bones shader for some Intel gpus.
2018-09-20 12:11:23 -03:00
Dalai Felinto
cffae36381
Fix build for MSVC: Remove trailing double semicolon
...
Not sure why but MSVC is complaining for some of those.
In particular for the struct in BKE_subdiv_ccg.h. Those were the ones
crashing here..
2018-09-20 14:59:55 +00:00
9a91e67825
Multires: Cleanup, more proper variable name
2018-09-20 16:35:50 +02:00
315929e095
Sculpt: Fix undo not working for multires
2018-09-20 15:39:41 +02:00
00037059e9
Subdiv: CCG, implement averaging along edges and corners
...
Makes it so smooth brush works properly, without causing grids
to become disconnected from each other.
This need to optimize the code for brush, to only average edges
and vertices which are adjacent to modified faces.
2018-09-20 15:39:41 +02:00
d3aafbddd9
Subdiv: CCG, store vertex adjacency information
...
Similar to previous commit, but for vertices.
2018-09-20 15:39:41 +02:00
d511c72056
Subdiv: CCG, store edge adjacency information
...
This information is stored for each non-loose edge.
For each of such edge we store:
- List of CCG faces it is adjacent to.
This way we can easily check whether it is adjacent to
any face which is tagged for update or so.
- List of boundary elements from adjacent grids.
This allows to traverse along the edge and average all
adjacent grids.
2018-09-20 15:39:41 +02:00
069fa8279d
Subdiv: CCG, fix memory leak
...
Forgot to free memory used by grid to face mapping array.
2018-09-20 15:39:41 +02:00
13820ec5c1
Subdiv: CCG, fix crash going from sculpt to edit mode
...
Was happening for "new" objects, which did not have MDisps
allocated yet.
2018-09-20 15:39:41 +02:00
0a596eda2a
Subdiv: CCG, localize Mesh usage even more
2018-09-20 15:39:41 +02:00
6a7e914476
Subdiv: CCG, go away from Mesh
...
Use topology refiner where possible, which will make code more
portable and less dependent on all the possibly outdated pointers.
2018-09-20 15:39:41 +02:00
a5d985b441
Merge branch 'master' into blender2.8
2018-09-20 15:39:20 +02:00
87ad27ca89
Sculpt: Fix memory leak in undo system
...
Was not freeing undo nodes themselves.
2018-09-20 15:38:15 +02:00
de994d6b7b
GP: Fix problem with mode opening 2D Animation template
...
The grease pencil does not need a toggle of mode.
This fix also the problem when open grease pencil files that did not keep the mode saved.
2018-09-20 13:47:59 +02:00
5bfcd6f303
GP: Fix falloff curve using 2D animation template
2018-09-20 13:10:56 +02:00
b9b371625d
GP: Fix template name typo error
2018-09-20 13:04:56 +02:00