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-06-02Fix typo in Linux appdatav2.93.0Dalai Felinto
2021-06-02Docs: 2.93 release description for Linux appdataDalai Felinto
2021-06-01Blender version bump 2.93 release.Jeroen Bakker
2021-05-31Fix T88670: Load Previous Settings does not copy symlinksBrecht Van Lommel
The same code existed in 2.82 and earlier so this should be safe. Removing the custom implementation of shutil.copytree in f34d5d9 did not correctly add back the option to copy symlinks.
2021-05-31Fix (studio-reported) crash in collection management code.Bastien Montagne
Code checking for potential collection loop dependencies can be called in cases where we cannot guarantee that there is no NULL pointers, so we need to check those. Was already done for objects. NOTE: doubled-checked by @jbakker, thanks.
2021-05-31Added v2.93 pipeline config for new buildbot.Jeroen Bakker
2021-05-29GPencil: Fix unreported random rotation for single point with textureAntonio Vazquez
When using ``Path`` alignment, if the stroke has one point the texture rotates randomly when move the viewport. This was because with one point is impossible to calculate a path. Now, if the stroke has only one point, the texture for this stroke is aligned to Object.
2021-05-28EEVEE: Fix NaN caused by ensure_valid_reflection()Clément Foucault
This was caused by unsafe sqrt calls. Fixes T86578 white artifacts in EEVEE Reviewed By: brecht, dfelinto Differential Revision: https://developer.blender.org/D11428
2021-05-28Fix T88601: Attribute Compare boolean doesn't expose socketHans Goudey
While we could make this node work for boolean inputs in the future, currently it's really just designed to compare "float-like" inputs. Many comparison modes don't even make sense for boolean inputs. Therefore, the simplest fix for this bug is just to disable the boolean attribute input modes for this node. Differential Revision: https://developer.blender.org/D11427
2021-05-28Fix incorrect Denoise node SSE 4.1 warning on macOS IntelBrecht Van Lommel
2021-05-28Fix T88635: VSE: Select Linked gives unpredictable resultsPhilipp Oeser
Caused by {rB66923031e6f2}. Code would process unselected sequences and skip selected, needs to be the other way around. Maniphest Tasks: T88635 Differential Revision: https://developer.blender.org/D11424
2021-05-28Docs: Update RNA to User Manual mappingsAaron Carlisle
2021-05-27Revert "EEVEE: Ensure Reflection: Use new implementation"Clément Foucault
Both before and after can have artifacts with some normal maps, but this seems to give worse artifacts on average which are not worth the minor performance increase. This reverts commit 5c4d24e1fd752a8a89d44d05e8e3f9b31f2d7db0. Ref T88368, D10084
2021-05-26Revert "Cycles: optimize ensure_valid_reflection(), reduces render time by ↵Brecht Van Lommel
about 1%" Both before and after can have artifacts with some normal maps, but this seems to give worse artifacts on average which are not worth the minor performance increase. This reverts commit 21bc1a99baa765d81c3203fd2e451681b8a7fd55. Ref T88368, D10084
2021-05-26Fix buildbot CUDA/OptiX warnings on macOSBrecht Van Lommel
Explicitly disable these, rather than relying on them not being found. Also, don't duplicates the architectures list.
2021-05-26Fix: GPencil mask shows in view layer renderFalk David
Currently when rendering the view layer of a grease pencil layer that has a mask layer attached, the mask layer would show in the rendered image. This is inconsistent with the default behaviour with no mask on the grease pencil layer, because it would only render what's on that particular layer and not anything from any other layer. This patch makes the masks invisible in the render. Note: This might seem like not the best solution, but because masks are just regular grease pencil layers, it's tricky to pass this edge-case to the drawing code. The way it is handled right now is the best I could come up with, without making changes that could affect something else. Reviewed By: antoniov Maniphest Tasks: T88202 Differential Revision: https://developer.blender.org/D11403
2021-05-26Fix T88250: crash when instancing object in disabled collectionJacques Lucke
This issue was that `BKE_object_eval_uber_data` was not called for the text object, because its geometry was not dependent upon and its `is_directly_visible` tag was `false`. The crash happens in rendering code, because the evaluated data is missing. This not only affects text objects, but all object types that have a geometry component that geometry nodes does not support yet. The solution is to just add the missing dependencies. Differential Revision: https://developer.blender.org/D11385
2021-05-26Fix T88251: "Operator Cheat Sheet" CrashPhilipp Oeser
Caused by {rB919558854d62}. Same fix as in {rBdc8a43c8755a} -- let RNA enum item callbacks check for NULL context. The NULL context is used to extract items for document generation. Maniphest Tasks: T88251 Differential Revision: https://developer.blender.org/D11391
2021-05-25Fix T88551: Crash accessing uninitialized tool settingsRichard Antalik
Tool settings for sequencer were not initialized, which caused crash when adding strips. There was fix for same issue in versioning rB0f81dafe6cec, but subversion was not bumped, so files with uninitialized tool settings may still exist. Add `SEQ_tool_settings_get()` accessor function that will initialize tool settings if they are missing. Change operator code to use `SEQ_tool_settings_fit_method_get()` function instead of accessing tool settings directly Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D11383
2021-05-24Fix T88478: Fallback to dolly not working when moving the camera in camera viewGermano Cavalcante
This fallback is an old hack. It is difficult to have an orientation convention when several random factors determine which one should be used. In this case, to "fix" the problem, a new behavior had to be implemented. Now the redo when moving the camera in `Camera View` has the default orientation as `View`.
2021-05-24Fix (unreported): Automatic transform contraint not being disabledGermano Cavalcante
It does not make sense to maintain automatic constraint selection when you manually set the constraint.
2021-05-24Cleanup: Rename transform enum itemsGermano Cavalcante
Make them more descriptive.
2021-05-21Fix T87357: Missing update after removing socketJacques Lucke
The CoW copy of the node group was not updated correctly after it changed. Arguably, tagging the node tree could also be part of `ntreeUpdateTree` (which needs to be called after changes to the node tree anyway). However, there are many instances where the depsgraph is tagged explicitly after `ntreeUpdateTree` is called, so it should be fine here as well. This is similar to what is done in `snode_dag_update`. Differential Revision: https://developer.blender.org/D11342
2021-05-21Fix T88227: Eevee not working on AMD 535 cards.Jeroen Bakker
Enabled HQ normals workaround for this specific configuration.
2021-05-20Fix T87854: Add clamp option to Path AnimationSebastian Parborg
Previously, the "follow path constraint" and "follow parented curve" were clamped. This restriction was lifted in rBcf2baa585cc8 Add back an option to get the old behavior in the "Path animation" settings. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D11263
2021-05-20macOS build: set minimum deployment target correctlyAnkit Meel
Make `CMAKE_OSX_DEPLOYMENT_TARGET` independent of buildbot settings and always set to `OSX_MIN_DEPLOYMENT_TARGET`. That fixes the launch error on OS older than buildbot's. Remove unused `MACOSX_DEPLOYMENT_TARGET`. Fix T88419 Diff D11323
2021-05-20Fix T87316: No undo push for clicking on attribute nameHans Goudey
Since there is a special callback for assigning the name from the search box, and the callback doesn't call an operator or something else that would do an undo push, I think the solution is to do it manually here. Another option would be adding the button flag "UI_BUT_UNDO", which isn't set by default for search buttons, but that gives us ugly names for the undo steps, so an explicit push is better in this case. Differential Revision: https://developer.blender.org/D11190
2021-05-20Fix T87947: Trasnform: Keyboard input uses view orientationGermano Cavalcante
When activated in modal, `translate`, `resize`, `rotate`, `shear` and `edge_rotate_normal` use a different orientation than the set in scene. This orientation needed to match since some of these modes can be switched during operation. The default orientation for these modes was `V3D_ORIENT_VIEW`. And this changed when finishing the `translate` and `resize` to `V3D_ORIENT_GLOBAL`. But this could cause inconsistencies when inputting values from the keyboard. The solution now is to change the orientation when you change the mode. --- Note: Although the user can expect the value entered to reflect the orientation set in the scene, it would require a lot of changes and would not be really useful.
2021-05-20Cleanup: Use enum to indicate the current orientationGermano Cavalcante
Improves readability.
2021-05-20Fix T88345: Blender crash on GPUFrameBuffer creationGermano Cavalcante
Misuse of indexes. `color_attachements` has only color ones while `config` has color and depth.
2021-05-20Fix T88365: GPUTexture.read returning a buffer with wrong sizeGermano Cavalcante
The pixel components were not being considered.
2021-05-20Fix T88313: GPencil reproject operator projecting on the wrong surfaceGermano Cavalcante
`ray_start` must start at the position of the gpencil point.
2021-05-20Fix T86193: Bake Action, wrong rotation order for bonesdreamertooth
Use bone rotation order to compute the baked rotation. This fixes a bug introduced in rB0e85d701c654, where the object rotation order was applied to the bone. Maniphest Tasks: T88359, T86193 Reviewed By: sybren, GuiltyGhost, #animation_rigging Differential Revision: https://developer.blender.org/D11282
2021-05-19Fix T87793: Cycles OptiX crash hiding objects in viewport renderBrecht Van Lommel
2021-05-19Cycles OpenCL: disable AO preview kernelsBrecht Van Lommel
These seem to be causing some stability issues, and really are just not that useful in practice. Compiling them is slow already, so it does not improve the user experience much to show an AO preview if it's not nearly instant.
2021-05-19Blender LTS: match download urls with latest changes in buildbot.Jeroen Bakker
2021-05-19Fix T88167: Regression: no tooltip for syringe/picker, during picking objectPratik Borhade
Fix T88167. Caused by {rB97defd9cd79b6e3ed0e52481a7078107dbe0522b} `(BLI_rcti_isect_pt` used here to confirm if cursor position is in between active region boundary. Subtracting min region boundary from the mouse position before the check, fails the condition. `mval[2]` introduced to hold the region relative mouse position. Reviewed By: Severin Maniphest Tasks: T88167 Differential Revision: https://developer.blender.org/D11224
2021-05-19EEVEE: Subsurface Node: Fix inverted texture blur inputClément Foucault
Fixes T86097 EEVEE Subsurface Node give blurry edges
2021-05-19EEVEE: Geometry info -> tangent: Make consistent with Cycles for hairMikhail Matrosov
Changes output for geometry info node in Eevee to be consistent with Cycles (w/o osl) Before this patch Eevee outputs Z-tangent even for hair. This patch changes it to output hair tangent (growth direction). Hair tangent is impossible to derive otherwise from normal or view direction. Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D10841
2021-05-19Fix T88362: Lineart countour rendering errorYimingWu
This is caused by lacking of consideration of OB_DUPLICOLLECTION in updateDepsgraph() in the modifier. Reviewed by: Antonio Vazquez (antoniov) https://developer.blender.org/D11292
2021-05-18Fluid: Updated Mantaflow source filesSebastián Barschkis
Includes update for OpenVDB file IO, i.e. fixes an issue with compression flag combination that resulted in random segfaults. Other changes: Cleanup and formatting.
2021-05-18Fix build warningRichard Antalik
Value of the size argument in `strncat` is too large, might lead to a buffer overflow. Change the argument to be the free space in the destination buffer minus the terminating null byte. Introduced in 5368859a669d Reviewed By: Sergey Differential Revision: https://developer.blender.org/D11289
2021-05-18Fix T88370: GPencil render crash when use viewlayer and maskingAntonio Vazquez
When filtering the render using view layer, could be possible the mask is NULL and just need to be ignored.
2021-05-18Fix ocean modifier giving different result on Arm than x86Brecht Van Lommel
And re-enable the test on macOS Arm. Ref T78710
2021-05-18Tests: Disabled physics ocean test on macOS arm64Sebastián Barschkis
Test is failing and needs further investigation.
2021-05-18Fix error calling select-camera without a 3D viewCampbell Barton
2021-05-18Fix error in grease pencil flip color operatorCampbell Barton
- Used try/except instead of a poll function. - The error case referenced a non-existent error handling module. Prefer poll functions over exception handling where possible, also having an operators logic in a try block isn't good practice as it can hide more serious errors in the code. Note that duplicate pencil settings access should be moved into a utility function. This can be part of a separate cleanup.
2021-05-18Fix T88026: Repeated switch to rendered viewport crashesCampbell Barton
Resolve ownership ambiguity with shared physics pointers. Previously, LIB_ID_CREATE_NO_MAIN allowed pointer sharing with the source ID so physics caches can be shared between original and evaluated data: (Object.soft.shared & Object.rigidbody_object.shared). This only worked properly for LIB_TAG_COPIED_ON_WRITE ID's, as LIB_TAG_NO_MAIN can be used in situations where the original ID's lifetime limited by it's original data. This commit adds `LIB_ID_COPY_SET_COPIED_ON_WRITE` so ID's only share memory with original data for ID's evaluated in the depsgraph. For all other uses, a full copy of physics data is made. Ref D11228#287094
2021-05-18Cleanup: clang-formatCampbell Barton
2021-05-18Fix T88230: Properly handle Face Set visibility in Expand Face Sets editingPablo Dobarro
Expand is not expected to update the visibility state of the PBVH, only the Face Sets IDs. If visibility updates are made accidentally, PBVH rendering breaks. In order for this to work properly, the following fixes are needed: - Expand should always check for active component before attempting to modify a Face Set ID - Expand should always check the visibility state on original_face_sets, as it is the array that contains the visiblilty state that corresponds with the current state used for PBVH rendering. This implies that after any modification done by Expand, the visibility state of ss->face_sets and expand_cache->original_face_sets should match (like in any other tool that does not modify visibility). - Expand should never modify the Face Set ID of a poly that is hidden in expand_cache->original_face_sets. - When deleting an ID, hidden Face Sets should be skipped when picking IDs for content filling. This avoids introducing hidden IDs back into the visible geometry even after updating its visibility state. Reviewed By: JulienKaspar, JacquesLucke Maniphest Tasks: T88230 Differential Revision: https://developer.blender.org/D11243