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
2022-11-12Update preview render to last changesasset-lite-greasepencilAntonio Vazquez
Previous stpe to merge both previews
2022-11-12Merge branch 'master' into asset-lite-greasepencilAntonio Vazquez
2022-11-12BLI: use templates for disjoint set data structureIliya Katueshenock
Differential Revision: https://developer.blender.org/D16472
2022-11-12Merge branch 'blender-v3.4-release'Jacques Lucke
2022-11-12Fix: missing tooltip for color socketsIliya Katueshenock
Differential Revision: https://developer.blender.org/D16401
2022-11-12Cleanup: remove unused variableIliya Katueshenock
Differential Revision: https://developer.blender.org/D16350
2022-11-12Merge branch 'blender-v3.4-release'Jacques Lucke
2022-11-12Fix: geometry nodes viewer shows black with dangling reroute inputIliya Katueshenock
Differential Revision: https://developer.blender.org/D16322
2022-11-12Cleanup: make GArray declarations more explicitIliya Katueshenock
Differential Revision: https://developer.blender.org/D16064
2022-11-12Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-12Cleanup: add a system reference to the wayland windowCampbell Barton
Avoid relying on GHOST_ISystem::getSystem(), store the system instead.
2022-11-12Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-12Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-12Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-12Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-12Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-12Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-12Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-12Fix window title not redrawing with Wayland/libdecorCampbell Barton
2022-11-12GHOST/Wayland: skip resizing the EGL surface unnecessarilyCampbell Barton
wl_egl_window_resize ran when the window became active/inactive for e.g.
2022-11-12Cleanup: Simplify handling of loop to poly map in normal calculationHans Goudey
A Loop to poly map was passed as an optional output to the loop normal calculation. That meant it was often recalculated more than necessary. Instead, treat it as an optional argument. This also helps relieve unnecessary responsibilities from the already-complicated loop normal calculation code.
2022-11-12Cleanup: Use simpler timers for mesh normals debug timingHans Goudey
2022-11-12Cleanup: move title into GWL_WindowCampbell Barton
Nearly all Wayland window data is stored in this struct, follow this convention so GWL_Window functions can be self contained.
2022-11-12Cleanup: move Wayland window state utilities into lower level functionsCampbell Barton
Add low level gwl_window_* functions.
2022-11-12Fix non-interactive window borders after changes to event handlingCampbell Barton
Regression in [0] causes LIBDECOR interactions not to be detected. [0]: deb8ae6bd1edb0983d9ac972b2c95090f4c5e642
2022-11-12Cleanup: Make loop normal calculation function staticHans Goudey
2022-11-12Cleanup: use snake-case for WAYLAND utility functionsCampbell Barton
It wasn't so obvious which functions were part of the GHOST API and which system functions were utilities. This convention was already in place but not always followed.
2022-11-12GHOST/Wayland: replace roundtrip with dispatch_pendingCampbell Barton
Add a non-blocking version wrapper for wl_display_dispatch_pending. This uses roughly the same logic as Wayland_PumpEvents in SDL. Noticed this when investigating T100855. Note that performing a round-trip doesn't seem necessary from looking into QT/GTK & SDL event handling loops.
2022-11-12Cleanup: Decrease variable scope in mesh loop normal calculationHans Goudey
2022-11-12Cleanup: Use spans for loop normal calculation input dataHans Goudey
2022-11-12Cleanup: Remove unnecessary struct keywordsHans Goudey
2022-11-12Cleanup: Rename curves sculpt selection variableHans Goudey
It's a bit simpler to skip the "indices" in the name, that can be assumed from the type.
2022-11-11Merge branch 'blender-v3.4-release'Ray Molenkamp
2022-11-11tests: Disable lattice_deform_performance testRay Molenkamp
This test is disabled for the following reasons: This test is one of the longer ones in this suite (2979 out of 3559ms total) and nothing is currently monitoring the performance, if this test were to be 20% slower one day, no-one would actually notice. there are no asserts, the test actually cannot fail. it's good to have some benchmark code, so like some of the other mesh benchmark code, exclude it using an `#ifdef` guard so i can be easily re-enabled when needed. reviewed by: jbakker Differential Revision: https://developer.blender.org/D16314
2022-11-11Fix OSL object matrix with Cycles on the GPUPatrick Mours
The OSL GPU services implementation of "osl_get_matrix" and "osl_get_inverse_matrix" was missing support for the "common", "shader" and "object" matrices and thus any matrix operations in OSL shaders using these would not work. This patch adds the proper implementation copied from the OSL CPU services. Maniphest Tasks: T101222
2022-11-11Add poll messages for marker operatorsColin Basnett
A number of operators were missing poll messages when disabled. These are the following new error messages: 1. "No markers are selected" 2. "Markers are locked" Reviewed By: sybren Differential Revision: https://developer.blender.org/D16403
2022-11-11Cleanup: Fixing anti-patterns in fcurve.cColin Basnett
This is a clean-up pass that eliminates a few problematic patterns: * Eliminating redundant parentheses around simple expressions. * Combing declaration and assignment of variables where appropriate. * Moving variable declarations closer to their first use. * Many variables and arguments have been marked as `const`. * Using `LISTBASE_FOREACH_*` variants where applicable instead of manually managing loop control flow. There are no functional changes. Reviewed By: sybren Differential Revision: https://developer.blender.org/D16459
2022-11-11Merge branch 'blender-v3.4-release'Hans Goudey
2022-11-11Fix: Failing instance visibility test after recent commitHans Goudey
The "visibility_instances.blend" cycles test was failing.. The stack of dupli generator types added in e508de041712cc31588 wasn't "popped" correctly after recursive duplis were generated.
2022-11-11Cycles: Cache only up to 5 kernels of each type on MetalMichael Jones
This patch adapts D14754 for the Metal backend. Kernels of the same type are already organised into subdirectories which simplifies type matching. Reviewed By: brecht Differential Revision: https://developer.blender.org/D16469
2022-11-11Merge branch 'blender-v3.4-release'Brecht Van Lommel
2022-11-11Fix CMake error when pkg-config is not installedBrecht Van Lommel
Don't assume xxx_FOUND variables are defined.
2022-11-11Fix T96481: make color picker RGB display consistentHallam Roberts
Show RGB value "1.000" instead of "1", jus like HSV mode. Also uses full labels "Red", "Green" and "Blue" rather than the shortened labels "R", "G" and "B", for both RGB and HSV. Differential Revision: https://developer.blender.org/D14387
2022-11-11Fix broken Cycles rendering with recent OSL versionsPatrick Mours
Commit c8dd33f5a37b6a6db0b6950d24f9a7cff5ceb799 in OSL changed behavior of shader parameters that reference each other and are also overwritten with an instance value. This is causing the "NormalIn" parameter of a few OSL nodes in Cycles to be set to zero somehow, which should instead have received the value from a "node_geometry" node Cycles generates and connects automatically. I am not entirely sure why that is happening, but these parameters are superfluous anyway, since OSL already provides the necessary data in the global variable "N". So this patch simply removes those parameters (which mimics SVM, where these parameters do not exist either), which also fixes the rendering artifacts that occured with recent OSL. Maniphest Tasks: T101222 Differential Revision: https://developer.blender.org/D16470
2022-11-11Merge branch 'blender-v3.4-release'Hans Goudey
2022-11-11Fix T102404: Behavior change in CustomData APIHans Goudey
Previously the `CustomData_add_layer` function always returned the existing layer data when used for types that can only have one layer. This made it work like an "ensure layer exists" function for those types. That was used in various places to make code more concise. 0a7308a0f149 changed that to always "recreate" the layer even when it existed. Maybe this is more logical for an "add layer" function, but that's not clear, and it breaks a bunch of existing code that relied on the current behavior. Rather than spending a bunch of time going through uses of the CustomData API, this patch resets the behavior to what it was before, but adds an assert and a comment to help avoid memory leaks and other issues. We should focus on moving to the attribute API instead. Differential Revision: https://developer.blender.org/D16458
2022-11-11Fix T100706: Object instances with different geometry type invisibleHans Goudey
Code in `deg_object_hide_original` uses the dupli object type to decide whether to hide the original object. The geometry component system changed the dupli object generator types, which made this not work. To maintain existing behavior, maintain a stack of non-geometry-nodes generator types while building the dupli list, and assign that to the dupli object instead. I think this code is on its last legs. It can't handle too many more hacky fixes like this, and should be replaced soon. Hopefully that is possible by using a `bke::Instances` type instead. However, this bug is bad enough that it's worth fixing like this. Differential Revisions: https://developer.blender.org/D16460
2022-11-11Cleanup: Improve curves sculpt code section namesHans Goudey
2022-11-11Addons submodule version bumpdemeterdzadik@gmail.com
(Previous attempt was accidentally 4 days outdated)
2022-11-11Fix T101270: Object Info > Random not unique for nested instances and curvesBrecht Van Lommel
This random number is intended to be unique for every instance, however for some cases with more than one level of nesting this was failing. This also affected curves after they were refactored to use geometry sets. For simple cases the random number is the same as before, however for more complex nesting it will be different than before, changing the render result.