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-05Cleanup: Move legacy mesh conversions to proper fileHans Goudey
2022-11-04Cleanup: OBJ: Simplify access to loose edgesHans Goudey
Implementing this with a separate function just added extra code, there wasn't much benefit to it.
2022-11-04Merge branch 'blender-v3.4-release'Richard Antalik
2022-11-04Fix T99641: Assert hit when splitting video sequencer area horizontallyRichard Antalik
Don't draw channels region when height is 0.
2022-11-04Cleanup: Use mesh API functionsHans Goudey
2022-11-04Cleanup: Mesh: Remove redundant edge render flagHans Goudey
Currently there are both "EDGERENDER" and "EDGEDRAW" flags, which are almost always used together. Both are runtime data and not exposed to RNA, used to skip drawing some edges after the subdivision surface modifier. The render flag is a relic of the Blender internal renderer. This commit removes the render flag and replaces its uses with the draw flag.
2022-11-04Realtime Compositor: Implement static cache managerOmar Emara
This patch introduces the concept of a Cached Resource that can be cached across compositor evaluations as well as used by multiple operations in the same evaluation. Additionally, this patch implements a new structure for the realtime compositor, the Static Cache Manager, that manages all the cached resources and deletes them when they are no longer needed. This improves responsiveness while adjusting compositor node trees and also conserves memory usage. Differential Revision: https://developer.blender.org/D16357 Reviewed By: Clement Foucault
2022-11-04Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-04Fix T102232: bridge edge loop crashCampbell Barton
Many connected edge loops could result in two edge loops sharing vertices. This is more of a workaround, the reason for two edge loops sharing vertices could be prevented some other way. Add this check since it's a straightforward solution, furthered investigation noted as a TODO.
2022-11-04Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-04Fix T102216: Change `min_ff` to `max_ff` in the return of `BlendType max`Evan Wilson
BlendType max incorrectly returns the minimum in BLI_color_mix.hh This differential fixes it to return the maximum. Maniphest Tasks: T102216 Ref D16364
2022-11-04Cleanup: pass const view_area in sequencer functionsCampbell Barton
2022-11-04Cleanup: use bool for render types ok/result_okCampbell Barton
2022-11-04Merge branch 'blender-v3.4-release'Colin Basnett
2022-11-04Fix T102218: Baked f-curves display incorrectly when normalizedColin Basnett
This fixes T102218, where baked f-curves would display incorrectly when normalized. This bug was a result of the code making no effort to determine the y-range of baked f-curves, so it fell back to a default that looked horrible. I've added specific handling for finding the y-range of each f-curve (I extracted this functionality out to a new function, `fcurve_scene_coord_range_get`, for organization purposes). In addition, a minor optimization was made to eliminate redundant range-checks when in preview range mode. {F13838304} Reviewed By: sybren Maniphest Tasks: T102218 Differential Revision: https://developer.blender.org/D16363
2022-11-04BLI_path: remove use of BLI_path_normalize in BLI_path_parent_dirCampbell Barton
Normalize is no longer necessary as BLI_path_name_at_index skips redundant path components such as "//" and "/./". This has the advantage that the path length isn't limited to FILE_MAX.
2022-11-04Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-04Fix missing call to AttributeWriter::finish with paint vertex selectionCampbell Barton
2022-11-04Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-04Cleanup: quiet unused argument warningCampbell Barton
2022-11-04Fix T101686: WPaint + Pose select fails with GPU depth-picking disabledCampbell Barton
Regression in [0], however the primary purpose of that code was to cycle away from the active object (behavior which was intentionally removed, see: T96752). This broke weight-paint + pose-selection (Ctrl-LMB) when the GPU depth picking preference was disabled. Causing selection to pick the mesh object instead of the pose bones. This de-selected the armature, making the pose bones unselectable instead of selecting the pose bone as intended. Adding the old code back (restricting it to weight-paint mode) fixes the bug but reintroduces fairly involved logic unnecessarily. Instead, prioritize bone selecting when in weight-paint & pose mode (previously this was only done in pose-mode). [0]: b1908f2e0b23988627772f6a6d968d8351dca6d7
2022-11-03DRW: Fix incorrect logic in state redundancy checkClément Foucault
Error introduced by rB3c39a3affee7.
2022-11-03Merge branch 'blender-v3.4-release'Clément Foucault
2022-11-03DRW: PointCloud: Fix memset writting non-trivial type std::mutexClément Foucault
This issue might have produced crashes in some cases similar to rBafd30e5e3a77.
2022-11-03Cleanup: DRW: Fix unused parameters warningClément Foucault
2022-11-03DRW: Command: Fix custom group test being always trueClément Foucault
2022-11-03Merge branch 'blender-v3.4-release'Nate Rupsis
2022-11-03make float value explicitNate Rupsis
2022-11-03adding defaults for NLA Action scale and repeatNate Rupsis
Differential Revision: https://developer.blender.org/D16379
2022-11-03DRW: Add support for clip plane count as part of the draw state.Clément Foucault
This moves the implementation from the View to the draw manager itself. However, this is not its final place and should be moved to the shader create info at some point in the future. For now it is not possible because of possible interaction with the old draw manager codebase.
2022-11-03Merge branch 'blender-v3.4-release'Sergey Sharybin
2022-11-03Fix T102221: Entering editmode invalidates the driver associated with that meshSergey Sharybin
The regression is caused by D13824 0f89bcdbebf5. This fix follows the code from Sybren (D7785) to make object-mode drivers from shapekey value to work. This intuitively makes sense since the D13824 made the edit mode evaluation and ownership follow the object mode more closely. Differential Revision: https://developer.blender.org/D16380
2022-11-03Fix deprecation warnings in FFmpeg related codeSergey Sharybin
The non-deprecated API dates back to 2017, so it should be safe to simply migrate to it. Fixes verbose error prints, making it easier to see actual issues. Differential Revision: https://developer.blender.org/D16370
2022-11-03Revert "Blender 3.4 - Beta"Thomas Dinges
This reverts commit 666135c32af3032d1e6c62ee953d65f399da7d0f.
2022-11-03Merge branch 'blender-v3.4-release'Thomas Dinges
2022-11-03Blender 3.5 Alpha: Start of new release cycle.Thomas Dinges
2022-11-03Blender 3.4 - BetaThomas Dinges
* BLENDER_VERSION_CYCLE set to beta * Update pipeline_config.yaml to point to 3.2 branches and svn tags * Update and uncomment BLENDER_VERSION in download.cmake
2022-11-03BLI_path: skip "/./" and "/." in BLI_path_name_at_indexCampbell Barton
This avoids having to run BLI_path_normalize before calling BLI_path_name_at_index.
2022-11-03Cleanup: replace BLI_join_path with BLI_join_stringCampbell Barton
There is no need to use path joining logic here.
2022-11-03BLI_string: C++ support for string joining macrosCampbell Barton
C++ doesn't support taking the temporary address of a temporary array, use inline functions instead. Also change array joining functions to return the length of the string instead of returning the pointer (matching BLI_path_join).
2022-11-03UI: Bevel: Specify the width type as "Width Type" in the status bar.Aaron Carlisle
Part of T102224
2022-11-03Cleanup: cmake comment line lengthCampbell Barton
2022-11-03Mesh: Parallelize remesh reprojectionsErik Abrahamsson
In high poly meshes the reprojections after remesh can become slow. This parallelizes reprojection of face sets, paint mask and vertex paint. It also adds flags to disable dependency graph updates on setting remesh options to remove UI lag. Profiling of remeshing a 3.4M poly mesh (in sculpt mode): Before: 19.6s After: 8.7s Differential Revision: https://developer.blender.org/D15638
2022-11-02Fix empty menu title in some menus (e.g. Text Editor context menu)Julian Eisel
2022-11-02Fix arrow key menu navigation using wrong directionJulian Eisel
Steps to reproduce were: * Right click in 3D View (context menu) press up or down arrow. Or: * Ctrl+Shift+O (Open Recent menu) press up or down arrow.
2022-11-02Fix memory leak with Freestyle renders after recent changesBrecht Van Lommel
Render stored a shallow copy of the scene view layers and views for thread safety, without proper functions to free it. But with the CoW depsgraph this scene is already a copy of the original and an additional copy is not needed. Refactor to use the scene view layers and some other settings directly instead of making a copy.
2022-11-02Refactor: Rename Object->imat to Object->world_to_objectSergey Sharybin
The goal is to improve clarity and readability, without introducing big design changes. Follows the recent obmat to object_to_world refactor: the similar naming is used, and it is a run-time only rename, meaning, there is no affect on .blend files. This patch does not touch the redundant inversions. Those can be removed in almost (if not all) cases, but it would be the best to do it as a separate change. Differential Revision: https://developer.blender.org/D16367
2022-11-02Fix: Crash adding rest positions to empty meshHans Goudey
The position attribute might not exist when the mesh is empty, which may be another problem, but there is no need to count on it here.
2022-11-02Realtime Compositor: Move shaders to compositor moduleOmar Emara
This patch moves the GLSL shaders and their infos to the compositor module as decided by the EEVEE & Viewport module. This is a non functional change. Differential Revision: https://developer.blender.org/D16360 Reviewed By: Clement Foucault
2022-11-02Realtime Compositor: Make vectors four dimensionalOmar Emara
Currently, the realtime compositor treat vector types as 3D vectors, which is true for most operations. However, some operations deal with vector types as 4D vectors that encode two 2D vectors or one 3D vector with the last component ignored. So this patch expands vector types to include a fourth component that is only sometimes used. Since we already stored vectors in RGBA textures, the necessary changes are straightforward and are mostly concerned with adjusting the Result class. Differential Revision: https://developer.blender.org/D16359 Reviewed By: Clement Foucault