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-06-17Cleanup: fix compiler warningsBrecht Van Lommel
2020-06-17Fix T77915: Cycles OSL microfacet closure not working in custom shadersBrecht Van Lommel
The code to implement the newer closure in terms of the old one got lost in the removal of our stdosl.h copy. Now implement it as a builtin closure.
2020-06-17Cleanup: doxy sections for meta-ball operators.Campbell Barton
2020-06-17Fix T63411: Crash adding meta-ball with a small radiusCampbell Barton
Change how the radius, changing the size of meta plane, sphere & cube. Previously the size of these primitives would be kept the same, with only the radius outside the primitive being scaled. This led to small scale adding a lot of polygons instead of scaling the primitive down as users would expect. Also change behavior not to change the resolution when adding to an existing meta-ball.
2020-06-17GPencil: Apply all GSoC changesAntonio Vazquez
2020-06-17Doc: minor change to curve select more/lessCampbell Barton
Address T55218
2020-06-17Cleanup: name mesh join functions using ED_{type} prefixCampbell Barton
2020-06-17Fix T70287: Connect vertex path can create duplicate edges/facesCampbell Barton
2020-06-17Cleanup: doxy commentsCampbell Barton
2020-06-17Fix T76041: Low contrast dirty vertex colors with loose geometryPhilipp Oeser
Add option to normalize vertex colors.
2020-06-17Cleanup: warningCampbell Barton
2020-06-16UI: Backspace is one wordAaron Carlisle
2020-06-16GPencil: Fix compiler error after mergeAntonio Vazquez
2020-06-16Merge branch 'master' into greasepencil-edit-curveAntonio Vazquez
Conflicts: source/blender/blenkernel/intern/gpencil_geom.c
2020-06-16Buildbot: Cleanup, typo in loggingSergey Sharybin
2020-06-16Fix issue with uint in headers in recent own commit.Bastien Montagne
Would break on some systems/compilers...
2020-06-16Fix (unreported) wrong size of UserPreferences' `dupflag` parameter.Bastien Montagne
Adding volume obdata option to `eDupli_ID_Flags` enum made it go beyond the 16 bits of a short... Also, enums should typically be stored in unsigned integers.
2020-06-16Cleanup: use explicit enum type for duplicate option of `BKE_object_duplicate`Bastien Montagne
Using enum type itself in implementations, and uint in headers (as using enums types in headers is a pain when enum are not defined and used in a single same header file...).
2020-06-16Cleanup: remove hierarchy parameter from `BKE_collection_duplicate`Bastien Montagne
It makes no sense to deep-copy a collection and not also copy its children collections... Parameter was not used anymore anyway. So now this duplicate function will always at least deep-duplicate all of its children collections, recursively.
2020-06-16Cleanup: get rid of `BKE_collection_copy`.Bastien Montagne
We want to get rid of those for all ID types ultimately, but that one was only used in one place, being the only one calling `BKE_collection_duplicate` without hierarchical duplicate and parent collection pointer, effectively using the full power of the complex deep duplication code for a mere `BKE_id_copy` call... This will allow for further cleanup in duplicate code.
2020-06-16Refactor: move .blend read/write of mesh deform modifier to MOD_meshdeform.cJacques Lucke
2020-06-16Cleanup: remove unnecessary indirection for .blend read/write of curvemappingJacques Lucke
2020-06-16Refactor: Move curvemapping .blend read/write to blenkernelJacques Lucke
This is necessary so that it can be accessed from `blendWrite` and `blendRead` callbacks from modifiers.
2020-06-16Functions: Multi FunctionJacques Lucke
This adds the `MultiFunction` type and some smallish utility types that it uses. A `MultiFunction` encapsulates a function that is optimized for throughput by always processing many elements at once. This is an important part of the new particle system, because it allows us to execute user generated node trees for many particles efficiently. Reviewers: brecht Differential Revision: https://developer.blender.org/D8030
2020-06-16Fix bitscan_reverse_uint on MSVC compilerSergey Sharybin
Was a mistake from the very beginning of implementation.
2020-06-16Buildbot: Switch WIndows builds to MSVC 2019Sergey Sharybin
2020-06-16GPencil: Convert and Bake mesh animation to grease pencil strokesAntonio Vazquez
This patch adds two options: - Convert a mesh to grease pencil strokes. - Bake the mesh animation into grease pencil strokes. Both are related and must be included in the same patch. Related to tasks: T77629 and T77630 Notice: The conversion is done for mesh edges and it's not considering any visibility clipping. All edges are exported, no matters if it's visible or not. Example of Convert a Mesh to Grease Pencil strokes: {F8606028} This conversion was inspired by the technique used by @luamono in this tweet: https://twitter.com/luamono/status/1239983662176841730 Example of Bake Animation (the video is a little outdate, but the basic functionality is the same, only small changes in UI): {F8606032} Reviewed By: mendio, pepeland Maniphest Tasks: T77629, T77630 Differential Revision: https://developer.blender.org/D7983
2020-06-16Fix T77803: IK Degrees of freedom drawing glitchJeroen Bakker
IK degrees of freedom is rendered using wires and a solid sphere. The solid used the wireframe drawing what resulted into drawing glitches. This patch adds a new shader to draw the solid shape. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8044
2020-06-16Buildbot: Support multiple workers talking to single codesign serverSergey Sharybin
Is achieved by replacing hard-coded signed/unsigned file names with "<uuid>" which acts as a "request ID". This way multiple workers can put their requests into a single directory without collisions. The code sign server will handle the requests sequentially in an unknown order.
2020-06-16Buildbot: Don't use builder name in the build directorySergey Sharybin
The directory layout on worker goes as following: <Worker> <Builder Name> blender.git/ build/ install/ lib/ Adding an extra <Builder Name> after build is redundant. Differential Revision: https://developer.blender.org/D8045
2020-06-16CMake: Fix compilation errors related on missing dna_type_offsets.hSergey Sharybin
Some of the files were (indirectly) using dna_type_offsets.h without adding dependency from bf_dna (which is needed to ensure the file is generated prior to library compilation).
2020-06-16BLI: fix Map.foreach_item methodJacques Lucke
2020-06-16Cleanup: unused headers, spellingCampbell Barton
2020-06-16Fix T61777: Proportional editing doesn't work with multi edit-modeAlan Troth
2020-06-16Cleanup: doxy sections for camera, collections, text & seqmodifierCampbell Barton
2020-06-16Cleanup: Use LISTBASE_FOREACH in interface_panel.cHans Goudey
2020-06-15Fix crash when opening some old/broken .blend files after recent fix.Bastien Montagne
Now that `BKE_main_collections_parent_relations_rebuild()` is called from readfile code, we need to make it resilient to potential NULL master collection pointer in scenes.
2020-06-15Refactor: use new blenloader api for laplacian deform modifierJacques Lucke
2020-06-15Fix unhandled RECALC options in depsgraph code after recent change.Bastien Montagne
Spotted by @LazyDodo on IRC, thanks.
2020-06-15Blenloader: call blendRead and blendWrite of modifiers when availableJacques Lucke
This is part of T76372.
2020-06-15Modifiers: New callbacks for reading and writing .blend filesJacques Lucke
This is part of a greater blenloader decentralization effort (T76372). For modifiers the goal is that fewer files have to be modified when a new modifier is added. This patch just adds the `blendWrite` and `blendRead` callbacks to `ModifierTypeInfo` but does not change any other code yet. In the next steps, modifier specific code will be moved from `writefile.c` and `readfile.c` into their corresponding `MOD_*` files.
2020-06-15Fix T77460: Easy to create cyclic dependencies in collections and crash Blender.Bastien Montagne
Cyclic check was not checking for collections instanciated by objects...
2020-06-15Fix (unreported) critical mistake in Collection liblink code in readfile.c.Bastien Montagne
Prelimenary step to fix T77460. Not sure how or when that thing was done, but since that call walks around collections relationships, it's an utterly critical violation of liblinking principles (code here should never, ever 'get outside' of its own ID scope). This was wroking so far only because code called through this function (`BKE_collection_parent_relations_rebuild`) was only following parents pointers (in `BKE_collection_find_cycle()`), which would be either valid or non-existent. But next commit is going to change that to also check collection's objects instancing of other collections.
2020-06-15Fix T77496: Bones Custom Shapes Wires not drawnJeroen Bakker
Lines loose extraction cannot happen on the fly as the render data isn't complete. This patch will do the lines loose subbuffer extraction as a simple task and not on the fly. This patch introduces 2 sub-types of tasks that are executed single threaded. `EXTRACT_MESH_EXTRACT` would do the extraction using Mesh/BMesh geometry. `EXTRACT_LINES_LOOSE` creates the `lines_loose` subbuffer from already cached `lines` IBO. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7964
2020-06-15Fix T77774: New undo code broken by 'make local' behavior.Bastien Montagne
This is actually a nice issue due to too much optimization... * Making an ID local just reuse the linked one whenever possible, instead of actually making a copy of it. * Therefore, the collection containing that ID is seen as unchanged, since the pointer itself remained the same. * But on undo step, there is no way to reuse that local object, which then gets deleted, and linked one gets re-created - at a different address. * Collection, however, since unchanged, is not updated at all and thus keeps reference to the to-be-deleted local object, instead of the linked one. * Issue gets even worse with viewlayers, this leads to the crash. To address this, this patch adds a 'virtual' update flags that does nothing in update case, but will ensure that the affected IDs using the one made local are properly detected as changed across the relevant undo step. Note that the recalc flags were chosen mostly for a logical reason, and also because they are already properly dealt with and cleared by undo code, so this looks like the optimal solution. Reviewed By: brecht Maniphest Tasks: T77774 Differential Revision: https://developer.blender.org/D8006
2020-06-15Fix crash using shrink-wrap modifier in edit-modeCampbell Barton
Regression in deaff945d0b96.
2020-06-15Fix T77342: Fail to draw loose edgesJeroen Bakker
The underlying issue is that the loose edge extraction cannot be threaded. This patch will extract the loose edges during initialization of the render mesh data. When working on this patch the mesh_render_data_update was split into multiple functions to identify what part was failing. These functions would also help us with debugging. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7962
2020-06-15Fix Memory Leak introduced by Draw Manager ThreadingJeroen Bakker
The memory leak is noticeable when using custom bone shapes. When using custom bone shapes objects could be extracted twice. Where the second extraction can overwrite data created by the first extraction what causes the memory leak. Options that have been checked: 1. Use two task graphs phases. One for normal extraction (DST.task_graph) and the other one will handle extractions that require blocking threads. 2. Keep a list of all objects that needs extraction and only start extraction when all objects have been populated. The second would slow performance as the extraction only happens when all objects have been populated. In the future we might want to go for the second option when we have the capability to render multiple viewports with a single populate. As this design isn't clear this patch will implement the first option. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7969
2020-06-15Fix T77541: Unregistering DATA_PT_modifiers doesn't remove modifier panelsHans Goudey
This is a pretty quick fix; the solution is just removing all the instanced panels whena panel is unregistered. This also necessitates adding the option to call UI_panels_free_instanced with NULL context. Differential Revision: https://developer.blender.org/D7977
2020-06-15Fix T77853: Error reloading linked library.Bastien Montagne
Issue related to how ID refcounting was changed when loading blendfile data...