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
path: root/source
AgeCommit message (Collapse)Author
2020-05-25Merge branch 'master' into tmp-widget-optitmp-widget-optiClément Foucault
# Conflicts: # source/blender/gpu/shaders/gpu_shader_2D_widget_base_vert.glsl
2020-05-25Merge remote-tracking branch 'origin/blender-v2.83-release'Sybren A. Stüvel
2020-05-25Fix T76897: Lamp Power Not Updating from DriverSybren A. Stüvel
Lamps were not tagged with `ID_RECALC_SHADING` when they were updated from drivers. As a result, Cycles considered the lamp as unchanged. This is resolved by having a (seemingly non-functional) callback in a new `LIGHT_UPDATE` depsgraph node. This patch unconditionally adds the `LIGHT_UPDATE` node + the relation from the lamp's PARAMETERS node. Differential Revision: https://developer.blender.org/D7822 Reviewed by: brecht
2020-05-25Fix crash when converting BMesh to Mesh with shape keysSybren A. Stüvel
The `BM_mesh_bm_to_me()` function copies shape keys from the BMesh to the Mesh. However, it tries to copy the same number of shape keys as are defined on the target mesh. Since the target mesh does not necessarily have the same number of shape keys as the BMesh, this would crash if the target Mesh has more. Found while performing some tests for {D7785}. Differential Revision: https://developer.blender.org/D7818 Reviewed by: brecht
2020-05-25Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-25Fix T77031: Blender as pymodule crashes when renderingCampbell Barton
No longer enforce WITH_HEADLESS when building as a Python module as it disables GPU access which is needed for rendering.
2020-05-25Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-25Cleanup: make formatCampbell Barton
2020-05-24Merge branch 'blender-v2.83-release'Richard Antalik
2020-05-24Fix(unreported): Crash on prefetching while transforming strip.Richard Antalik
While investigating T76274, I found crash scenario when playhead is near end frame and moving a strip. It is not as easy to reproduce, about 5% success rate, and it will be even harder after rB4066c921fbe5. Exact cause wasn't identified yet. I wanted to disable prefetching during modal operator execution in VSE, but currently I don't have any signalling method in place. Checking for G.moving seems to resolve this problem, but it doesn't adress root cause of bug. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7820
2020-05-24VR: Fix big performance bottleneck for simple scenesJulian Eisel
Blender's main loop puts the main thread to sleep for 5ms if no user input was received from the OS. We never want that to happen while the VR session is running, which runs on the main thread too. For simpler scenes, where the viewport already draws fast, this may have quite some impact. E.g. in my tests, the classroom scene went from ~55 to quite stable 90 FPS in solid mode (total render time as measured and averaged by Windows Mixed Reality utilities). With Eevee, it only went from 41 to 47 FPS. In complex files, there's barely a difference. E.g. less than 1 FPS increase in a Spring file (both Solid mode and Eevee).
2020-05-24Fix T77000: Preferences window can not be opened from script operatorJulian Eisel
The operators to open the Preferences, Driver Editor, or Info Log window did not work when executed from another operator or the Python console. Should work for all of these now. I considered using operator properties instead, so the position could be set by a script, with some fallback (e.g. current window center). But decided that's not really worth the boilerplate and decreased code readability. Can still be done if there's a need for it.
2020-05-24Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-24Fix T77003: GPencil Paint presets not initializatedAntonio Vazquez
In som ecases, the Paint was not ready when the brushes and palette were created. Now, first the paint is checked.
2020-05-23Merge branch 'blender-v2.83-release'Nathan Craddock
2020-05-23Fix T76578: Show bone visibility driver in outlinerNathan Craddock
Allow setting drivers and keyframes for the bone visibility restriction icon in the outliner. Before the button was a simple icon button, but it is now connected to the RNA property to show the driven or keyframed state. Also when hiding a bone from the outliner it would be deselected, but from the properties editor it would remain selected. This moves the deselection to the RNA update function to ensure the bone is always deselected. Differential Revision: https://developer.blender.org/D7825
2020-05-23Merge branch 'blender-v2.83-release'Antonio Vazquez
2020-05-23GPencil: Fix unreported Noise modifier does not work in axis aligned strokesAntonio Vazquez
If the stroke is totally straight, the normal was not calculated properly.
2020-05-22Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-22Cleanup: remove unnecessary NULL testBrecht Van Lommel
2020-05-22Cleanup: silence deprecation warnings of Carbon Finder Favorites itemsAnkit
Differential Revision: https://developer.blender.org/D7655
2020-05-22Cleanup: Deduplicate codeGermano Cavalcante
2020-05-22Fix redo with local orientationGermano Cavalcante
2020-05-22Fix unused parameter `ftext`Germano Cavalcante
2020-05-22Fix T76940: Empty HUD (Redo Panel)Julian Eisel
If the redo panel was made visible with the same size it had before (e.g. stored in the file), the runtime region coordinates wouldn't get set and ended up being all 0. E.g. the simplest way to cause this was having a collapsed HUD, saving the file, re-opening it with the same effective DPI and doing an operation so the closed HUD would appear again. Now the size is always recalculated if the visibility state of the HUD changes.
2020-05-22Merge branch 'blender-v2.83-release'Philipp Oeser
2020-05-22Fix T74443: No render in VP9 lossless modePhilipp Oeser
We define Lossless as CRF 0 (which is usually the best quality and is working fine with other codecs afaict), but since WebM only allows for CRF values between 2-32 and actually has a dedicated "lossless" mode, I suggest using that (it produces large files though, so double-checking would be welcome). https://trac.ffmpeg.org/wiki/Encode/VP9#LosslessVP9 Maniphest Tasks: T74443 Differential Revision: https://developer.blender.org/D7800
2020-05-22Fix T76974: Shear Tool Misses OrientationGermano Cavalcante
2020-05-22Transform: refactoring - unify constraint and default orientationGermano Cavalcante
2020-05-22Merge branch 'blender-v2.83-release'Philipp Oeser
2020-05-22Fix T76960: fluid baking operators not working with pinned objectPhilipp Oeser
Maniphest Tasks: T76960 Differential Revision: https://developer.blender.org/D7819
2020-05-22RNA: Make enum properties compatible with raw access.Bastien Montagne
This will allow to use foreach_get/set on enums of RNA collection items, which can save a lot of time in some cases (see incoming FBX updates).
2020-05-22Fix T73115: In Front Drawing Bone Envelope DistanceJeroen Bakker
The in front drawing was not supported for transparent part of the armature. This patch adds a second transparent pass for drawing in front. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7763
2020-05-22Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-22Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-22UV: remove "UV Local View" for UV editingCampbell Barton
This feature was added when Blender used tex-face (per-face images), but doesn't make as much sense since this was removed. Removing this from UV edit-mode as this wasn't working in any of the 2.8x releases, causing UV's to be visible but unselectable. Resolves issue raised in T76958.
2020-05-22Fix T73726: Workbench Closest Interpolation ArtifactsJeroen Bakker
All textures in workbench are using linear interpolation. The fragment shader modifies the uv coordinates to sample always in the center of a texel. In rare conditions the GPU could sample an incorrect value due to rounding errors making some rendering artifacts. This patch skips the interpolation in the fragment shader to remove these render artifacts. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7816
2020-05-22Merge branch 'blender-v2.83-release'Richard Antalik
2020-05-22Fix (unreported): prefetching wastes resources when end frame is reachedRichard Antalik
This bug is not really visible for user. When end frame is reached by prefetching thread, it doesn't stop and keeps on getting images from cache. Add chech for this situation and simplify logic involved in suspending, so it's easier to read. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7757
2020-05-22Fix (unreported): Don't restart prefetching during rendering.Richard Antalik
Prefetching is stopped in BKE_sequencer_cache_cleanup, but is restarted quickly. Prefetching has negative effect on performance while rendering. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7751
2020-05-22Fix T76774: Crash on prefetching sequences from another scene.Richard Antalik
When rendering another scene, caching in disabled by setting local_context.skip_cache = true. Precondition checking for this flag was missing in BKE_sequencer_cache_get and it wasn't first thing to check in BKE_sequencer_cache_put. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7750
2020-05-22Cleanup: only use nullptr in USD exporterSybren A. Stüvel
This removes all use of `NULL` from the USD Exporter, also when calling into C code. No functional changes.
2020-05-22Fix T64277: Inverted WheelmouseJeroen Bakker
When using CTRL wheel mouse the items were selected in a different order than when opening the menu and use the wheel mouse. Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D7791
2020-05-22Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-22Fix Python console cursor heightCampbell Barton
2020-05-22Fix T76949: Crash When Selecting Materials Tab.Bastien Montagne
Dummy typo in own recent libquery refactor, of course that one missed change was on a line not covered by our tests or the production file used for validation...
2020-05-21libquery: Cleanup: finish refactor by removing no more used code.Bastien Montagne
2020-05-21Libquery refactor: Cleanup (remove no more used macros).Bastien Montagne
2020-05-21Refactor: Move scene foreach_id to new IDTypeInfo structure.Bastien Montagne
2020-05-21Refactor: Move object foreach_id to new IDTypeInfo structure.Bastien Montagne