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
2021-03-25Fix, add the ability to add a "processor" grouptemp-geometry-nodes-processor-prototypeHans Goudey
It is broken and doesn't do anything yet
2021-03-25Merge branch 'master' into temp-geometry-nodes-processor-prototypeHans Goudey
2021-03-24Cleanup: Remove unecessary enum funcsHans Goudey
The separator can be added directly in the enum items rather than in a callback. Differential Revision: https://developer.blender.org/D10806
2021-03-24UI: Use correct property split ratio for node socket buttonsHans Goudey
This makes the buttons drawn on nodes for unconnected string and color sockets draw with the correct 40% ratio for the label split rather than the old 50% ratio not used elsewhere in Blender anymore. The benefit is a cleaner look, because the button edges line up better with others, and a bit more space to type in attribute names.
2021-03-24Fix broken compilation after recent GPencil commit.Bastien Montagne
rBa8a92cd15a52 was adding external libraries includes to `INC`, which is reserved to internal project includes. `INC` does not allow duplicates, and when using system libs both PugiXML and Haru headers are under the same path.
2021-03-24Fix (unreported) Outliner: missing override tree items for collections in ↵Bastien Montagne
Viewlayer view. Probably lost at some point in recent refactor moving the whole tree building towards a more modular, C++ code.
2021-03-24Fix build error and warnings in new grease pencil IO codeHans Goudey
2021-03-24Fix T86884: Don't remove the "line art object add" enum itemSebastian Parborg
We would not add the "object line art" enum to the operator enum list, if there were no active object in the scene. This would make it impossible to call this operator from python code as the enum would we hidden when we were not in a viewport context. Always make the operator available, having no active object is not a strict requirement for the operator to work, so expose it always.
2021-03-24Fix T86875: "Show on Cage" crash for geometry nodes primitivesHans Goudey
Without `calc_object_remap` turned off in the conversion to and from BMesh for the primitive nodes, the `CD_ORIGINDEX` custom data layer has incorrect values. By using a different function to do the conversions, we can avoid this problem. Thanks to Jacques for finding the fix here. Differential Revision: https://developer.blender.org/D10805
2021-03-24GPencil: Fix unreported crash when apply Lattice modifierAntonio Vazquez
This error was produced because now it is possible to have several Lattice modifiers and the Bake was removing the lattice data of all modifiers. Now the data is only recalculated and removed for the current modifier. Also some cleanup of comments.
2021-03-24GPencil: New modules for Import and ExportAntonio Vazquez
This patch adds support to export and import grease pencil in several formats. Inlude: * Export SVG * Export PDF (always from camera view) * Import SVG The import and export only support solid colors and not gradients or textures. Requires libharu and pugixml. For importing SVG, the NanoSVG lib is used, but this does not require installation (just a .h file embedded in the project folder) Example of PDF export: https://youtu.be/BMm0KeMJsI4 Reviewed By: #grease_pencil, HooglyBoogly Maniphest Tasks: T83190, T79875, T83191, T83192 Differential Revision: https://developer.blender.org/D10482
2021-03-24Fix T86894: Geometry nodes drag and drop creates a duplicate nodeCharlie Jolly
Added a condition to the poll so that it ignores drag and drop on the button. The Paste Name operator is just not implemented. Doesn't work for shading nodes either. Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D10769
2021-03-24Fix T86722: Missing updates after geometry nodes drag and dropCharlie Jolly
Add missing call to ED_node_tag_update_nodetree which solves the missing update on initial drag. Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D10769
2021-03-24Tweak default ID types processing order, step 17: Group and comments.Bastien Montagne
Regroup ID type indices by categories, and add some comments about reasoning of current order.
2021-03-24Tweak default ID types processing order, step 16: Palettes.Bastien Montagne
Move Palettes type with other weird, not-really-data ID types (like PaintCurves and Brushes), higher in the process. Those preset-like types may use a lot of other ID types, but should only be used by UI-related (and Scene, for tool settings) types.
2021-03-24Tweak default ID types processing order, step 15: ShapeKeys.Bastien Montagne
Move shape keys type just after all obdata types, since they are some sort of sub-geometry data.
2021-03-24Tweak default ID types processing order, step 14: Fonts.Bastien Montagne
Move Font type toward the end of the list, this is a file-wrapper type with typically no dependency to any other ID.
2021-03-24Tweak default ID types processing order, step 13: Texts.Bastien Montagne
Move Texts type toward the end of the list, this is a file-wrapper type with typically no dependency to any other ID.
2021-03-24Tweak default ID types processing order, step 12: Sounds.Bastien Montagne
Move Sound type toward the end of the list, this is a file-wrapper type with typically no dependency to any other ID.
2021-03-24Tweak default ID types processing order, step 11: Worlds.Bastien Montagne
Move World type with the other shading types.
2021-03-24Tweak default ID types processing order, step 10: LineStyles.Bastien Montagne
Move LineStyles (Freestyle) type with the rest of the shading types.
2021-03-24Tweak default ID types processing order, step 09: Particles.Bastien Montagne
Move Particles next to the other physics/simulation types, after obdata types.
2021-03-24Tweak default ID types processing order, step 08: CacheFiles.Bastien Montagne
Move them with the rest of the simulation types.
2021-03-24Tweak default ID types processing order, step 07: MovieClips.Bastien Montagne
Move them with the other shading/image types, just before Images.
2021-03-24Tweak default ID types processing order, step 06: Brushes.Bastien Montagne
Move Brushes type with other weird, not-really-data ID types (like Palette and Brushes), higher in the process. Those preset-like types may use a lot of other ID types, but should only be used by UI-related (and Scene, for tool settings) types.
2021-03-24Tweak default ID types processing order, step 05: PaintCurve.Bastien Montagne
Move PaintCurve type with other weird, not-really-data ID types (like Palette and Brushes), higher in the process. Those preset-like types may use a lot of other ID types, but should only be used by UI-related (and Scene, for tool settings) types.
2021-03-24Tweak default ID types processing order, step 04: Screen.Bastien Montagne
Move Screen data type higher in the list, just after the other UI-related types, and before Scenes.
2021-03-24Tweak default ID types processing order, step 03: Mask.Bastien Montagne
Move it with the rest of the image/shading related types.
2021-03-24Tweak default ID types processing order, step 02: Simulations.Bastien Montagne
This is a fairly low-level ID type, so it needs to be higher in the list, for now put it just before the shading-related types.
2021-03-24Tweak default ID types processing order, step 01: Collections.Bastien Montagne
Move `OB_GR` processing just after scenes, and before objects. This is much more sensible in general, and fixes glitches in auto-resync process of library overrides in particular.
2021-03-24Fix T86895: bpy.ops.curve.select_all(action='INVERT')Dalai Felinto
The operator should not assume v3d is valid.
2021-03-24Spelling: getRenderPriotrity -> getRenderPriorityJeroen Bakker
2021-03-24Cleanup: Removed commented out code.Jeroen Bakker
2021-03-24Cleanup: replace index based forloops with iterators.Jeroen Bakker
2021-03-24Cleanup: removed unnecessary allocations.Jeroen Bakker
2021-03-24Cleanup: Use const in region queriesJulian Eisel
2021-03-24Cleanup: Move button context based operator poll into utility functionJulian Eisel
Using the button context for operators is useful for other cases as well (where the operator isn't the button operator itself). For example we'll need this for the asset view UI template, where there will be additional operators that should be able to act on button context.
2021-03-24Alembic procedural: deduplicate cached data accross framesKévin Dietrich
Currently the procedural will add an entry to the cache for every frame even if the data only changes seldomly. This means that in some cases we will have duplicate data accross frames. The cached data is now stored separately from the time information, and an index is used to retrieve it based on time. This decoupling allows for multiple frames to point to the same data. To check if two arrays are the same, we compute their keys using the Alembic library's routines (which is based on murmur3), and tell the cache to reuse the last data if the keys match. This can drastically reduce memory usage at the cost of more processing time, although processing time is only increased if the topology may change.
2021-03-24Geometry Nodes: add versioning for attribute fillJacques Lucke
The attribute domain of old nodes should be set to `ATTR_DOMAIN_AUTO`.
2021-03-24Fix T86891: only sort query results for shortest string if there is a queryDirk
Differential Revision: https://developer.blender.org/D10802
2021-03-24Fix: Memory Leak When Using Compositor.Jeroen Bakker
When using the compositor inlined static vectors could allocate memory. This memory wasn't freed. This patch would make them inline again.
2021-03-24Cleanup: clang-tidy errors.Jeroen Bakker
2021-03-24Cleanup: unused variableKévin Dietrich
2021-03-24Fix T86601: Cycles accumulates displacement when transforming an ObjectKévin Dietrich
In order to update the BVH when only the transformations are changing, we would tag the Object's Geometry as modified. However, when displacement is used, and the vertices were not themselves modified, this would cause us to redo the displacement on already displaced vertices. To fix this, use a specific update flag for detecting and notifying that transformations were modified. Regression caused by rBbbe6d44928235cd4a5cfbeaf1a1de78ed861bb92.
2021-03-24Fix T86314: materials not updated correctly after collada importPhilipp Oeser
Make sure we have valid links and link pointers using 'ntreeUpdateTree()'. Maniphest Tasks: T86314 Differential Revision: https://developer.blender.org/D10793
2021-03-24Cleanup: remove stdio.h header from MEM_guardedalloc.hCampbell Barton
This was included for `FILE *` which isn't used in the header. Ref D10799
2021-03-24Cleanup: use new BLI_assert_unreachable macroCampbell Barton
2021-03-24Add new node tree type for nodes inside attribute processor groupHans Goudey
2021-03-23Fix T86753: Connected Proportional editing with individual origins using ↵Germano Cavalcante
different orientation than set The problem happened when the selection only allowed "single_islands" (only vertices are selected, no edges or faces). The result of `is_zero_v3(v->no)` was erroneously being compared to `0.0f` This commit corrects the wrong condition and optimizes it by adding a earlier return when the islands don't need to be calculated. (It also improves the code's readability by joining some variables in the `struct TransIslandData`).
2021-03-23Cleanup: allow looking up size of unsupported domainsJacques Lucke
There isn't really a reason for not supporting it.