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
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2020-08-07EEVEE: Render: Fix regression caused by previous Motion blur fixClément Foucault
Caused by rB4f59e4bddcb0c06e441adf68a5f252a4e5b4b260
2020-08-07Fix T78452 EEVEE: Motion Blur: Crash when using camera switchingClément Foucault
This was caused by the ViewLayer being freed with all its engine data.
2020-08-07Fix T78160 EEVEE: Motion Blur: Bug with Follow Path animationClément Foucault
Follow path seems to not be catched by `BKE_object_moves_in_time`. For this reason, we cache all transforms for all object and check ourselves if an animation occurs. This is almost what cycles does. We also fix the rigid body case if the rigid body use deformation.
2020-08-06GPencil: Fix unreported wrong Polyline bottom tooltipAntonio Vazquez
It was mising the Wheelmouse option and the name of the tool was wrong.
2020-08-06Fix T79586: "rendering paused" not shown when viewport render starts pausedBrecht Van Lommel
2020-08-06Fix T77885: crash rendering grease pencil from compositor with multiple scenesVincent Blankfield
2020-08-06Fix Pose Brush FK mode detecting wrong rotation originPablo Dobarro
The Pose FK mode assings the rotation origin to the boundary of the last visited face set in the floodfill operation. In some cases, the topology of the model may make the flood fill operation to visit a face set as the first one (assinging it to target) and visit it again as the last one (assinging it to origin). This will make the pose brush to default the origin and target to the brush location and not to the face sets as it considers that there is only one possible boundary. This adds a GSet to ensure that a particular face set is not visited twice in the flood fill, fixing these cases. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7984
2020-08-06GPencil: Patch old files after the change in how the first frame is usedAntonio Vazquez
This patching duplicates the first frame of the layer if the first frame number is not equals to the scene first frame number. Related to T79567 Differential Revision: https://developer.blender.org/D8486 Some minor cleanup in the patch.
2020-08-06Cleanup: Remove bad level calls from space imageDalai Felinto
Groundwork for upcoming fix (D8472)
2020-08-06Cleanup: Stop accessing gpu_batch_presets_reset()Dalai Felinto
The current code is accessing this from outside the gpu "namespace". As such it should be accessing GPU_ functions, not gpu_ functions. This is also a place to centralize the XXX message that will be addressed upon refactor. So we can reuse this call in other places that need the same temporary workaround. Groundwork for upcoming fix (D8472)
2020-08-06Cycles: load OpenVDB file earlier in Blender exportBrecht Van Lommel
In an upcoming bugfix we'll use OpenVDB data structures directly to build mesh for sparse OpenVDB volumes, loading them OpenVDB grids earlier and removing any references to Blender data structures makes that easier. This also makes changes to Blender volumes to support this, so Cycles can take ownership of a grid without Blender having to keep its own reference to it. This should also be useful in a future Python API. Ref D8401
2020-08-06Move CDData debug print helper from DM to CustomData 'namespace'/files.Bastien Montagne
2020-08-06Cleanup: undeclared warningsCampbell Barton
2020-08-06Cleanup: avoid debug-only includes for BLI_assert.hCampbell Barton
Having includes in debug builds makes it possible to accidentally break release builds. Avoid this by moving calls to other modules out of BLI_assert.h into BLI_assert.c
2020-08-06Fix buffer-overflow when drawing Curve Guide objectsJulian Eisel
Was passing an array of length 3 to `where_on_path()` that expected length 4.
2020-08-06Fix T78520 EEVEE: No viewport update when changing material nodetreeClément Foucault
This was comming from rBd82c3d86155ea3c7831c7b5ef5d07bc8e2d99394
2020-08-06Fix padding when multi-editing aligned widgetsRed Mser
Similar to T58668, labels were not aligned when multi-editing widgets that are not center-aligned. Reviewed by: Hans Goudey, Julian Eisel Differential Revision: https://developer.blender.org/D8441
2020-08-06Fix T79408: ungroup operation update animation data incorrectlyJacques Lucke
Reviewers: sybren, sergey Differential Revision: https://developer.blender.org/D8464
2020-08-06Workaround release builds failingCampbell Barton
Issue caused by e9c4325515aed.
2020-08-06Fix T79309: Safe Areas are not visibleCampbell Barton
2020-08-06Fix T79575: Crash loading nested set-scenesCampbell Barton
2020-08-06Python: include Python stack trace in the crash logDaniel Bailey
This helps Python developers troubleshoot errors when Python causes a crash.
2020-08-06Fix T78698: Move cursor stuck after removing modifierJulian Eisel
The panels are rebuilt when a modifier is removed so the button handlers need to properly finish. By adding a context argument to the panel_delete function this will happen properly.
2020-08-05Fix T77517 EEVEE: Collection Holdout doesn't work in 2.90Clément Foucault
The default material was missing its init code.
2020-08-05EEVEE: Fix previous commitClément Foucault
Small mistake in rB5249a813f22f Now for fix it real!
2020-08-05Fix T78954 EEVEE: Motion Blur: Bug with hair particles on linked objectsClément Foucault
The cache key for particle system was the original Object data. But this is incorrect for particle systems as modifiers are not shared.
2020-08-05Fix file name sometimes not visible immediately after renamingJulian Eisel
Steps to reproduce were: * Open File Browser * Create a new directory * Cancel renaming with Esc File selection flags were modified during drawing when the rename button got removed, but the file name label drawing wasn't checking the modified state.
2020-08-05Fix double-click not opening directories on some touch-padsJulian Eisel
The file.execute() operator is the one that actually opened directories and files, not file.select() with the "open" option, as it was assumed when changing the keymap to double-click for opening. It only acts on the current selection though, so we have to ensure the selection is set on the first click. Now, some touch-pads have a delay until they register a click event, so the double-click would be registered instead, before the selection is set. Always select on mouse-down now and remove the unnecessary select operator call on double-click.
2020-08-05Fix T77548: Crash when using Add Object Tool with Normal Orientation and ↵Deep Majumder
zero objects in scene The crash is caused by the fact that a NULL Object pointer is passed to calculate the transform orientation, which has been set to normal. A check has been include to detect the same. Differential Revision: https://developer.blender.org/D7951
2020-08-05Fix T79370 EEVEE: Texture paint does not update during strokeClément Foucault
Was caused by rBd82c3d86155e
2020-08-05Fix T78907: Renaming file doesn't work while mouse is over file iconJulian Eisel
The icons are label buttons. Usually these are not editable and can not become active. These are draggable ones though (so dragging files can be dragged by dragging the icon) which creates an exception to this rule. So hovering the icon would activate its label and when executing the rename operator via shortcut it wouldn't get exited properly. This broke the invariant of only allowing a single active button at a time. Added an assert to check that invariant now. Letting the code to activate the text button ensure any currently active button is exited seems sensible.
2020-08-05Workbench: Fix broken id passClément Foucault
2020-08-05Fix T79509 Workbench: Object color mode broken if more than 4096 objectsClément Foucault
This was due to the new DRWShadingGroup not being saved and reused for the next objects.
2020-08-05Eevee: do not rely on the SOCK_HIDE_VALUE flag for node group sockets.Alexander Gavrilov
When disconnecting links for defaulted node group inputs, recurse into the nested node group nodes, instead of checking the socket flag. Otherwise the behavior is confusing and differs from Cycles. Differential Revision: https://developer.blender.org/D8455
2020-08-05Fix T72297: disabled buttons toggling on dragNathan Craddock
Disabled buttons would incorrectly toggle state when a drag toggle passed over them. This adds a check to prevent a drag toggle on disabled buttons. Differential Revision: https://developer.blender.org/D8476
2020-08-05Sculpt: Use vertices instead of faces to limit the grids in each PBVH nodePablo Dobarro
This uses the vertices per grid instead of quads to set the limit of grids per PBVH Node. This should create more leaf nodes in lower subdivisions levels where the duplicates count is high, producing more uniform performance across different levels. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8454
2020-08-05Fix T79524: Button alignment broken in some casesJulian Eisel
ad4928a1710f disabled alignment for too many cases. Still try to avoid aligning many items, to avoid thousands of redundant alignment calculations. But now we're much more picky adding an sub-row with alignment.
2020-08-05Fix T78412: Ctrl+Spacebar does not maximize Python console on WindowsJulian Eisel
On windows, spacebar would be passed as UTF-8 text input, despite the control key being pressed. On macOS, there already was an explicit exception for this (command key in this case), on Linux XInput already handled this case for us. Note that Alt should still allow text input, for special character sequences. Issue also happened in the Text Editor if a text data-block was set.
2020-08-05Fix T78869: denoising performance regression on WindowsBrecht Van Lommel
Optimization was disabled in this function to work around a bug in MSVC, use a different solution that does not come with such a big performance regression.
2020-08-05Fix T77346: GPU Workaround Always Render Using Main ContextJeroen Bakker
In Blender 2.90 EEVEE materials were refactored that introduced crashes on Intel GPUs on Windows. The crash happened in the `local_context_workaround` that temporary stored compiled materials in a binary form to reload it in the main GL context. It has been tested that the workaround isn't needed anymore for HD6xx GPUs, but it is still needed for HD4000. After several unsuccesfull fixes we came to the conclusion that we could not support the local context workaround and needed to come with a different workaround. The idea of this patch is that in these cases there is only a single context that is used for rendering. Threads that uses these contextes are guarded by a mutex and will block. Impact on User Level: * Due to main mutex lock the UI freezes when rendering or baking or feel less snappy Reviewed By: Clément Foucault, Brecht van Lommel Differential Revision: https://developer.blender.org/D8410
2020-08-05Fix T79520: Data Transfer modifier: crash/assert going into editmode on a ↵Bastien Montagne
source object.
2020-08-05GPUTexture: Fix missing breakClément Foucault
2020-08-05PyDoc: use glClearColor before glClear in gpu docsPhilipp Oeser
ref T79491 Maniphest Tasks: T79491 Differential Revision: https://developer.blender.org/D8471
2020-08-05Fix T79374: Render audio produces random clippingJoerg Mueller
Port of the bugfix from audaspace upstream.
2020-08-05Audaspace: port documentation bugfix from upstream.Joerg Mueller
2020-08-05Fix T79544: No sound in video sequencer preview.Bastien Montagne
Directly caused by rB2bb73787791a, but actual issue was a pre-exiting typo that never caused problems so far apparently...
2020-08-05Correct recent fix for Cycles motion blur testSergey Sharybin
Need to only compare directory name, not the whole path.
2020-08-05Fix T78630: Custom icons not grayed out in inactive layoutsJulian Eisel
For regular icons this worked because they used the text color, which was already grayed out by the caller.
2020-08-05Fix T78777: Cycles motion blur test differences between AVX/AVX2Brecht Van Lommel
This appears to be slight precision differences in the Embree implementation, simply increase the diff threshold a little for these motion blur tests.