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-11-18Cleanup: clarify precedence of operationsCampbell Barton
2020-11-18Cleanup: 'false' use as NULL pointerCampbell Barton
2020-11-18Fix use of operator flag as booleanCampbell Barton
Error in cb9de95d61b32f90788875f20e046095bb6310ad
2020-11-18Cleanup: use descriptive argument name for uv parametrizerCampbell Barton
2020-11-18Cleanup: simplify array usage for Python box packing APICampbell Barton
2020-11-18Cleanup: declare original function storage variables staticCampbell Barton
Also minor comment formatting changes.
2020-11-18Merge branch 'blender-v2.91-release'Pablo Dobarro
2020-11-18Fix T82542: Boundary brush crash with dyntopoPablo Dobarro
This brush needs to be disabled for dyntopo as it stores its custom data and deforms from original coordiantes. Reviewed By: sergey Maniphest Tasks: T82542 Differential Revision: https://developer.blender.org/D9516
2020-11-17LibOverride: PointCache: Add UI feedback about need to enable Disk Cache.Bastien Montagne
Note that I chose to modify the label of the main `Bake` button instead of adding an extra label line, as that would disturb the UI in a annoying way.
2020-11-17Cleanup: Use LISTBASE_FOREACH macroHans Goudey
2020-11-17Cleanup: Clang tidy else after returnHans Goudey
2020-11-17Cleanup: Clang tidy inconsistent parameter nameHans Goudey
2020-11-17Merge branch 'blender-v2.91-release'Bastien Montagne
2020-11-17Cleanup: Fix incorrect RNA property label/tooltip re active NLA track.Bastien Montagne
The joys of copy/paste again.
2020-11-17Cleanup: Remove unecessary NULL checkHans Goudey
Panels for active uiBlocks always have a type, because the process that makes them uses the types. Add an assert just to make it clear that the assumption is purposeful.
2020-11-17Merge branch 'blender-v2.91-release'Hans Goudey
2020-11-17Fix T82770: Artifacts when painting on generated transparent imageJeroen Bakker
Regression introduced by {b17cca6966}. When centralizing the gpu texture premultiplication setting it was assumed that generated images (`IMA_TYPE_UV_TEST`) were stored as premultiplied. That assumption was totally wrong as the alpha association is determined by the existing of the float/byte buffer. NOTE: This change will render generated images with pure emissive colors (show colors when alpha=0.0) what might add more reports. Any reports could be merged in the next report {T82790}. Reviewed By: Clément Foucault, Philipp Oeser Differential Revision: https://developer.blender.org/D9585
2020-11-17Fix T82341: Warning in terminal during property searchHans Goudey
After recent changes to the context panel layout (rB187cc5e26d28b1a8), there has been an error printed when running propery search: > Error: separator_spacer() not supported in popups. The layout code thinks it's drawing in a menu because region->visible isn't properly set for the other tab searches. This patch sets that field for the temporary searching region, but it also disables searching in the context breadcrumbs panel, because at best this will just give results for the names of the active object, etc. This isn't helpful since those labels are mostly in every tab anyway. Differential Revision: https://developer.blender.org/D9425
2020-11-17Fix T81227: Modifier menu and text switch placesJulian Eisel
Logic was incorrect, mistake in f3b8792b963b. Updated comment to make intent more clear. Same as fd78f8699e03, but needed conflict resolution as the panel-type flags where renamed in master.
2020-11-17Fix T77561 EEVEE: Refraction BSDF is using world probe during glossy bakeClément Foucault
This fixes light leaking during baking indoor environment when using refraction bsdfs.
2020-11-17Fix T81227: Modifier menu and text switch placesJulian Eisel
Logic was incorrect, mistake in f3b8792b963b. Updated comment to make intent more clear.
2020-11-17Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-17Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-17Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-17Merge branch 'blender-v2.91-release'Campbell Barton
2020-11-17Fix T82637: pack UV islands fails with some non-manifold meshesCampbell Barton
Edges with 3 or more connected UV's caused UV pack to fail. Instead of using functions from uvedit_parametrizer.c which are intended specifically for ABF/LSCM unwrapping, use a simpler method for packing which stores arrays of BMesh faces.
2020-11-17BMesh: support for comparing loops when calculating face-groupsCampbell Barton
Add an optional callback to check source/destination loops for BM_mesh_calc_face_groups. This is needed so it can be used to calculate UV islands.
2020-11-17BMesh: add UV face transform and minmax utility functionsCampbell Barton
2020-11-17BLI_rect: add a float version of the 'pad' functionCampbell Barton
2020-11-17Merge branch 'blender-v2.91-release'Jeroen Bakker
2020-11-17Fix T82064: Add Image Clone tool to overlay engineJeroen Bakker
The clone tool in the image editor can show a second texture on top of the image. This wasn't ported and now results into alpha and depth issues. This fix adds the clone tool drawing to the overlay engine. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9352
2020-11-17Clang-tidy, fix bugprone-exception-escape.Ankit Meel
Remove redundant call to `ofstream::close()` from `~PSStrokeRenderer` and `~TextStrokeRenderer`. ofstream will be destructed automatically. - For `~Depsgraph`, `std::function`'s constructor can throw. - Passing throwing statements in the lambda will not be detected by clang-tidy. Fix these issues by using lambda as function argument. Reviewed By: sergey, sybren Differential Revision: https://developer.blender.org/D9497
2020-11-17Merge branch 'blender-v2.91-release'Richard Antalik
2020-11-17VSE: Fix prefetch initialization sequenceRichard Antalik
In 8d1978a8e013 bmain entry is updated when prefetching is started, but this must be done before seq_prefetch_update_context(). Otherwise created cache keys will be incorrect. This happens immediately after prefetch is started. When it's refreshed problem goes away. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9581
2020-11-17RNA define: check and report invalid usages of ID pointers properties.Bastien Montagne
Some RNA structs, like operators or keymaps, are not allowed to have ID pointer properties. now this check will ignore those, and report an error message in the console. Related to T82597. Notes: While a bit more involved than rBf39fbb3e6046, this commit remains fairly localized and non-intrusive. It relies on some rather obscure and weird behaviors of our RNA code though, a cleaner solution could be e.g. to add a tye to `StructOrFunctionRNA`, so that we could properly 'rebuild' (re-cast) the pointer to either `StructRNA` or `FunctionRNA` when needed in internal code...
2020-11-17Merge remote-tracking branch 'origin/blender-v2.91-release'Sybren A. Stüvel
2020-11-17Fix T82774: NLA Sync Length Typo FixWayde Moss
When offsetting strips to the left, to make space when syncing strip length, move the preceding NLA strips instead of the succeeding strips. The bug seems to be from a copy/pasting typo. Reviewed By: sybren Differential Revision: https://developer.blender.org/D9583
2020-11-17Fix T82588: Box Select selects keyframes hidden by "Only Show Selected"Sybren A. Stüvel
Select only editable keys on selected curves when "Only Show Selected Curves" is enabled in the Graph Editor's View menu. This prevents selecting invisible keys with box, circle, and lasso select in the Graph Editor. Reviewed By: looch Differential Revision: https://developer.blender.org/D9580
2020-11-17Merge branch 'blender-v2.91-release'Jeroen Bakker
2020-11-17Fix T82042: Crash when rendering huge imagesJeroen Bakker
Crash is related to the definition of the GL_MAX_TEXTURE_SIZE. OpenGL does not clearly defined `GL_MAX_TEXTURE_SIZE` exactly means. Both on AMD and NVIDIA we have issues with huge textures that they don't get created even if they are smaller. (See {D9530} for research). This patch will try to create the texture in a smaller size when the texture creation failed. Final implementation by: Clément Foucault We should create a solution that doesn't need downscaling. For this specific case ARB_sparse_texture might help to create cleaner code, but you still have to commit the whole image what introduces several draw calls. Other improvement is to optimize the scaling; current implementation isn't optimized for performance. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9524
2020-11-17Merge branch 'blender-v2.91-release'Richard Antalik
Conflicts: source/blender/editors/render/render_opengl.c source/blender/sequencer/intern/effects.c
2020-11-17Fix T82703: Image not scaled when renderingRichard Antalik
This is was caused by incorrectly set preview_render_size in VSE rendering context. Value was set to SEQ_PROXY_RENDER_SIZE_FULL, but it should be SEQ_PROXY_RENDER_SIZE_SCENE as scene render size is being used. This is same fix as 0d7036b40e68, but I did not checked openGL render pipeline. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9562
2020-11-17Fix incorrect text size with downscaled previewRichard Antalik
Use either scene render size or fixed preview scale factor. Previously scene render size was used as baseline value for text size correction. This is incorrect. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9563
2020-11-17Cycles: Fix compilation error and warning without OPENVDBClément Foucault
2020-11-17Fix T81827: MacOS lines that should be thick are green insteadClément Foucault
The issue was the use of alpha values of 0 when there were no blending enabled. This patch just disables the smoothing of the wires in this case.
2020-11-17Merge branch 'blender-v2.91-release'Nathan Craddock
2020-11-17Fix wrong collection icon in outliner popoverNathan Craddock
This icon was missed in rB0633a89e1827
2020-11-16Outliner: Collection icon color tweaksNathan Craddock
The icons originally chosen for the collection colors were selected during development and had a few issues with contrast in the light theme, and the gray color was not a good choice against the default gray backgrounds. The new colors are more readable in both default Blender themes. Gray was replaced with pink. Differential Revision: https://developer.blender.org/D9504
2020-11-16Fix T76699: Support macOS inbetween mouse/tablet.Nicholas Rishel
Coalescing on macOS overwrites a singular unprocessed mouse event. To receive all mouse and tablet events coalescing is disabled. Disabling coalescing for macOS disables coalescing for trackpad gestures. Repeat trackpad events are unnecessary and found to negatively impact performance thus are re-coalesced in Window Manager. Reviewed By: brecht Differential Revision: https://developer.blender.org/D9574
2020-11-16Merge branch 'blender-v2.91-release'Brecht Van Lommel