April 6, 2021, 09:14 (GMT) |
Fix T86932: Curve: pick shortest path missing update of active point drawing For curves, we need to tag the curve ID_RECALC_COPY_ON_WRITE for batch cache update (same as in {rB24b2fe50f3ec}). Maniphest Tasks: T86932 Differential Revision: https://developer.blender.org/D10826 |
April 6, 2021, 09:06 (GMT) |
Fix T84623: Curve/Surface force not working in normal direction Tweaking e.g. a field strength would then not use the curve/surface normal anymore [but the object center instead]. If a curve has a forcefield with effector shape Curve (in code its shape is PFIELD_SHAPE_SURFACE then), it wil get a SurfaceModifier. Changing properties will free the SurfaceModifierData's bvhtree and mesh And these dont get copied along when doing the CoW copy, these are explicitly set to NULL. So this was also failing for meshes, not just curves. Without the mesh & bvhtree though, get_effector_data() will not set the EffectorData's normal correctly (it is closest_point_on_surface() which does this). And without the right EffectorData's normal, the effector will of course work unexpected. Going in and out of editmode made this work because that goes down this route: - BKE_object_handle_data_update - BKE_displist_make_curveTypes - do_makeDispListCurveTypes - curve_calc_modifiers_post -- BKE_mesh_new_nomain_from_curve_displist -- we then have our desired updated mesh from the curve -- this will also call the SurfaceModifiers deformVerts [which - given we have a valid mesh - will update the bvhtree properly] Also note that _animating_ the effector actually works, (have not done the deep dive why this works, assume the curve geometry is updated in this case) So, now just carefully tag the curve ID_RECALC_GEOMETRY in rna_FieldSettings_update for this specific case. Maniphest Tasks: T84623 Differential Revision: https://developer.blender.org/D10092 |
April 6, 2021, 08:27 (GMT) |
Cleanup: Resolve moving a temporary object prevents copy elision warning |
April 6, 2021, 08:22 (GMT) |
Cleanup: Explicitly mark method as overrided |
April 6, 2021, 07:57 (GMT) |
Fix T86175: Missing viewport update when toggling HDRI preview Caused by rB0f95f51361d7. Similar to T85515, T84717, T85543 and their related fixes. In this case, add missing shading notifier as in rB9274bd457a25. Reviewed By: brecht, lichtwerk Maniphest Tasks: T86175 Differential Revision: https://developer.blender.org/D10604 |
April 6, 2021, 06:40 (GMT) |
Merge branch 'master' into temp-compositor-single-threaded-operation |
April 6, 2021, 06:39 (GMT) |
Suppress compiler warning. |
April 6, 2021, 06:19 (GMT) |
Merge branch 'master' into temp-compositor-single-threaded-operation |
April 6, 2021, 05:04 (GMT) |
Geometry Nodes Curves: Small cleanup, remove debugging code |
April 6, 2021, 04:59 (GMT) |
Geometry Nodes Curves: Generate faces in Curve to Mesh node |
April 6, 2021, 04:59 (GMT) |
Fix T48167: Mesh select random factor is not accurate Selecting random percentage would not reliably guarantee the precise percentage of selected elements now randomize an index array instead and use the precise number of elements from this array. Note that this change has only been made to edit-mesh and should be applied to all random selection operators. |
April 6, 2021, 04:26 (GMT) |
Merge branch 'master' into temp_bmesh_multires |
April 6, 2021, 04:24 (GMT) |
Forgot to increase array size for data transfer modifier struct. |
April 6, 2021, 03:55 (GMT) |
Geometry Nodes Curves: Further clean up forward differencing function |
April 6, 2021, 03:47 (GMT) |
Cleanup: Vectorize bezier forward differencing It's a bit strange no one had done this already. This also solves the problem of `BKE_curve_forward_diff_bezier` always affecting one more points than you asked for, which was causing another problem. |
April 6, 2021, 03:08 (GMT) |
Fix T87187: Area.type & ui_type empty area access fails Reading Area.type & ui_type printed an error from `pyrna_enum_to_py` and returned an empty string. As empty is a valid value, include it in the property enum list. |
April 6, 2021, 02:08 (GMT) |
Disable delta compression, restore curve key packing. Delta compression is now disabled since it was using the chunks system which was removed. |
April 6, 2021, 01:49 (GMT) |
Add UI settings to better control BVH refits and delta compression |
April 6, 2021, 01:22 (GMT) |
Fix BVH::num_refits not being incremented. This was lost in the OptiX multi device support. |
April 6, 2021, 01:18 (GMT) |
Revert OptiX vertex copy optimization. This was failing for the multiple devices case as it is based on the device_pointer of the device_memory, which is not really a pointer when multiple devices are used, but an index in the actual device pointers map. Revert for now, until we have a nice solution. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021