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-04-21Geometry Nodes: add method to get attribute by name and typeJacques Lucke
This is needed by the upcoming Attribute Transfer node. It changes its behavior based on what domain the attribute is on.
2021-04-21Geometry Nodes: extract mesh surface sampling functions to separate fileJacques Lucke
2021-04-21Functions: add slice method for generic spansJacques Lucke
2021-04-21Geometry Nodes: add utility to convert CPPType to static typeJacques Lucke
2021-04-21Merge branch 'blender-v2.93-release'Jacques Lucke
2021-04-21Fix T87659: crash when creating reroute loop in geometry nodesJacques Lucke
This was a regression introduced in rB0ff3f96a1b0193d69dae5ca69e7c93d6cdf34558.
2021-04-21UI: Use proper close file dialog for "Restore Last Session"Julian Eisel
Was showing a simple confirm dialog, even if the file didn't contain unsaved changes. The confirm dialog would also show up when choosing "Restore Last Session" from the splash screen right after startup, which is weird. Instead show the proper file closing dialog that allows saving, but only if there are actually unsaved changes.
2021-04-21Cleanup: Deduplicate file closing dialog logicJulian Eisel
Was doing almost the same thing in two places, plus I need the same for a third case. So better have a helper function for it.
2021-04-21Cleanup: Create/use types for generic WM callbacksJulian Eisel
Makes it less of a hassle to pass these callbacks around as function arguments, and deduplicates their signature when doing so.
2021-04-21Merge branch 'blender-v2.93-release'Philipp Oeser
2021-04-21Fix T87677: Add primitive tools produce wrong sized objects after changing ↵Philipp Oeser
values in 'Adjust Last Operation' Always use the defaults here (radius, depth etc), since desired bounds have been set interactively, it does not make sense to use a different value from a previous command. The Cube tool has already seen a fix for this in rB26e5718e29a7, but Cone/UVSphere/Cylinder/IcoSphere havent. Maniphest Tasks: T87677 Differential Revision: https://developer.blender.org/D11038
2021-04-21Fix T86968: Last UV factor in cyclic strokesFalk David
The UV factor of the last point of a cyclic stroke was using the factor of the first point leading to unwanted scaling artifacts. The fix sets the uv factor of the last point to the currect value (last UV factor + length between last and first point). Reviewed By: antoniov, fclem Maniphest Tasks: T86968 Differential Revision: https://developer.blender.org/D10850
2021-04-21Merge branch 'blender-v2.93-release'Philipp Oeser
2021-04-21Fix T87640: Grease Pencil layer visibility/locking not synchronized from ↵Philipp Oeser
Dope Sheet to Properties Properties Editor is a bit more picky (compared to the Outliner for example) when it comes to listening to grease pencil notifiers -- it requires the action to be set. So when adding the notifier in the dopesheet from the channels (done in `achannel_setting_flush_widget_cb`), now add the `NA_EDITED` action. Maniphest Tasks: T87640 Differential Revision: https://developer.blender.org/D11025
2021-04-21Merge branch 'blender-v2.93-release'Philipp Oeser
2021-04-21Curve modifiers: Disable 'Apply on Spline' option if not availablePhilipp Oeser
Some curve modifiers (namely Hook, SoftBody and MeshDeform) can only work on pre-tesselated spline points. Before the modifier UI refactor in rB9b099c86123f, users would get the 'Apply on Spline' option, but disabled and with a tip explaining why this cant be changed. After rB9b099c86123f though, this button was always enabled [but disfunctional] leaving the user without an explanation why this has no effect. Now restore this functionality since it is quite important information. Additionally, this button now appears to be ON in these cases which makes more sense from the user perspective (so it does not represent the actual setting on the modifier -- this would internally be switched ON in the modifier calculation anyways though, see 'curve_get_tessellate_point') Differential Revision: https://developer.blender.org/D11029
2021-04-21Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-21Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-21Fix T87562: Keymap preferences from 2.92x ignoredCampbell Barton
Renaming presets in 01d49d1542cee0da2a7629443f9534bc5cec5a55 caused them to be treated as separate key-maps.
2021-04-21BLI_string: add a utility to replace strings using a tableCampbell Barton
Useful to simplify versioning code when identifiers need updating in multiple places.
2021-04-20Correction to previous commit: Avoid unnecessary notifierJulian Eisel
Not a big deal, but nice to avoid notifiers when no change was done.
2021-04-20Assets: Add BPY function to mark and clear assetsJulian Eisel
Adds `mark_asset()` and `clear_asset()` to ID data-blocks, e.g. `bpy.context.active_object.mark_asset()`. They essentially do the same as the mark and clear asset operators. Scripts are generally discouraged from using operators where possible, but we need to provide API functions to use instead. In this case it means scripts don't have to override context to pass an ID to the operator.
2021-04-20Merge branch 'blender-v2.93-release'Clément Foucault
2021-04-20Fix T87440 EEVEE: Specular Light Viewport Render Pass wrong behaviorClément Foucault
This was caused by the closure refactor. The radiance being masked for SSR, we need to not enable SSR when trying to render the specular color pass. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D11028
2021-04-20Core: Add do_versions file for 3.0Falk David
Differential Revision: https://developer.blender.org/D11030
2021-04-20Cleanup: commentsCampbell Barton
- Restore comment removed by accident in 8c5c55b8c9c0cb5d4b8c296f5a8ee501aabc1ead - Use doxygen syntax.
2021-04-20EEVEE: Fix unreported memory leak when toggling AO on/offClément Foucault
The `filtered_radiance` is not a texture form the texture pool. It needs manual freeing if not used.
2021-04-20Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-20Fix T86871: Crash with to_mesh() on tapered bezier curveCampbell Barton
2021-04-20Fix T87369 EEVEE: Ambient Oclussion: Firefly caused by degenerated normalClément Foucault
This was caused by some sort of degenerated normals.
2021-04-20Fix T87637: Dragging button value cancel not workingFalk David
Dragging a number button, then holding the value and pressing escape would not reset the value correctly. This was because eb06ccc32462 assumed that `data->value` and `data->startvalue` were set during dragging which they are not. The fix moves the if statement into the section where we check if a number was entered (number edit) making sure that we only cancel if the button was in "string enter" mode and that the value entered was the same as before. Reviewed By: HooglyBoogly, Severin Maniphest Tasks: T87637 Differential Revision: https://developer.blender.org/D11021
2021-04-20Merge branch 'blender-v2.93-release'Jacques Lucke
2021-04-20Geometry Nodes: skip attribute conversion if src and dst are the sameJacques Lucke
2021-04-20Merge branch 'blender-v2.93-release'Clément Foucault
2021-04-20Fix T87541 EEVEE: AO causes black outline around objects and NaN pixelsClément Foucault
It seems the pow result is unstable on some implementations. Also avoid undefined behavior by clamping aoFactor to strict positive values.
2021-04-20Merge branch 'blender-v2.93-release'Philipp Oeser
2021-04-20Fix T86809: Action Editor header not display the right action in certain ↵Philipp Oeser
scenarios If a new action is created (e.g. by inserting keyframes), the header was not garuanteed to display the right action. Notifiers were fine here, redraw took place, the editors action was just not set soon enough for the drawing. Now make sure this is set correctly by ensuring the animation context is right (same as the other editor regions do before drawing). Maniphest Tasks: T86809 Differential Revision: https://developer.blender.org/D10796
2021-04-20Geometry Nodes: support geometry nodes modifier on volume objectsJacques Lucke
Differential Revision: https://developer.blender.org/D11011
2021-04-20Cleanup: clang tidy readability-inconsistent-declaration-parameter-nameJacques Lucke
2021-04-20Cleanup: uiBut.flag had an internal flag out of the documented rangeCampbell Barton
Increase range of internal flags & order UI_SEARCH_FILTER_NO_MATCH within this range, so public button flags aren't accidentally added that overlap with internal flags.
2021-04-20Cleanup: remove redundant code/comments from BKE_mesh_nomain_to_meshCampbell Barton
2021-04-20Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-20Fix T87055: Crash applying modifier on mesh with multires dataCampbell Barton
2021-04-20PyAPI: support Operator.poll functions 'disabled' hintCampbell Barton
Python scripts can now define the reason it's poll function fails using: `Operator.poll_message_set(message, ...)` This supports both regular text as well as delaying message creation using a callback which should be used in situations where constructing detailed messages is too much overhead for a poll function. Ref D11001
2021-04-20Cleanup: add CTX_wm_operator_poll_msg_clearCampbell Barton
Call this function instead of `CTX_wm_operator_poll_msg_set(C, NULL)`
2021-04-19Merge branch 'blender-v2.93-release'Brecht Van Lommel
2021-04-19Fix crash with Alembic export after recent persistent data bugfixBrecht Van Lommel
We weren't clearing the recalc flags for that case.
2021-04-19Merge branch 'blender-v2.93-release'Brecht Van Lommel
2021-04-19Cleanup: Clang tidy, clang formatHans Goudey
2021-04-19Fix T87535, T87295: issues with new persistent data optionBrecht Van Lommel
Some persistent data code was disable due to a deeper design issue, which meant some updates were not communicated to renderers. Dependency graph updates work in two passes, once where Blender scene animation updates are done, then app handler scripts can run to make further scene modifications, and then the depsgraph is updated again to take those into account. Previously the viewport would update renderers twice when such app handler scripts were present. Now both viewport and persistent data rendering update the renderers only once, accumulating updates from both passes.