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-08-17Fix T79757: Crash on prefetch when renaming stripsRichard Antalik
Original sequence lookup failed, becase name changed in another thread. Fix is same as 0471349c90df - stop prefetching before changing content of seqbase. I have covered more cases, and added assert so it is more obvious that issue is in lookup, and it shouldn't fail. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8592
2020-08-13Fix T79591: Liboverride: do not update overrides on missing linked data.Bastien Montagne
It makes no sense to generate/update overrides from missing (broken linked) reference data, just keep existing ones unchanged then.
2020-08-13Fix T79082: Softbody self-collision does not work on latticesJacques Lucke
Reviewers: zeddb Differential Revision: https://developer.blender.org/D8562
2020-08-13Cleanup: incorrect comment wrappingCampbell Barton
Missed this comment when updating fix for T77409.
2020-08-13Fix T77409: Crash showing vertex/face duplicators in edit-modeCampbell Barton
This was a regression in deaff945d0b9 which skips copying a mesh. Dupli-verts/faces were not updated to account for this. This supports iterating over edit-mesh vertices & faces, since falling back to a full copy (as we do in some places) will be slow while transforming geometry. This commit looks as if it would change behavior with orcos, since any edit-mesh deformation causes them to be assigned. However in practice there is no functional change, details in comments.
2020-08-13Cleanup: remove two sided face checkCampbell Barton
Two sided faces aren't supported and would cause many issues elsewhere.
2020-08-13Cleanup: use 'inst_ob' variable name for consistencyCampbell Barton
Dupli verts/faces named these arguments differently.
2020-08-13Cleanup: remove unused struct members from dupli-face/vertCampbell Barton
Replace the evaluated mesh with VertexDupliData.mvert since only vertices are used. This makes dupli-vert similar to how dupli-face was already working.
2020-08-13Cleanup: move mesh access for dupli vert/face into shared functionCampbell Barton
De-duplicate mesh access & comments.
2020-08-13Cleanup: pass normal as a float to dupli-vert functionCampbell Barton
Needed for supporting edit-mode dupli-verts. Currently the un-scaled short values are used to avoid changing behavior (noted in comments).
2020-08-13Cleanup: spelling, use full sentences for object_dupli.cCampbell Barton
2020-08-13Cleanup: use const for dupli vert/face, 'r_' prefix for return valueCampbell Barton
Make it obvious which values are used read-only, which are written to.
2020-08-12Bump the minimum required version for 2.90Dalai Felinto
This is particular important because 2.90 will coexist with 2.83 LTS, so we should warn the users of potential loss of data when going from 2.90 to 2.83 and back. Differential Revision: https://developer.blender.org/D8488
2020-08-11Fix T79676: Video Sequencer image sequence strip source path breaks whenPhilipp Oeser
saving with 'Remap Relative' option Caused by rBf7386b97571e. Logic in BKE_bpath_traverse_main calls the callback multiple times [as often as there are images in the strip]. Prior to above commit, the callback was 'bpath_relative_convert_visit_cb' [this one did not have this problem - since it returned early if the path was already made relative once] After rBf7386b97571e though, the 'bpath_relative_rebase_visit_cb' is used [this one should not be entered multiple times, it would modifiy the directy again and again]. Luckily, we have a flag (BKE_BPATH_TRAVERSE_SKIP_MULTIFILE) that can be used to prevent this (this will take care of only calling the callback once in BKE_bpath_traverse_main for the VSE case) Could be backported to 2.83 I think. Maniphest Tasks: T79676 Differential Revision: https://developer.blender.org/D8536
2020-08-11Fix T79692: Full copy of scene makes Blender freeze if there is content ↵Bastien Montagne
directly in the master collection. Old and new collections are the same data in Master collection case here, so we cannot consider the `gobject` listbase of `collection_old` as always immutable.
2020-08-11Revert "Fix T77409: Crash showing vertex/face duplicators in edit-mode"Sybren A. Stüvel
This reverts commit 9adedb26055f03263fefba380980ee2abcb5327e. It changes how duplis work, and by that altered how Alembic and USD files are written. This was signalled by a failing Alembic unit test.
2020-08-11Fix T79517: Data Transfer modifier fails in edit-modeCampbell Barton
2020-08-11Fix mesh data-transfer tracking if a change was madeCampbell Barton
2020-08-11Fix T77409: Crash showing vertex/face duplicators in edit-modeCampbell Barton
Support duplicators in edit-mode without creating a mesh copy.
2020-08-11Cleanup: use doxy sections for object_dupli.cCampbell Barton
2020-08-10Fix T78113: Random explosions of cloth with self collisionGermano Cavalcante
The problem is caused by a lack of prediction in the `isect_line_segment_tri_v3` that incorrectly confirms some intersections of coplanar segments to the triangle. The solution is to use another algorithm to detect intersections. This also resulted in a slight improvement in the performance: - 1min 17sec to 1min 6sec in my test file Differential Revision: https://developer.blender.org/D8500
2020-08-10Fix T79346: VSE custom proxy file is brokenRichard Antalik
In last set of refactoring patches, code implementing this feature has been accidentally removed. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8449
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2020-08-06Cycles: load OpenVDB file earlier in Blender exportBrecht Van Lommel
In an upcoming bugfix we'll use OpenVDB data structures directly to build mesh for sparse OpenVDB volumes, loading them OpenVDB grids earlier and removing any references to Blender data structures makes that easier. This also makes changes to Blender volumes to support this, so Cycles can take ownership of a grid without Blender having to keep its own reference to it. This should also be useful in a future Python API. Ref D8401
2020-08-06Move CDData debug print helper from DM to CustomData 'namespace'/files.Bastien Montagne
2020-08-06Fix T79408: ungroup operation update animation data incorrectlyJacques Lucke
Reviewers: sybren, sergey Differential Revision: https://developer.blender.org/D8464
2020-08-05Fix T77517 EEVEE: Collection Holdout doesn't work in 2.90Clément Foucault
The default material was missing its init code.
2020-08-05Sculpt: Use vertices instead of faces to limit the grids in each PBVH nodePablo Dobarro
This uses the vertices per grid instead of quads to set the limit of grids per PBVH Node. This should create more leaf nodes in lower subdivisions levels where the duplicates count is high, producing more uniform performance across different levels. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8454
2020-08-05Fix T79520: Data Transfer modifier: crash/assert going into editmode on a ↵Bastien Montagne
source object.
2020-08-05Fix T78665: Face Set visibility reverted when chaning Multires LevelsPablo Dobarro
Face Sets where only set and updated on the PBVH after starting a sculpt tool. In order to preserve the visibility they store when changing levels, they need to be updated and sync also on PBVH creation Reviewed By: sergey Maniphest Tasks: T78665 Differential Revision: https://developer.blender.org/D8225
2020-08-05Fix missing duplicates in the subdiv_ccg neighbors functionPablo Dobarro
Duplicates of a grid corner adjacent to an edge which are on the adjacent grid of the same face were not added when requested. Needed for D8356 to work, it may also fix some other bug in Multires. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8385
2020-08-04Cleanup: typos & co in UI messages (and some other places).Bastien Montagne
2020-08-04Pose channel: Add session UUIDSergey Sharybin
Allows to identify pose channels more reliably than by the pointer.
2020-08-04Fix: Remove debug print added mistakenlyHans Goudey
This print whenever units are evaluated in number input was added in 45dbc38a8b15 mistakenly.
2020-08-03Mesh: correct negative material indices when validatingCampbell Barton
Fixes corrupt mesh from T79451.
2020-08-02Fix T67181: Only the first added movie strip will have audio belowRichard Antalik
Find free slot first for sound strips then for movie strips. This patch also fixes issue where all strips were added to channel 2 by default. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8339
2020-08-02Cleanup: pass const matricesCampbell Barton
Also order return matrices last.
2020-07-31GPencil: Fix unreported missing last point in NURBS conversionAntonio Vazquez
The last point of the curve was missing.
2020-07-31Depsgraph: Add command line argument to debug UUIDsSergey Sharybin
Will trigger code paths which makes sure UUIDs are generated and are unique. Enabled with --debug-depsgraph-uuid (which is also implied by --debug-depsgraph).
2020-07-31Sequencer: Add session UUID check functionSergey Sharybin
Is aimed for use during development and debug, to help verifying that operations do not leave sequences with invalid UUIDs.
2020-07-31Sequencer: Add session UUID management to SequenceSergey Sharybin
This is the first step for having sequences covered with session UUID with the goal to remove code which uses original sequence pointer to match sequences. Currently this UUID is maintained on file load, allocation and leaf duplication function.There are more cases to cover and ensure UUID is re-generated or re-used when needed. It will be done as follow-up development.
2020-07-30Fix T79207: Crash converting curve to meshCampbell Barton
2020-07-29Fix T78285: Invalid thread safety in shrinkwrap modifier code.Bastien Montagne
This uses mesh's runtime mutex for both `BKE_mesh_runtime_looptri_ensure` (was using its own global RW mutex before), and `BKE_mesh_wrapper_ensure_mdata` (was not protected at all before). This is more like a band-aid than a proper fix, as mentioned in the report proper fix would be for the modifier to request those data (the relevant BVHTree, which would implicitely also call the tow others) through flags, just like it does for regular CDData layers. But this is a much bigger refactor to be done outside of bugfix scope. Reviewed By: sergey Maniphest Tasks: T78285 Differential Revision: https://developer.blender.org/D8415
2020-07-29Cleanup: Remove deprecated comment.Bastien Montagne
2020-07-29Cleanup: Always keep unlock at same level as lock.Bastien Montagne
This was fine in those cases with current code, but that kind of assumption is always risky, and an open door to hard-to-track bugs when code changes in the future...
2020-07-28Cleanup: correct usage of extern-C blocks in various placesJacques Lucke
This removes extern-C blocks around other includes and adds such blocks for some headers that need them.
2020-07-28Fix T54544: "Copy Materials to Selected" only works when materials are ↵Bastien Montagne
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-28Fix T79341: Crash evaluating curveCampbell Barton
2020-07-27Fix T79074: Mesh Topology info not being updated after changesPablo Dobarro
All these data arrays are created for a specific topology, so they should be freed and updated when the PBVH rebuilds. Previously, this was only happening when freeing the SculptSession, but it also needs to happen in BKE_sculpt_update_object_before_eval to avoid reusing out of date data. Reviewed By: sergey Maniphest Tasks: T79074 Differential Revision: https://developer.blender.org/D8357
2020-07-27Fix T78242: Crash when using a Sculpt color tools that needs connectivity ↵Pablo Dobarro
for the first time When there is no color layer available, BKE_sculpt_update_object_for_edit creates a new one and tags the mesh with ID_RECLAC_GEOMETRY, so this layer is inmediatly available when the tool starts. This also deletes the PBVH and when it is created again in BKE_sculpt_update_object_after_eval, the pmap is not initialized, making the tool crash. This moves the color layer creation to a separate function outside BKE_sculpt_update_object_for_edit, which now runs after the color layer is available, so it won't need to update again and the pmap will still be available when the tool is used. Reviewed By: sergey Maniphest Tasks: T78242 Differential Revision: https://developer.blender.org/D8135