Sergey Sharybin
c2fe75bf26
Merge branch 'master' into blender2.8
2018-05-04 11:53:52 +02:00
Sergey Sharybin
d1be30f779
Fix T54935: Particle group instances don't render when hidden in viewport
...
Seems to be only related on linked nature of particles.
This is caused by some conflicting optimization done for viewport, which
does not do particles re-calculation if they do not depend on time
(which is crucial for big layout scene grass fields) and particle render
setting switch which was relying on fact that render pipeline will do
particle update via time dependency.
Now we extent an old workaround for invisible objects, which now also
deals with particles in the same way as old dependency graph was dealing
with this: tag object data for update if there is particle system.
There shouldn't be any speed difference between old and new depsgraph,
since tagging was already needed and was happening.
In Blender 2.8 such things should be easier to deal with since the whole
depsgraph is to be evaluated for render engine anyway.
2018-05-04 11:40:27 +02:00
Philipp Oeser
52aa1f3c6c
Merge branch 'master' into blender2.8
2018-05-04 10:32:35 +02:00
Campbell Barton
bf52d20e62
Modifiers: add back dirty normal flag
2018-05-04 10:05:57 +02:00
Philipp Oeser
288d7794d4
Fix T54341: Particle Instance Modifier doesn't preserve edge data
2018-05-04 09:20:57 +02:00
Campbell Barton
bdd5617c54
Cleanup: avoid local definitions for one-off args
2018-05-04 09:04:33 +02:00
Campbell Barton
14883a0945
Cleanup: avoid local definitions for one-off args
2018-05-04 08:51:04 +02:00
Campbell Barton
29fc9275c7
Modifiers: ported wire modifier to mesh
2018-05-04 08:45:43 +02:00
Campbell Barton
352aea6b0d
Merge branch 'master' into blender2.8
2018-05-04 08:39:43 +02:00
Campbell Barton
75b310f489
Fix wireframe modifier w/ even offset
...
Was passing non-normalized axis to angle_on_axis.
2018-05-04 08:38:01 +02:00
Campbell Barton
eeab3563d7
Merge branch 'master' into blender2.8
2018-05-04 08:02:11 +02:00
Campbell Barton
c7cfee04c4
Logging: setting log level wasn't working
2018-05-04 08:00:22 +02:00
Campbell Barton
b3545ae373
Merge branch 'master' into blender2.8
2018-05-04 07:30:14 +02:00
Campbell Barton
f3c5b0394f
IDProp API: expose repr utility function
...
Useful for logging properties passed to operators.
2018-05-04 07:29:05 +02:00
Germano
892dd3d069
Merge branch 'master' into blender2.8
2018-05-03 18:47:14 -03:00
Germano
16253285ff
BKE: BVHtree: make bvhtree_from_mesh_edges a static function.
...
This will help us have more control over bvhtrees that are cached.
2018-05-03 18:33:16 -03:00
Germano
133dadcdee
Fix Transfer Mesh Data with Edge Mapping of type Projected Edge Interpolated and Ray Radius other than 0.0.
...
`MREMAP_RAYCAST_APPROXIMATE_BVHEPSILON(ray_radius)` greatly increased the radius making for example that 0.1 becoming 1.5
Now the result is much more predictable.
2018-05-03 18:19:36 -03:00
Dalai Felinto
e245f7c09c
Edit-Mesh: multi-object un-subdivide
2018-05-03 21:56:59 +02:00
Dalai Felinto
66ffbf9b7d
Edit-Mesh: multi-object edge rotate
2018-05-03 21:44:53 +02:00
Dalai Felinto
09e14cb5bc
Edit-Mesh: multi-object dissolve limited
2018-05-03 21:00:03 +02:00
Germano
32c620b0d6
Merge branch 'master' into blender2.8
2018-05-03 15:54:26 -03:00
Germano
7915cc7ddb
Particle Edit: Shape Cut: Create and use bvhtree with AABB hull.
...
This bvhtree is only used for raycast. Currently the raycast does not benefit from general hull.
2018-05-03 15:52:09 -03:00
Germano
98ecdc4896
Dynamic Paint: Create and use bvhtree with AABB hull.
...
This bvhtree is only used for raycast and find_nearest which currently do not benefit from general hull.
2018-05-03 15:50:48 -03:00
Campbell Barton
5760c6b25c
Merge branch 'master' into blender2.8
2018-05-03 20:24:44 +02:00
Campbell Barton
0f217de403
Fix T54927: BMesh Py error w/ select history slice
2018-05-03 20:23:32 +02:00
Campbell Barton
2cdbbfcc5a
Merge branch 'master' into blender2.8
2018-05-03 19:53:19 +02:00
Campbell Barton
38b6f8e143
Cleanup: correct solidify logic
...
Code for side normals isn't executing at the moment,
so not essential, but better correct it.
2018-05-03 19:48:28 +02:00
Campbell Barton
5e225ddb21
Cleanup: parentheses warning
2018-05-03 19:37:20 +02:00
Germano
a9d264f5ca
Merge branch 'master' into blender2.8
2018-05-03 14:33:52 -03:00
Germano
ac19483e63
BKE bvhtree: Add tree_type parameter to bvhtree_from_mesh_get.
...
This will allow greater control of the bvhtrees that are obtained, and helps identify problems.
It is also an additional step to unify the functions.
2018-05-03 14:26:39 -03:00
Joshua Leung
20185a8681
Cleanup "Sync Mode" (i.e. Av Sync/Framedropping) stuff
...
* Remove the "sync_mode" dropdown from timeline header, and move it into
the Playback menu instead.
* Remove the confusing "Frame Dropping" and "AV Sync" entries from the
Playback menu. These were supposed to be mutually exclusive (or else,
the "sync_mode" menu would break).
* Turn AV Sync on by default
* Commented out the Frame Dropping and Av Sync RNA Properties too.
THere doesn't seem to be any valid reason for these to exist?
2018-05-03 18:50:53 +02:00
Joshua Leung
8c49e6f99e
Multi-Object Pose: Fix POSE_OT_flip_names
2018-05-03 18:04:29 +02:00
Campbell Barton
656d6f47b9
Fix 3D cursor being hidden on existing 2.8 files
...
Flip logic for the flag avoids versioning code.
2018-05-03 18:02:13 +02:00
Sergey Sharybin
7d61803640
Sculpt: Fix crash when using grab brush
...
Was wrong paint structure deducted from context.
Test plan:
With default cube, go to sculpt mode, switch to grab brush
and try to sculpt.
2018-05-03 17:42:46 +02:00
Brecht Van Lommel
e684e0ec95
Cleanup: fix warnings, removed unused code.
2018-05-03 16:33:12 +02:00
Sergey Sharybin
bb92edd1c8
Depsgraph: Keep edit bones around, fixes missing edit mode with copy on write
2018-05-03 16:23:16 +02:00
Dalai Felinto
14f2a1c8e8
Fix T54805: Bones are white in edit mode
2018-05-03 16:19:55 +02:00
Sergey Sharybin
d8b43a8066
Depsgraph: Make sure evaluated pose channels are pointing to evaluated bones
2018-05-03 16:11:07 +02:00
Clément Foucault
a06b0d29aa
Eevee: Shadows: Perf: Do not update shadows that are not inside the view.
2018-05-03 16:08:14 +02:00
Clément Foucault
ffca77814e
DRW: Add plane culling test.
...
Usefull to see if the view frustum is totally behind a plane.
2018-05-03 16:08:14 +02:00
Clément Foucault
4d0b6652cf
DRW: Silence unused function warning in release.
2018-05-03 16:08:14 +02:00
Bastien Montagne
b2b9efbe6d
Merge branch 'master' into blender2.8
2018-05-03 16:01:43 +02:00
Bastien Montagne
a5d0597b92
Fix tooltip for constraints' subtarget.
...
Thanks @aligorith for the head-up.
2018-05-03 16:00:34 +02:00
Jeroen Bakker
0b1c673e14
Workbench: selection method for studio lighting
2018-05-03 15:33:13 +02:00
Jeroen Bakker
2bf333b35d
Workbench: studiolight
2018-05-03 15:31:03 +02:00
Joshua Leung
8a2d2f1bb4
Fix: Tag armature for copy on write when selecting bones, so active bone gets updated
...
Note: This still needs some copy-on-write magic to get the bone pointers
to get remapped properly (e.g. evaluated pose still refers to original
arm->bones, and arm->act_bone isn't getting remapped).
2018-05-03 15:18:39 +02:00
Bastien Montagne
a086f61df7
Merge branch 'master' into blender2.8
2018-05-03 15:02:05 +02:00
Bastien Montagne
53c43259ad
Cleanup: factorize RNA constraint targets definition.
...
No expected changes in behavior from that commit!
2018-05-03 15:00:12 +02:00
Campbell Barton
dced0518d9
Fix crash selecting envelope bone joint
2018-05-03 14:51:29 +02:00
Sergey Sharybin
057e00e649
Render preview: Assign proper depsgraph for icon preview
...
Wondering why it only was visible when running without copy on write.
2018-05-03 14:25:29 +02:00