Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-07Fix T69246: Outliner - Objects Filter Selected, Hidden and Active notPhilipp Oeser
working properly 'outliner_extract_children_from_subtree()' (introduced in rB40a1c671655c) was extracting the children of non-matching parents regardless of their own matching state. Now properly filter the subtree prior to extracting. Maniphest Tasks: T69246 Differential Revision: https://developer.blender.org/D6517
2020-01-07GPencil: Remove is_annotation parameterAntonio Vazquez
Now, the name of the operator is used.
2020-01-07Annotations: Split annotation operators and pointer functionsAntonio Vazquez
This allows to have annotation panels and grease pencil object panel at the same time. Differential Revision: https://developer.blender.org/D6467
2020-01-07Fix T72499: UV Editor : Selection tools don't deselect when dragging on an ↵Philipp Oeser
empty space [face selection] If pre-deselecting takes place, then flushing was not happening ('changed' never became true because no new faces were being selected). This rectifies the logic. (also removed redundant double initialization to false) Maniphest Tasks: T72499 Differential Revision: https://developer.blender.org/D6459
2020-01-07BMesh: remove BMEditMesh.ob pointerCampbell Barton
Remove this pointer since it's linking Mesh data back to the object, where a single edit-mesh may have multiple object users, causing incorrect assumptions in the code. Resolves dangling pointer part of the T72667 crash, although there are other issues which still need to be fixed. In EDBM_op_finish and EDBM_update_generic, full Main lookups have been added which should be replaced with mesh argument or the update tagging moved elsewhere.
2020-01-07BMesh: remove BMEditMesh.ob use for ED_transform_snap_object_* APICampbell Barton
2020-01-07BMesh: remove BMEditMesh.ob use for ED_mesh_mirror_* APICampbell Barton
2020-01-07BMesh: remove BMEditMesh.ob use for select mirrorCampbell Barton
2020-01-07BMesh: remove BMEditMesh.ob use for undoCampbell Barton
2020-01-07BMesh: remove BMEditMesh.ob use BKE_editmesh_lnorspace_* APICampbell Barton
Note that this is a bit clumsy having both edit-mesh and mesh, BKE_editmesh_ensure_autosmooth & BKE_editmesh_lnorspace_update are often called together, these could be made into a single functions.
2020-01-07BMesh: remove BMEditMesh.ob use for draw managerCampbell Barton
2020-01-07BMesh: remove BMEditMesh.ob use for vert coord access, projectionCampbell Barton
2020-01-07BMesh: remove BMEditMesh.ob use for BevelCampbell Barton
The pointer is causing issues since two objects can share an edit-mesh, removing in stages, see T72848. Also fixes the material index being clamped by every object.
2020-01-06Fix T70821: Hair Radius Is Actually Hair DiameterWilliam Reynish
Renamed hair tip and root properties to be called diameter rather than radius. The old name was incorrect.
2020-01-06Fix T72700: Missing flush vert visibility on sculpt undoPablo Dobarro
This was caused by a missing call to BKE_mesh_flush_hidden_from_verts() when a SCULP_UNDO_HIDDEN undo step is processed. Reviewed By: jbakker Maniphest Tasks: T72700 Differential Revision: https://developer.blender.org/D6488
2020-01-06BM_mesh_intersect: Match the mesh in Debug build with Releasemano-wii
Prevents regression in unit tests.
2020-01-06Fix/Cleanup invalid call to blendfile reading in UNDO_DISK.Bastien Montagne
Currently harmless since undo to disk is disabled, but that is not a good reason to have invalid code.
2020-01-06Fix BKE_mesh_validate_arrays invalidating face selectionmano-wii
Use `totpoly` instead of `totface`. The original code was written for non-bmesh case and likely missed this update.
2020-01-06Gizmo: match UV editor gizmos more closely to the 3D viewCampbell Barton
2020-01-06Cleanup: remove unused 2D arrow gizmoCampbell Barton
It's simpler to support a single gizmo type for 2D/3D.
2020-01-06Gizmo: support 3D arrow gizmos in 2D spacesCampbell Barton
Allows 2D arrows to be removed, since they work slightly differently and don't support offset matrices. Use these in the UV editor.
2020-01-06Gizmo: use compatible scale values between 2D/3D gizmosCampbell Barton
Make the UV editor gizmos the same size as the 3D view.
2020-01-06Fix T72902: Whiskey Lake supportJeroen Bakker
Users reported that Whiskey lake has the same issue as other intel platforms where an extra glFlush is needed. This change will add Whiskey Lake to that exception. Patch provided by Philip Luk
2020-01-06USD Exporter: removed from experimental featuresSybren A. Stüvel
There were two reasons the USD Exporter was listed as experimental: - Originally there was no deduplication of mesh normals & UV coordinates (resolved in rBf5e00f735106b5ec635806a4c795a2bc46ae8369), and - the way materials were exported was incompatible with instancing with USD 19.07. This seems to be resolved with the current version of USD (19.11). Blender (more specifically, `makesdna`) doesn't seem to like empty DNA structs, so I couldn't remove all properties from `UserDef_Experimental`. Instead I have just kept `char _pad0[8]`. Reviewed by: campbellbarton Differential Revision: https://developer.blender.org/D6519
2020-01-06Fix crash opening specific filesSergey Sharybin
For some reason socket flag and actual presence of link got out of sync. Check for link to be present prior to access it. Fixes crash opening file from T48684.
2020-01-06Depsgraph: Fix wrong ID filteringSergey Sharybin
Was only using first ID instead of all of them. Might have been causing issues when updating motion paths of multiple objects. Spotted by Jack C, thanks!
2020-01-05Fix (unreported) critical mistake in Node copying code.Maxim Vasiliev
Nice reversed-logic mistake in rB693721cc7e7d. How this could remain unnoticed for almost one year is fairly mysterious, this should have basically broke all node tree copying, would expect such bug to get reported within days, weeks at most... Probably because that function is not that much used in current code. Nice reminder also that those bloody nodetrees still need a lot of cleanup/refactor/simplification when it comes to ID management code. Reported/fixed as part of D6484, but this really needs its own commit.
2020-01-05Edit Mesh: Use multithreading in other parts of Auto Merge & Splitmano-wii
In the Auto Merge & Split feature, multithreading was only used to find duplicates between vertex and another vertex. But with this patch, multithreading is now used to find intersections etween edge and edge and between edge and vertex. In my tests I noticed a performance improvement of around 180% (0.017151 secs to 0.009373 secs) Differential Revision: https://developer.blender.org/D6528
2020-01-05Fix T72682: Regression when moving markers while holding ctrlJacques Lucke
In 2.79 when moving a marker with `G` while holding `ctrl` the marker would snap to one-second movements. This was (probably accidentally) removed when the Timeline Editor was removed in rB5374865523faf253. Reviewers: mano-wii Differential Revision: https://developer.blender.org/D6527
2020-01-05Fix T72423: Incorrect tooltips in curve profile layoutJacques Lucke
2020-01-05GPencil: Add missing update in previous commit of task T72897Antonio Vazquez
2020-01-05Cleanup: warningCampbell Barton
2020-01-05Fix T72897: Move Channels operator moves Grease Pencil Layers wronglyAntonio Vazquez
This operator was pending of fix.
2020-01-04BLI_kdopbvh: Deduplicate codemano-wii
No need to create different callbacks for `BLI_task_parallel_range`, these callbacks are called a few times.
2020-01-04BLI_bvhtree_overlap does not work multithreadedmano-wii
`BLI_task_parallel_range` counts the number of tasks depending on the number of items. In the case of `BLI_bvhtree_overlap` the number of items is always between 2 and 16, which makes it always run in single thread. So, set the maximum number of items per thread to 1. In my tests the cloth collision system (which calls that function) went from 0.80fps to 0.88fps. Differential Revision: https://developer.blender.org/D6523
2020-01-04BLI_bvhtree_overlap: Don't use BLI_task API when not neededmano-wii
No functional change.
2020-01-04BLI_bvhtree_overlap: Fix wrong count of child nodesmano-wii
As you can see, here is testing the "children" of `node1`. So bvhtree is `tree1`. This problem has never been observed because usually `tree_type` of `tree1` equals `tree_type` of `tree2`.
2020-01-04BLI_bvhtree_overlap: Make sure the number of nodes matches the number of threadsmano-wii
2020-01-04Edit Mesh: Multithread support for Auto Merge & Splitmano-wii
Also collapsed edges are no longer used in the overlap test. This greatly improves peformanse for cases where the distance tested is relatively large.
2020-01-04BLI_bvhtree_overlap: Improve non-multithreaded usagemano-wii
Although not using multithreading, the `thread` parameter in the `BVHTree_OverlapCallback` callback always returned a value between the "number of threads". This parameter should always be 0 in such cases. Also a `BLI_Stack` was created for each "thread" and used. This small overhead is no longer seen. Differential Revision: https://developer.blender.org/D6510
2020-01-03Fix T71495: Some Textures with AnimData not visible in DopesheetSybren A. Stüvel
T71495 describes two problems with animation of textures not showing up in the dope sheet: 1. textures connected to force fields 2. textures of brushes This patch resolves the first case. An alternative would be to switch to iteration of dependencies using `BKE_library_foreach_ID_link()`. This is a good idea to do at some point, but adding these few lines was considerably easier & safer to do.
2020-01-03UI: scale region hide threshold by zoom levelCampbell Barton
Resolves issue were it wasn't possible to have a single column toolbar when zoomed out.
2020-01-03Fix gizmos flickering when resizing regionsCampbell Barton
2020-01-03Fix toolbar flickering on resize, inability to hideCampbell Barton
2020-01-03UI: Improve toolbar width snappingHarley Acheson
Allow narrower toolbar before snapping to two column layout.
2020-01-03Tool System: enable fallback tool by defaultCampbell Barton
This defaults to selection when not using a gizmo. The previous behavior to drag anywhere can be set in the tool settings or by selecting the fallback tool (Alt-W). See: T66304
2020-01-03Tool System: store the fallback tool for re-useCampbell Barton
The fallback tool was run-time only data, now it's stored in the blend file.
2020-01-02Fix T57111: Particle texture keyframes missing from Graph EditorSybren A. Stüvel
The entire particle system was skipped when the particle system itself did not have any animation data. This caused the animation data on the texture to be skipped.
2020-01-02Fix T72821: Crash when IOD is removed from post-update callbackSergey Sharybin
IDs recalc clear flag was accessing freed memory. There is more detailed comment about solution in the code.
2020-01-02Transform: Pose: Partial support for Auto IK + X-Mirrormano-wii
Fix T69572 TODO: support `Relative-Mirror` as well. Maniphest Tasks: T69572 Differential Revision: https://developer.blender.org/D5862