Revision 15c834e by Bastien Montagne March 6, 2020, 11:52 (GMT) |
Cleanup: ShapeKey: Move to IDTypeInfo and remove unused BKE API. |
Revision c08151c by Jacques Lucke March 6, 2020, 11:33 (GMT) |
Nodes: Support storing socket link limits in bNodeSocketType Currently the link limit of sockets is stored in bNodeSocket->limit. This allows for a lot of flexibility, but is also very redundant. In every case I've had to deal with so far, it would have "more correct" to set the link limit per socket type and not per socket. I did not enforce this constraint yet, because the link limit is exposed in the Python API, which I did not want to break here. In the future it might even make sense to only support only three kinds of link limits: a) no links, b) at most one link, c) an arbitrary number links links. The other link limits usually don't work well with tools (e.g. which link should be removed when a new one is connected?) and is not used in practice. However, that is for another day. Eventually, I would like to get rid of bNodeSocket->limit completely and replace it either with fixed link limits or a callback in bNodeSocketType. This patch consists of three parts: **1. Support defining link limit in socket type** This introduces a new `nodeSocketLinkLimit` function that serves as an indirection to hide where the link limit of a socket is defined. **2. Define link limits for builtin sockets on socket type** Data sockets: one input, many outputs Virtual sockets: one input, one output Undefined sockets: many inputs, many outputs (to avoid that links are removed when the type of the socket is not known) **3. Remove `bNodeSocketTemplate->limit`** This wasn't used anymore after the second commit. Removing it simplifies socket definitions in hundreds of places and removes a lot of redundancy. Differential Revision: https://developer.blender.org/D7038 Reviewers: brecht |
Revision 98d562a by Jeroen Bakker March 6, 2020, 11:32 (GMT) |
CodeCleanup: move include statements before extern "C" Mistake on recent changes that would fail when used in CPP. |
Revision 24a37b3 by Sebastian Parborg March 6, 2020, 11:29 (GMT) |
Fix memory leak in the colorio fallback implementation. We would previously not store the transforms that were added to the group transform node. This would lead to pointer to allocated memory being lost and not freed. |
Revision e65f5c0 by Sebastián Barschkis March 6, 2020, 11:26 (GMT) |
Fluid: Added missing UI options for effector objects UI was missing some of the new functionality introduced in a5c4a44df67e. |
Revision 79558a5 by Jeroen Bakker March 6, 2020, 11:23 (GMT) |
CodeCleanup: Use eDrawType This patch will make use of the eDrawType where it was used as a variable or parameter name. The eObjectDrawType was renamed to eDrawType as it is also used by `View3DShading.type`. |
Revision e96b103 by Brecht Van Lommel March 6, 2020, 11:19 (GMT) |
Cleanup: move camera, lights, world to IDTypeInfo |
Revision 297261e by Jeroen Bakker March 6, 2020, 11:11 (GMT) |
CodeCleanup: Added enums to opengl render functions Motivation the functions get 3 different kind of flag parameters (ImBuf, DrawType, OffscreenRendering) the naming of the flags were not clear, leading to mistakes and unnecessary time spend debugging. |
Revision 9fa29fe by Philipp Oeser March 6, 2020, 10:59 (GMT) |
Cleanup: remove MLOOPUV_EDGESEL This was not set anywhere, code relies on MLOOPUV_VERTSEL everywhere. BMLoopUV.select_edge was never returning True and wasnt updating uv select state when set manually. Afaict, there were no official Addons using this from python. Resolves T65836 Maniphest Tasks: T65836 Differential Revision: https://developer.blender.org/D6772 |
Revision c723179 by Julian Eisel March 6, 2020, 10:43 (GMT) |
Revision 7d61132 by Sybren A. Stüvel March 6, 2020, 10:36 (GMT) |
Animation: improved error handling when adding/deleting keyframes There are two ways in which adding/deleting keyframes can fail, but only one of those was handled. The other would be shown as a successful add/delete of -2 keyframes. |
Revision d8491cb by Sybren A. Stüvel March 6, 2020, 10:36 (GMT) |
Cleanup: Animation, renamed and clarified 'success' variable The `ANIM_apply_keyingset()` returns a value that indicates the number of changed channels (if nonnegative) or an error state (negative). In the places where the return value was actually used, this value was stored in a badly named variable. |
Revision 17e1fef by Bastien Montagne March 6, 2020, 10:27 (GMT) |
Cleanup: Library: Move to IDTypeInfo, and remove unused BKE API. |
Revision c25f6e9 by Bastien Montagne March 6, 2020, 10:27 (GMT) |
Cleanup: Object: remove unused BKE API. |
Revision af5d2e3 by Bastien Montagne March 6, 2020, 10:27 (GMT) |
Cleanup: Scene: New IDTypeInfo, and remove unused API from BKE. |
Revision 7d9a5b7 by Sybren A. Stüvel March 6, 2020, 10:05 (GMT) |
Fix T73254: Drivers with the object.dimension variable are not updated This fixes an issue where drivers using `object.dimension` only add a dependency on `GEOMETRY` to the depsgraph, whereas they should also depend on `TRANSFORM`. This patch adds a new no-op operation that depends on the geometry and transform components to the Parameters component. An alternative implementation would be to have `RNANodeQuery::construct_node_identifier` return multiple node identifiers. However, this would spread throughout the depsgraph code and unnecessarily force many other functions to either return or handle multiple nodes where in 99.999% of the time a single node would suffice. The new `DIMENSIONS` node is added for each object. An upcoming patch will go over all no-op operation nodes and remove them from the depsgraph. Since this is a more dangerous operation, it'll be reviewed separately. Differential Revision: https://developer.blender.org/D7031 |
Revision abd33a3 by Sebastián Barschkis March 6, 2020, 10:04 (GMT) |
Fluid: Cleanup naming for emmission bounding box Since the bounding boxes are now also being used for effector objects, there needs to be a better name for them. Instead of calling them EmissionMap, which caters only to emission objects, they will now be called FluidObjectBB. |
Revision 2e7cfb8 by Campbell Barton March 6, 2020, 10:02 (GMT) |
Revision e6aa349 by Jeroen Bakker March 6, 2020, 09:28 (GMT) |
CodeCleanup: eevee_materials Use Struct Assignments |
Revision 0b9c1c2 by Philipp Oeser March 6, 2020, 08:47 (GMT) |
Cleanup: typo in function name contect -> context |
|