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-06-25Revert "Fix (unreported) critical mistake in Collection liblink code in ↵Jeroen Bakker
readfile.c." This reverts commit 517f32045c282f1031299268ad0ebfa8f934bd1a.
2020-06-25Fix T77774: New undo code broken by 'make local' behavior.Bastien Montagne
This is actually a nice issue due to too much optimization... * Making an ID local just reuse the linked one whenever possible, instead of actually making a copy of it. * Therefore, the collection containing that ID is seen as unchanged, since the pointer itself remained the same. * But on undo step, there is no way to reuse that local object, which then gets deleted, and linked one gets re-created - at a different address. * Collection, however, since unchanged, is not updated at all and thus keeps reference to the to-be-deleted local object, instead of the linked one. * Issue gets even worse with viewlayers, this leads to the crash. To address this, this patch adds a 'virtual' update flags that does nothing in update case, but will ensure that the affected IDs using the one made local are properly detected as changed across the relevant undo step. Note that the recalc flags were chosen mostly for a logical reason, and also because they are already properly dealt with and cleared by undo code, so this looks like the optimal solution. Note: slightly ammended for 2.83, change should not have any effect in practice. Reviewed By: brecht Maniphest Tasks: T77774 Differential Revision: https://developer.blender.org/D8006
2020-06-25Revert "Fix T77774: New undo code broken by 'make local' behavior."Jeroen Bakker
This reverts commit 554ed613ae5f26b205f65ed950ae50baf9f009b5.
2020-06-25Fix T77803: IK Degrees of freedom drawing glitchJeroen Bakker
Forgot to update the lineOutput what resulted in that the sphere was not rendered on all platforms. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8098
2020-06-25Fix T77803: IK Degrees of freedom drawing glitchJeroen Bakker
IK degrees of freedom is rendered using wires and a solid sphere. The solid used the wireframe drawing what resulted into drawing glitches. This patch adds a new shader to draw the solid shape. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8044
2020-06-25Fix (unreported) wrong size of UserPreferences' `dupflag` parameter.Bastien Montagne
Adding volume obdata option to `eDupli_ID_Flags` enum made it go beyond the 16 bits of a short... Also, enums should typically be stored in unsigned integers.
2020-06-25GPencil: Fix unreported Vertex Opacity Overlay not workingAntonio Vazquez
This values was not working because was removed by error in refactor. Reviewed By: mendio, fclem Differential Revision: https://developer.blender.org/D8061
2020-06-25Fix T75414: Incorrect masking in Color Balance modifierRichard Antalik
Color balance factor was infinity. Clamp to +/- `FLT_MAX` Reviewed By: sergey Differential Revision: https://developer.blender.org/D7884
2020-06-25Fix T76767: Cycles performance regression with CLI rendersRay Molenkamp
When picking a small tile size when doing a CLI render will yield many status updates being printed to the console causing a slowdown in the render process. 2.79 with the same amount of tiles did not have this slowdown. The reason for this turned out to be a debugging aid added in rBd2757d149bf2 which disabled buffering for stdout which on windows caused every single character being printed to the console to try to obtain a mutex, and worse the thread being put to sleep when this mutex was unavailable leading to poor performance. This patch changes the behaviour by only disabling the buffering in debug builds. CLI render of the default cube with 16x16 tiles at 1080p 2.83 : 37.57s now : 17.03s note: this only affected CLI renders, renders from the UI do not report this kind of information and had no such slowdown.
2020-06-25Fix T77460: Easy to create cyclic dependencies in collections and crash Blender.Bastien Montagne
Cyclic check was not checking for collections instanciated by objects...
2020-06-25Fix (unreported) critical mistake in Collection liblink code in readfile.c.Bastien Montagne
Prelimenary step to fix T77460. Not sure how or when that thing was done, but since that call walks around collections relationships, it's an utterly critical violation of liblinking principles (code here should never, ever 'get outside' of its own ID scope). This was wroking so far only because code called through this function (`BKE_collection_parent_relations_rebuild`) was only following parents pointers (in `BKE_collection_find_cycle()`), which would be either valid or non-existent. But next commit is going to change that to also check collection's objects instancing of other collections.
2020-06-25Fix T77853: Error reloading linked library.Bastien Montagne
Issue related to how ID refcounting was changed when loading blendfile data...
2020-06-25Fix T77774: New undo code broken by 'make local' behavior.Bastien Montagne
This is actually a nice issue due to too much optimization... * Making an ID local just reuse the linked one whenever possible, instead of actually making a copy of it. * Therefore, the collection containing that ID is seen as unchanged, since the pointer itself remained the same. * But on undo step, there is no way to reuse that local object, which then gets deleted, and linked one gets re-created - at a different address. * Collection, however, since unchanged, is not updated at all and thus keeps reference to the to-be-deleted local object, instead of the linked one. * Issue gets even worse with viewlayers, this leads to the crash. To address this, this patch adds a 'virtual' update flags that does nothing in update case, but will ensure that the affected IDs using the one made local are properly detected as changed across the relevant undo step. Note that the recalc flags were chosen mostly for a logical reason, and also because they are already properly dealt with and cleared by undo code, so this looks like the optimal solution. Reviewed By: brecht Maniphest Tasks: T77774 Differential Revision: https://developer.blender.org/D8006
2020-06-22Bumped blender version to 2.83.1Jeroen Bakker
2020-06-18Bumped file subversion to 19Jeroen Bakker
2020-06-18Fix T77657: NVIDIA Quadro FX4800 crash on startupJeroen Bakker
Limit support for `GLEW_ARB_base_instance` to OpenGL 4.0 and higher. NVIDIA Quadro FX 4800 (TeraScale) report that they support GLEW_ARB_base_instance, but the driver does not support `GLEW_ARB_draw_indirect` as it has an OpenGL3 context what also matches the minimum needed requirements. We use `GLEW_ARB_draw_indirect` as a target for `glMapBuffer(Range)` what is part of the OpenGL 4 API. So better disable it when we don't have an OpenGL4 context. Note: fix should be ported to Blender 2.83 LTS Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7994
2020-06-18GPencil: Improve viewlayer masking checkAntonio Vazquez
Check if the mask layer is used in a layer that is going to be used in the current viewlayer. Related to T77667
2020-06-18Fix T77148: Crash changing multiple values for sequencer stripsCampbell Barton
This was caused by assuming all strips were the same type.
2020-06-18Fix T77047: Dyntopo Sample detail size on hidden mesh causes crashPhilipp Oeser
The `Toolbar` and `Sidebar` hide the corresponding panel `VIEW3D_PT_sculpt_dyntopo` by polling for context.sculpt_object and context.tool_settings.sculpt. In the Active Tool in the Properties Editor this poll does not return False though, thus the sample_detail_size is possible from there. Second security check (the operator poll `SCULPT_mode_poll`) checks the active object -- that is still valid even if hidden, so we are allowed to execute the operator. However the active object becomes NULL once the area is switched in `sample_detail()` -- see `CTX_wm_area_set`), leading to the crash. Dont think there is a quick and easy way to do this in the poll from the Properties Editor, so just check for a valid active abject in the operator and return OPERATOR_CANCELLED if we dont have it. Maniphest Tasks: T77047 Differential Revision: https://developer.blender.org/D7832
2020-06-18Fix T77504: Operator search gives wrong resultsCampbell Barton
Regression in e8ab0137f8766
2020-06-18Fix T76894: Disable clipping region selection in material/rendered modeJeroen Bakker
In this case the draw engine isn't responsible for the selection, but the editor is. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7955
2020-06-18Fix T72936: Incorrect gizmo orientation with inherit rotation disabledCampbell Barton
2020-06-18Fix menu operator/search clipping the last characterCampbell Barton
Noted in T77504
2020-06-18Fix crash running "Edit Voxel Size" operator outside of a main 3D View regionJulian Eisel
Accessed `RegionView3D` data from context, which of course would only be set if actually executed from a main 3D View region.
2020-06-11GPencil: Fix unreported error in Dots Strokes material initializationAntonio Vazquez
The materials was not initializated in the right mode.
2020-06-11GPencil: Fix unreported Shift+F OPacity key not workingAntonio Vazquez
This wa snot working since the new scale thickness was included.
2020-06-11Calculate epsilon values for interp_weights_poly to improve accuracySebastian Parborg
interp_weights_poly_v2 would have too large epsilon values for small polygons. To solve this we now calculate the appropriate epsilon value so it can gracefully handle big and small values. To make sure there was no regression, these changes were tested with the files in T36105, T31581. Also with a surface deform modifier test file attached in the differential below. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D7772
2020-06-11Fix T76273 Glitches caused by glCopyImageSubData on windows + intel gpuClément Foucault
We limit this fix to Windows Intel GPU whose driver reports at most GL 4.4 support. This limits the fix to the range of reported GPU.
2020-06-11Fix T77358: Gpencil can't select geometry within transparent layersAntonio Vazquez
This was an old check of opacity for editable layers, but with new system it's not needed because you can use the edit lines.
2020-06-11Fix T77520: GPencil viewlayer filter produce crash with masking layersAntonio Vazquez
If a layer is used for masking, it cannot be filtered by viewlayer because the masked layer needs to have the mask layers in the draw pipeline. This check is only done in final render.
2020-06-11Fix T77164: scaling/rotation fails for 3 selected NURB pointsCampbell Barton
2020-06-11Fix T77156: GPencil view layer filter by layer not workingAntonio Vazquez
This was removed by error during the refactor done in 2.83. Differential Revision: https://developer.blender.org/D7909 Reviewers: @fclem
2020-06-11Fix T77456: Broken vertex paint undo on high-poly objects.Bastien Montagne
This is a critical fix that should also be backported to 2.83.1 Fairly stupid bug in fact, code detecting changes across undo steps was assuming that each BHEAD (a block of data in blendfiles) would not be larger than one memory chunk... Which is the case in alsmost every situation, besides some super-heavy geometries, and other similar things (images would also be affected e.g.).
2020-06-03Remove trailing spacev2.83Nathan Letwory
2020-06-03Move 2.83 from beta to releaseNathan Letwory
2020-06-02UI: Fix T77173: Report Background Colors for 2.83 ReleaseHans Goudey
This is a temporary solution for T77173 for the 2.83 release. D7203 provides a more long term solution for future releases. This adds theme colors for the three report backgrounds, setting them to the color used in 2.82. A separate commit in the addons repository will follow for changes to the bundled themes. Differential Revision: https://developer.blender.org/D7908
2020-06-02Revert "Fix T67577: Add-on unregister can't access preferences on factory reset"Campbell Barton
This reverts commit f18ed7ad890ee5c89fc6e6a22e76c732fb5fc1bc. Better leave the fix for 2.9 series.
2020-06-02Fix T66967: skin modifier crash scaling skin radius to zeroCampbell Barton
2020-06-02Fix T76533: Gizmo uses active face center in edge selection modeCampbell Barton
Only use the active face when it's selected.
2020-06-02Cleanup: use C++'s nullptr instead of our own C NULL define, in C++ code.Bastien Montagne
2020-06-02Fix T77192: Crash when opening bunny.blend file.Bastien Montagne
New depsgraph code handling drivers was not checking for possible NULL rna_path, as done everywhere else in code...
2020-06-02Fix T72088: Missing header redraw when transform changes snapCampbell Barton
2020-06-02Cleanup: code comments for mode switchingCampbell Barton
Comment on mode switching cases that are supported, including the issue from recent regression T77217 which is easy to miss since it's not used in the default key-map.
2020-06-01Fix T77217: Object mode toggle doesn't workCampbell Barton
Toggling object mode to the previous wasn't working, also resolves a case when toggling modes would cause an extra, unnecessary mode switch. Own regression in 5159b8e1eadb3.
2020-06-01Fix T77241: NDOF navigation doesn't work with the knife toolCampbell Barton
Also allow NDOF with loop-cut.
2020-06-01Fix T67577: Add-on unregister can't access preferences on factory resetCampbell Barton
2020-06-01Cleanup: warningsCampbell Barton
2020-05-30GPencil: Fix unreported wrong Sculpt brushes initialization in TemplatesAntonio Vazquez
The Sculpt brushes were not properly initialized when use 2D template or other templates. Also, using the default template (not factory settings) could be situations where the brushes were not updated. This problem was introduced when some versioning code was removed in order to avoid duplicated brush creation.
2020-05-29EEVEE: Fix memory leak when using SSS render pass.Clément Foucault
Differential Revision: https://developer.blender.org/D7876
2020-05-29Blender: change bugfix release versioning from a/b/c to .1/.2/.3Brecht Van Lommel
The file subversion is no longer used in the Python API or user interface, and is now internal to Blender. User interface, Python API and file I/O metadata now use more consistent formatting for version numbers. Official releases use "2.83.0", "2.83.1", and releases under development use "2.90.0 Alpha", "2.90.0 Beta". Some Python add-ons may need to lower the Blender version in bl_info to (2, 83, 0) or (2, 90, 0) if they used a subversion number higher than 0. https://wiki.blender.org/wiki/Reference/Release_Notes/2.83/Python_API#Compatibility This change is in preparation of LTS releases, and also brings us more in line with semantic versioning. Fixes T76058. Differential Revision: https://developer.blender.org/D7748