Revision 54fa504 by Julian Eisel July 7, 2021, 17:38 (GMT) |
Cleanup: Correct comment in earlier commit (f4cb3ccd9c07) Comment was based on an older version of the patch. |
Revision 2b41b2f by Julian Eisel July 7, 2021, 17:26 (GMT) |
Cleanup: Code-style correction in Ghost (Clang-format) |
Revision f4cb3cc by Julian Eisel July 7, 2021, 17:24 (GMT) |
Assets: Keep assets active after renaming, ensure they are scrolled into view When renaming an ID somewhere in the UI after marking it as asset, it would often get lost in the Asset Browser (scrolled out of view). It would also get deactivated. This patch makes sure that if an asset is active whose ID gets renamed, it is kept active and visible. That is important for a fast, uninterrupted asset creation workflow, where users often rename assets while working in the asset browser. Old code stored the new file-name to identify a file after re-reading the file-list after the rename. For assets that doesn't work because there may be multiple assets with the same name. Here the simple solution of just storing the pointer to the renamed ID is chosen, rather than relying on the file-name in this case. (Should be fine with undo, since the ID * reference is short lived, it's not stored over possible undo steps. If it turns out to have issues, I rather switch to a rename_id_uuid, but keep that separate from the file->uid). Reviewed by: Sybren St�vel Differential Revision: https://developer.blender.org/D11119 |
Revision fb98f22 by Ray molenkamp July 7, 2021, 16:55 (GMT) |
MSVC: Fix build issue with TBB TBB includes in windows.h which will by default define min/max macro's by default, which collide with stl's min/mac functions. this change instructs windows.h not to add the offending macros |
Revision 13672f8 by Julian Eisel July 7, 2021, 16:41 (GMT) |
Cleanup: Move file deselection function to more appropriate file `filesel.c` seems like the place that should contain file selection functions. Previously it was in `file_ops.c` because that was the only file that actually used it. But a followup commit needs it from a different file. |
Revision 6b08690 by Julian Eisel July 7, 2021, 16:41 (GMT) |
File Browser: Select files and directories after renaming (Note: This is an alternative version for D9994 by @Schiette. The commit message is based on his description.) Currently, when a new directory is created it is not selected. Similarly, when renaming an existing file or directory, it does not remain active/highlighted blue after renaming. This change makes sure the file or directory is always selected after renaming, even if the renaming failed or was cancelled. This has some usability advantages: - Open the newly created directory without having to select it (ENTER). - If you make a naming mistake, you can immediately fix that (F2) without having to click it again. - If you create a directory and forget to name it, you can fix that (F2) without having to select it. - This is consistent with many common File Browsers. Further, selecting the item even after renaming failed or was cancelled helps keeping the file in focus, so the user doesn't have to look for it (especially if the renaming just failed which the user may not notice). In other words, it avoids disorienting the user. Also see D11119 which requires this behavior. We could also always select the file/directory on mouse press. This would make some hacks unnecessary, but may have further implications. I think eventually that's what we should do though. |
Revision cffbfe5 by Sergey Sharybin July 7, 2021, 12:22 (GMT) |
Fix crash accessing sequencer strips Was caused by recent clange sequences_all iterator in RNA (D11793). |
Revision ecbf838 by Christian Rauch July 7, 2021, 12:21 (GMT) |
Cleanup: comment on source of button event codes |
Revision 0153e99 by Jacques Lucke July 7, 2021, 09:20 (GMT) |
Geometry Nodes: refactor logging during geometry nodes evaluation Many ui features for geometry nodes need access to information generated during evaluation: * Node warnings. * Attribute search. * Viewer node. * Socket inspection (not in master yet). The way we logged the required information before had some disadvantages: * Viewer node used a completely separate system from node warnings and attribute search. * Most of the context of logged information is lost when e.g. the same node group is used multiple times. * A global lock was needed every time something is logged. This new implementation solves these problems: * All four mentioned ui features use the same underlying logging system. * All context information for logged values is kept intact. * Every thread has its own local logger. The logged informatiton is combined in the end. Differential Revision: https://developer.blender.org/D11785 |
Revision 77834af by Jacques Lucke July 7, 2021, 08:56 (GMT) |
Fix T89397: animation in geometry nodes modifier does not update The geometry nodes modifier uses id properties for the inputs to node groups. That is because the set of properties changes depending on which geometry node group is selected. The animation was not updated correctly because the `ANIMATION_EVAL` depsgraph node was not evaluated, because nothing depended on it in the depsgraph. This patch makes sure that the proper link to the geometry component is inserted. Differential Revision: https://developer.blender.org/D11831 |
Revision 3fe0088 by Dalai Felinto July 7, 2021, 08:41 (GMT) |
Fix T89559: Outliner shows extra view layer column when it shouldn't This issue happened because of some miscommunication during the original patch review. Since we have the parent element in other outliner modes (Blender File, Data API) I was on the fence here. Rolling this back now so that when Show All View Layers is off we don't see the current View Layer top element. The fix is simple, but it was better to format the code around to follow the style in this file. Differential Revision: https://developer.blender.org/D11830 |
Revision 8f94724 by Hans Goudey July 7, 2021, 04:33 (GMT) |
Cleanup: Sort nodes alphabetically |
Revision 89831fa by Campbell Barton July 7, 2021, 04:08 (GMT) |
Cleanup: update filename references |
Revision 0b1050b by Hans Goudey July 7, 2021, 04:00 (GMT) |
Geometry Nodes: Rename nodes for clarity between mesh and curve Rename the mesh circle to "Mesh Circle", mesh line to "Mesh Line", and mesh subdivide to "Mesh Subdivide". Previously they looked exactly the same in the search menu, and the nodes themselves had the same label. This is a "deep" rename that also renames internal defines and function names to match the UI. |
July 7, 2021, 03:58 (GMT) |
Cleanup: Moving `mesh_evaluate` and `mesh_normals` to C++ No functional changes. Reviewed By: HooglyBoogly Ref D11744 |
Revision 5bbbc98 by Campbell Barton July 7, 2021, 03:42 (GMT) |
Cleanup: spelling in comments |
July 7, 2021, 03:24 (GMT) |
Geometry Nodes: Curve Endpoints Node This node is quite similar to the curve to points node, but creates points for only the start and end of each spline. This is a separate node because the sampling from the curve to points node don't apply, and just for ease of use. All attributes from the curves are copied, including the data for instancing: tangents, normals, and the derived rotations. One simple use case is to make round caps on curves by instancinghalves of a sphere on each end of the splines. Differential Revision: https://developer.blender.org/D11719 |
Revision 31e6f0d by Campbell Barton July 7, 2021, 02:35 (GMT) |
makesdna: fix parsing 'const', 'struct', 'unsigned' as a prefix DNA parsing assumed any identifier which starts with (`struct`, `unsigned`, `const`) was that identifier. So a struct called `constTest foo;` would be parsed as `est foo;`. Add utility function to check identifiers are not part of a larger identifier. This also supports skipping these identifiers in any order. Reviewed By: LazyDodo Ref D11837 |
Revision f85ef3d by Campbell Barton July 7, 2021, 02:34 (GMT) |
Cleanup: clang-tidy, unused function |
Revision cd38dae by Hans Goudey July 7, 2021, 02:09 (GMT) |
Fix T89702: Curve to points node assert on single point spline This function could be refactored slightly if we assumed the input was always sorted, but a special for a single point input is also fine. |
|