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-11-19Geometry Nodes: Disallow editing and animating modifier active propertyHans Goudey
There will be an operator to access this property instead, which provides a better name and tooltip to expose in the UI, and makes it more clear that the property is dependent on the other modifiers.
2020-11-19Geometry Nodes: Add the concept of an active modifierHans Goudey
This commit adds functions to set and get the object's active modifier, which is stored as a flag in the ModifierData struct, similar to constraints. This will be used to set the context in the node editor. There are no visible changes in this commit.
2020-11-19Merge branch 'master' into geometry-nodesJacques Lucke
2020-11-19Fix RNA not giving error with invalid identifiers for collection propertiesBrecht Van Lommel
2020-11-19Geometry Nodes - Internal rename + API change: NODES for anything but UIDalai Felinto
Most of the times the nodes will be non-empty. Empty is really only what shows in the UI.
2020-11-19Fix crash when adding strip using RNA API callRichard Antalik
Don't allocate StripElem for movieclip, scene and mask strips. This struct is not handled in seq_dupli function. This caused field to be uninitialized in COW datablock. StripElem is not allocated when adding strip with operator and it is not needed for these strip types. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9600
2020-11-18GPencil: Automerge last drawn stroke with previous strokesAntonio Vazquez
This option joins any stroke with an end near the actual stroke. Now it is not limited to the last stroke, any stroke in the same layer for the actual frame can be joined. The join can join two strokes drawing a third stroke. If the end and the start of the result stroke are very small, the stroke is changed to be cyclic automatically. There is a limit distance to join the stroke, if the distance is greater than this value, the strokes are not joined. Actually, a constant, threshold distance is used, but we could expose as a parameter in the UI in the future. The tool can be used with freehand drawing or with primitives. Note: Great part of the patch is just a refactor of the old code to make it accessible and to keep code organized. Reviewed By: mendio Maniphest Tasks: T82377 Differential Revision: https://developer.blender.org/D9440
2020-11-18Geometry Nodes: initial Random Attribute nodeJacques Lucke
This adds some ui boilerplate code for the Random Attribute node and provides an initial implementation. Note, while the implementation can already randomize attributes, it might not behave as expected under all circumstances yet. It's still work in progress.
2020-11-18Cleanup: remove break after return statementsCampbell Barton
2020-11-18Merge remote-tracking branch 'origin/master' into geometry-nodesDalai Felinto
2020-11-18Geometry Nodes: Unify icons -> use ICON_NODETREE for everythingDalai Felinto
Until there is a icon made specially for this, the nodetree icon is up for grabs. Using it in the nodegroup + modifier + editor helps the users to make a connection on where to edit those modifiers.
2020-11-18Cleanup: Remove all of "#ifdef WITH_POINT_CLOUD"Dalai Felinto
Since Point Cloud was removed from experimental this is no longer needed.
2020-11-18Cleanup: Remove most of "#ifdef WITH_GEOMETRY_NODES"Dalai Felinto
The ones around the simulation datablock are still there, since they are not needed for the features planned for master yet.
2020-11-18Remove Point Cloud object from experimentalDalai Felinto
The point cloud object is the only one that will support instancing at first. So we can expose it as a regular object. It is limited since it has no edit mode. But this is not different than the volume object.
2020-11-18Remove Geometry Nodes Editor from experimentalDalai Felinto
As part of preparing this work for master, with an initial subset of working functionalities the Geometry Nodes Editor can be exposed for everyone. (it also helps people that are testing the branch)
2020-11-17Merge branch 'blender-v2.91-release'Bastien Montagne
2020-11-17Cleanup: Fix incorrect RNA property label/tooltip re active NLA track.Bastien Montagne
The joys of copy/paste again.
2020-11-17RNA define: check and report invalid usages of ID pointers properties.Bastien Montagne
Some RNA structs, like operators or keymaps, are not allowed to have ID pointer properties. now this check will ignore those, and report an error message in the console. Related to T82597. Notes: While a bit more involved than rBf39fbb3e6046, this commit remains fairly localized and non-intrusive. It relies on some rather obscure and weird behaviors of our RNA code though, a cleaner solution could be e.g. to add a tye to `StructOrFunctionRNA`, so that we could properly 'rebuild' (re-cast) the pointer to either `StructRNA` or `FunctionRNA` when needed in internal code...
2020-11-16Merge branch 'master' into geometry-nodesHans Goudey
2020-11-16Revert "RNA define: check and report invalid usages of ID pointers properties."Bastien Montagne
This reverts commit f39fbb3e604611b63c69661dd22ca987fb1d8791. Code is not valid, `DefRNA.laststruct` does not always point to the proper struct when defined from Python, need to be done differently.
2020-11-16RNA define: check and report invalid usages of ID pointers properties.Bastien Montagne
Some RNA structs, like operators or keymaps, are not allowed to have ID pointer properties. now this check will ignore those, and report an error message in the console. Related to T82597.
2020-11-16Merge remote-tracking branch 'origin/blender-v2.91-release'Sybren A. Stüvel
2020-11-16Fix T82519: Adding 2nd driver doesn't recalculateFabrício Luis
Remove `return` from for-loop which blocked the recalculation of driven values when it found the first driver. Reviewed By: sybren, sergey Differential Revision: https://developer.blender.org/D9515
2020-11-16Merge branch 'master' into geometry-nodesJacques Lucke
2020-11-16Cleanup: clang-formatCampbell Barton
2020-11-14Merge branch 'master' into geometry-nodesHans Goudey
2020-11-14Merge branch 'blender-v2.91-release'Nathan Craddock
2020-11-14Collections: Prevent setting scene collection color tag from rnaNathan Craddock
It should not be possible to set the scene collection's color tag through rna. Also adds a missing notifier for setting the collection color tag from python.
2020-11-14UI: Remove remaining uses of old collection iconNathan Craddock
After rB452a1c7b3838 there were still a few cases where the old collection icon was used in the interface. Replace these with the new filled collection icon.
2020-11-14Empty Modifier: Fix build and put in the right orderDalai Felinto
Bypassing the macro that creates modifiers to allow the enum to be referring to the Empty modifier, but the internal struct in the code to be Nodes. Also fix the name of the new created modifiers to be "Empty". Fix was built with rBb458ea6b23381a9acb90dbbd73ced678e1d404c5.
2020-11-14Rename: "Nodes" modifier to "Empty" (take 2)Dalai Felinto
Leave the internal DNA data struct as "Nodes", and only rename the modifier and user interface to Empty. See 4a2734a835c10d5bffaaceddc59c for the original take and the reasoning for renaming from Nodes to Empty.
2020-11-14Revert "Rename: "Nodes" modifier to "Empty""Dalai Felinto
This reverts commit 4a2734a835c10d5bffaaceddc59c41837801f402. Reverting this so that all we change is the UI name, not the DNA struct and the internal variable names.
2020-11-14Rename: "Nodes" modifier to "Empty"Dalai Felinto
This introduces a regression. Users need to re-create their modifiers and set their values again. The NodeGroups are intact so all they need is to create new "Empty" modifiers and set the node group. --- Original problem: Eventually most modifiers will be node-based, so naming this new modifier "Nodes" will get outdated pretty quickly. Calling it "Empty" it's fairly descriptive, since the node tree simply connects the modifier Input to an Output, without any effect. There is a potential problem, that it could be associated with the Empty object type. Like some sort of Hook. This is the task T82700, and the design task T82537.
2020-11-13GPencil: Merge GSoC curve edit modeFalk David
Differential Revision: https://developer.blender.org/D8660 This patch is the result of the GSoC 2020 "Editing Grease Pencil Strokes Using Curves" project. It adds a submode to greasepencil edit mode that allows for the transformation of greasepencil strokes using bezier curves. More information about the project can be found here: https://wiki.blender.org/wiki/User:Filedescriptor/GSoC_2020.
2020-11-13Cleanup: Make panel type flag names more clearHans Goudey
The overlap with the `Panel` flags that start with "PNL" was quite confusing because wasn't clear which enum a flag was from. The new names are a bit longer, but the clarity is worth it.
2020-11-13Cleanup: Move PanelType flag from DNA to BKE headerHans Goudey
Since this flag isn't saved in files and PanelType itself is defined in BKE, the flag makes more sense there.
2020-11-13Merge branch 'master' into geometry-nodesHans Goudey
2020-11-13LibOverride: Make PointCache RNA properties overridable.Bastien Montagne
Note that due to convoluted layout of point caches in RNA (active one also storing list of all available ones), we'll often have the pointcache overrides rules twice. Should not be a huge problem, practically speaking. Part of first step of T82503: support disk cache in liboverrides.
2020-11-13Cleanup: use IMB_FTYPE_NONE instead of 0 for imbuf format comparisonCampbell Barton
Image format code checked the file type against an enum except for zero which is used when the format can't be detected. Also add doc-strings to some of the image file type callbacks.
2020-11-13GPencil: Remove "angle_split" from Multiply modifier.YimingWu
2020-11-13Add An Opacity Slider to Overlay WireframeJun Mizutani
This patch adds an opacity slider to the wireframe overlay. The previous wireframe in dense geometry scenes could be too dark and sometimes the user just wants an impression of the geometry during modelling. Reviewed By: Jeroen Bakker Differential Revision: https://developer.blender.org/D7622
2020-11-13UI: make add object tool experimentalCampbell Barton
Some changes here are planned which need feedback from users before declaring this ready for the next release.
2020-11-12Geometry Nodes: Add method enums to mesh triangulate nodeLéo Depoix
This commit adds the remaining "method" enums from the triangulate modifier. Differential Revision: https://developer.blender.org/D9502
2020-11-12Merge branch 'master' into geometry-nodesHans Goudey
2020-11-12Merge branch 'blender-v2.91-release'Sebastián Barschkis
2020-11-12Geometry Nodes: initial object socket supportJacques Lucke
The fundamental difference between object sockets and the other existing data sockets is that an object is an ID data block. Changing the value of an object socket also changes the depsgraph. The modifier has to analyse the node tree to figure out which other objects it depends on. Currently, this is done very simply by just looping over all sockets and collecting the objects. In the future this can be improved by also figuring out what components of an object are needed. Instead of passing object pointers around in the node tree, we actually use a handle. This handle is just a number internally that identifies a specific object. The conversion between handles and object pointers is done using a map that is provided by the modifier. This approach has a couple of benefits. It protects us a bit from passing around pointers that are not known to the modifier and therefore are not in the depsgraph. Furthermore, the object pointer can change while the handle stays the same. This is not important right now, but is not unlikely to become useful in the future. The API for how nodes access object pointers is not ideal yet and will be improved in the future.
2020-11-12Fix T81813: Keyframe handles don't follow keyframesWayde Moss
Add a new property `co_ui` to Keyframes, the modification of which will apply to the keyframe itself as well as its Bézier handles. Dragging the "Keyframe" slider in the properties panel now maintains the deltas between the keyframe and its handles, just like moving the key in the graph editor would. Reviewed by @sybren in T81813.
2020-11-12Merge branch 'master' into geometry-nodesJacques Lucke
2020-11-12Cleanup: Imperative tense in property descriptionRichard Antalik
2020-11-11Cleanup: Use `NDEBUG` define, `DEBUG` one is not reliable.Bastien Montagne