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-09-20Made changes as per revision suggestionssoc-2021-curve-filletdilithjay
2021-09-20Merge branch 'master' into soc-2021-curve-filletdilithjay
2021-09-14Set handle type of outer handles of arc to Vectordilithjay
2021-09-14Removed redundancy in spline position calculationsdilithjay
2021-09-14Fixed out of scope errordilithjay
2021-09-14Made changes according to revision suggestionsdilithjay
2021-09-14Switched radius mode to take a field inputdilithjay
2021-09-14Made changes according to revisiondilithjay
2021-09-14Merge branch 'master' into soc-2021-curve-filletdilithjay
2021-09-14Doc: expand on comment for why bound-box access could cause issuesCampbell Barton
2021-09-14UI: keep navigation gizmos visible during modal operatorsCampbell Barton
Hiding viewport navigation gizmos caused the UI to "flicker" unnecessarily, the axis could also be useful as a reference. Resolves T73684
2021-09-14Update RNA to User Manual MappingsAaron Carlisle
2021-09-13Asset Template: Extra UI optionsDalai Felinto
This allow users to show/hide: * Library name / refresh. * Assets names. * Filter. To set them in Python use: display_options={'NO_NAMES', 'NO_FILTER', 'NO_LIBRARY'} With contributions by Julian Eisel. Differential Revision: https://developer.blender.org/D12476
2021-09-13Cleanup: Remove duplicate codeRichard Antalik
Class SEQUENCER_PT_overlay as defined twice.
2021-09-13Fix T90736: Problem applying scale to curvesGermano Cavalcante
Curve Points of handle of type `Auto` on curves not uniformly scaled cause the shape of the curve to be modified after applying the scale. So change these handles to `Aligned` in these cases. Reviewed By: campbellbarton Maniphest Tasks: T90736 Differential Revision: https://developer.blender.org/D12281
2021-09-13Cleanup: fix typo in commentPhilipp Oeser
2021-09-13Fix T91320: Support flipping sides in mesh bisectPhilipp Oeser
Changing active side was introduced in {rB7ff6bfd1e0af} but was never working for tools/operators other than the sculpt line mask tool. While for most tools/operators this actually does not make sense, the bisect tool/operator can actually benefit from it. thx @campbellbarton for additional input! Maniphest Tasks: T91320 Differential Revision: https://developer.blender.org/D12473
2021-09-13Fix straightline gesture snapping not working for modal toolsPhilipp Oeser
This was implemented in {rB14d56b4217f8} but was never working for tools/operators other than the sculpt line mask tool. To be precise, the preview actually snapped but the operations (e.g. mesh bisect, vertex weight gradient) still happened "unsnapped" in modal. For the sculpt line mask tool this wasnt a problem, because it only draws a preview while modal, the actual mask was only applied later. This solves part one of T91320 (snapping), sculpting also introduced flipping in {rB7ff6bfd1e0af} which does not make much sense for all tools, but in bisect this could actually be supported, will add that in a separate Diff. ref T91320 Maniphest Tasks: T91320 Differential Revision: https://developer.blender.org/D12470
2021-09-13UI: Freestyle UI UpgradeIyad Ahmed
Suggested and funded by [[ https://blendernpr.org/| BNPR ]], this patch aims to update the long not-updated Freestyle UI **Why do the UI upgrade:** - Freestyle UI doesn't match the rest of Blender UI, it was neglected for a long time - The current UI makes Freestyle workflows tedious and distracting **Highlights:** For before/after screenshots see https://developer.blender.org/D10505 Video: https://youtu.be/qaXhuJW_c9U Workflow video (older revision): https://youtu.be/IqbjIq_A800 Doc patch (WIP): https://github.com/bnpr/FreestyleUIUpgrade/blob/main/freestyle-ui-upgrade-docs.diff Reviewed By: #user_interface, Blendify, HooglyBoogly, Severin Differential Revision: https://developer.blender.org/D10505
2021-09-13Templates: Set more user preference settings to be swappedDalai Felinto
* Splash Disable * Show gizmo navigate * ui scale It is a bit arbritrary now. So those are the flags I'm setting up for the Blender 101 project (T90025). Differential Revision: https://developer.blender.org/D12474
2021-09-13Cleanup: Packedfile don't repeat yourself.Jeroen Bakker
Introduced `BKE_packedfile_unpack` that is called from the specialized implementation for Image, Sound, Font, Volume etc. This is in preparation for T91252.
2021-09-13Build: show better "make update" error message when in detached HEAD stateBrecht Van Lommel
2021-09-13Fix: fix equality operator for fieldsJacques Lucke
Instead of comparing the referenced field node by pointer, compare the nodes directly instead. This is important because different field nodes might be the same semantically.
2021-09-13Various UI messages fixes and updates.Bastien Montagne
2021-09-13Nodes: move some texture nodes to c++Jacques Lucke
This is necessary to be able to use them in geometry nodes.
2021-09-13Fix `make_utils.py` recent API breackage.Bastien Montagne
rB546314fc9669 broke `svn_libraries_base_url` utils API compatibility for no good reasons, making new `branch` argument explicitely optional. Reported on chat by Michael Kowalski (@makowalski), thanks!
2021-09-13Fix regression test after recent fixSergey Sharybin
Was cased by 9b2b32a3338.
2021-09-13Fix T91311: incorrect batch generation for instancesJacques Lucke
This was a mistake in {rB5a9a16334c573c4566dc9b2a314cf0d0ccdcb54f}.
2021-09-13Fix T84638: Wrong scale for primitives with radiusFalk David
Creating some primitives allows for a scale value (via python) that will scale the object accordingly. For objects with a radius parameter (like cylinders, spheres, etc.) passing a scale different to (1,1,1) would result in unexpected behavior. For example: `>>> bpy.ops.mesh.primitive_uv_sphere_add(radius=2, scale=(1,1,2))` We would expect this to create a sphere with a radius of 2 (dimensions 4,4,4) and then be scaled *2 along the z-axis (dimensions 4,4,8). But this would previously create a scaled sphere with dimensions (2,2,4). The scale was simply divided by two. Maybe because the "radius" parameter for creating the primitives was confusingly named "diameter" (but used as the radius). The fix adds a scale parameter to `ED_object_new_primitive_matrix` and also renames the wrongly named "diameter" parameters to "radius". Reviewed By: campbellbarton Maniphest Tasks: T84638 Ref D10093
2021-09-13Cleanup: clang-formatCampbell Barton
2021-09-13GPUShader: Expose name for debugging & identifying shadersJon Denning
Added optional `name` argument to `GPUShader` constructor (defaults to `pyGPUShader`), and added `name` getter to `GPUShader`. Ref D12393 Reviewed By: campbellbarton, jbakker
2021-09-12Cleanup: early return from smoothview when the view is unchangedCampbell Barton
2021-09-12Cleanup: spellingCampbell Barton
2021-09-11Cleanup: Remove no-op/unused codeHans Goudey
2021-09-11Geometry Nodes: Support modifier on curve objectsHans Goudey
With this commit, curve objects support the geometry nodes modifier. Curves objects now evaluate to `CurveEval` unless there was a previous implicit conversion (tessellating modifiers, mesh modifiers, or the settings in the curve "Geometry" panel). In the new code, curves are only considered to be the wire edges-- any generated surface is a mesh instead, stored in the evaluated geometry set. The consolidation of concepts mentioned above allows remove a lot of code that had to do with maintaining the `DispList` type temporarily for modifiers and rendering. Instead, render engines see a separate object for the mesh from the mesh geometry component, and when the curve object evaluates to a curve, the `CurveEval` is always used for drawing wire edges. However, currently the `DispList` type is still maintained and used as an intermediate step in implicit mesh conversion. In the future, more uses of it could be changed to use `CurveEval` and `Mesh` instead. This is mostly not changed behavior, it is just a formalization of existing logic after recent fixes for 2.8 versions last year and two years ago. Also, in the future more functionality can be converted to nodes, removing cases of implicit conversions. For more discussion on that topic, see T89676. The `use_fill_deform` option is removed. It has not worked properly since 2.62, and the choice for filling a curve before or after deformation will work much better and be clearer with a node system. Applying the geometry nodes modifier to generate a curve is not implemented with this commit, so applying the modifier won't work at all. This is a separate technical challenge, and should be solved in a separate step. Differential Revision: https://developer.blender.org/D11597
2021-09-11Calm Warning: Unused VariableHarley Acheson
Calms warning for unused variable in `constraint_copy_to_selected_poll` by using UNUSED_VARS. See D12453 for further details Differential Revision: https://developer.blender.org/D12453 Reviewed by Campbell Barton
2021-09-11Compositor: Full frame previewsManuel Castilla
Adds full frame implementation to PreviewOperation. Part of T88150.
2021-09-11Compositor: Fix crash when hashing unconnected operationsManuel Castilla
It was causing some tests to fail when enabling Full Frame mode.
2021-09-11Geometry Nodes: add field support for socket inspectionJacques Lucke
Since fields were committed to master, socket inspection did not work correctly for all socket types anymore. Now the same functionality as before is back. Furthermore, fields that depend on some input will now show the inputs in the socket inspection. I added support for evaluating constant fields more immediately. This has the benefit that the same constant field is not evaluated more than once. It also helps with making the field independent of the multi-functions that it uses. We might still want to change the ownership handling for the multi-functions of nodes a bit, but that can be done separately. Differential Revision: https://developer.blender.org/D12444
2021-09-11Cleanup: use nullptrJacques Lucke
2021-09-11Functions: store cursors to previous instructionsJacques Lucke
Now an instruction knows the cursors where it is inserted instead of just the instruction that references it. This has two benefits: * An instruction knows when it is the entry instruction. * The cursor can contain more information, e.g. if it is linked to the true or false branch of a branch instruction. This also simplifies updating the procedure in future optimization passes.
2021-09-11Cleanup: Rename variables, simplify logicHans Goudey
Mostly renaming the variables to improve line wrapping. But also the "foreach_attribute" loops look simpler now. Also use `Spline::copy_base_settings` and don't bother with an extra call to reallocate the attribute arrays.
2021-09-11Geometry Nodes: Support "Evaluated" mode in Resample Curve nodeHans Goudey
Just like the curve to points node, this mode outputs point locations based on the input curve's evaluated points (the points you see in the viewport). This is expected to be faster, since it doesn't have to sample equal positions on the result, and it's also consistent with the existing choices in the curve to points node.
2021-09-11Nodes: Add vector min/max support to new socket builder APIHans Goudey
Also use it to fix an incorrect min and max in the cube mesh primitive node.
2021-09-11UI: Quad View Option Names ImprovedNikhil Shringarpurey
Improvements to Quad View options' titles and descriptions. See D12381 for more details. Differential Revision: https://developer.blender.org/D12381 Reviewed by Hans Goudey and Campbell Barton
2021-09-10Cleanup: Split legacy node type definesHans Goudey
2021-09-10Fix: Incorrect file subversion for geometry node versioningHans Goudey
rBe2f99c338bd57 should have used the subversion currently defined in Blender, instead it used one lower, so some files didn't have the versioning applied.
2021-09-10Revert startup.blend changes from commit a00507c482e2Brecht Van Lommel
It appears an old version of this file was committed by accident. The intended change to remove sculpt layers was done in versioning code and does not require a modified startup.blend.
2021-09-10Fix Constraints not updating on move in stackHenrik Dick
Flag the changed object and its bones to update after moving a constraint in the stack up or down. The two operators for move up and move down seem to be unused, but I notices they had the same problem, so I added the update there as well. Reviewed By: sybren Differential Revision: https://developer.blender.org/D12174
2021-09-10Merge branch 'master' into soc-2021-curve-filletdilithjay