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-07Fix File Browser Move Bookmark malfunction if no item is selectedPhilipp Oeser
The operator was acting on non selected items (wasnt checking SpaceFile bookmarknr for being -1) which could end up removing items even. Now sanatize this by introducing proper poll (which returns false if nothing is selected). Fixes T102014. Maniphest Tasks: T102014 Differential Revision: https://developer.blender.org/D16385
2022-11-07Fix T102238: double free when storing attribute on empty geometryJacques Lucke
2022-11-07Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-07Fix T102316: blank color-space menu drop-downsCampbell Barton
Regression in [0] needs further investigation (building docs may crash again). This effectively reverts [0], however de-duplicating the color-space enum can be kept. [0]: 037b771e1af53b0f87b73a9fe01e8e660267ec81
2022-11-07Cycles: Apple GPU threadgroup tuningMichael Jones
This patch tunes maximum threads-per-threadgroup and threads-per-block for faster renders on Apple GPUs. Appropriate tuning is selected based on the GPU architecture (M1 or M2). We see a benchmark uplift of around 5-10% on M1 family chips. Similar uplift is expected on M2 with upcoming OS changes. (Ref T101931) Reviewed By: brecht Maniphest Tasks: T101931 Differential Revision: https://developer.blender.org/D16299
2022-11-07Fix File Browser Move Bookmark malfunction if no item is selectedPhilipp Oeser
The operator was acting on non selected items (wasnt checking SpaceFile bookmarknr for being -1) which could end up removing items even. Now sanatize this by introducing proper poll (which returns false if nothing is selected). Fixes T102014. Maniphest Tasks: T102014 Differential Revision: https://developer.blender.org/D16385
2022-11-06Merge branch 'blender-v3.4-release'Jacques Lucke
2022-11-06Fix T102153: crash when muting node group with active viewerJacques Lucke
2022-11-06Fix T102144: missing validation of spline resolutionJacques Lucke
2022-11-06Fix T102292: deadlock in geometry nodes evaluation with task isolationJacques Lucke
As described in the comment on `BLI_task_isolate`, deadlocks can happen when isolation is used with threading primitives that separate spawning tasks from executing them. All threads are waiting the tasks to complete but no thread is able to continue working due to task isolation. The fix is to not pass lazy-threading hints through task isolations. This way isolated regions can't create new tasks in a scheduler further up the call stack. This may lead to minor slowdowns because less threading may be used. It's generally possible to get rid of the slowdown again by sending the lazy-threading hint before entering the isolated region.
2022-11-06Geometry Nodes: fix missing curve cacheJacques Lucke
2022-11-06Fix: Missing initialization curves bounds in set origin operatorHans Goudey
It could be changed, but currently curves.bounds_min_max relies on the initial value of its arguments. Split from D16331.
2022-11-06Cleanup: Nodes: Use const arguments, avoid recursive iterationHans Goudey
Use the node topology cache and avoid modifying the node tree in a non-threadsafe way to improve the predictability of using the helper function. Replaces the implementation from e0d40471364aafca967b6ebd52.
2022-11-06UI: Sort items in Weight Locks menuPablo Vazquez
Reorder the items in the `Locks` menu: * Split into three groups: Lock, Unlock, Invert. * Use icon only in the first item of each group, following the HIG. Reviewed By: Severin Differential Revision: https://developer.blender.org/D16383
2022-11-05Fix: Broken debug build after recent cleanup commitHans Goudey
5060f26f500997232aa1033c3d5
2022-11-05Cleanup: Remove unused node functionHans Goudey
2022-11-05Cleanup: Use Vector in group input/output node update functionsHans Goudey
Also reduce the scope of variables and use ListBase macros
2022-11-05Sculpt: Fix T102253: Missing call to SCULPT_automasking_node_updateJoseph Eagar
2022-11-05Cleanup: Move function to legacy mesh conversion fileHans Goudey
2022-11-05OBJ Export: Remove edge recalculationHans Goudey
The removed function call removes all attributes from mesh edges and rebuilds the mesh edge topology. This isn't necessary because meshes always have edges in the first place. Exporting a 4 million face grid, this saved 1.5 seconds out of 4 seconds total for the whole export. Tests files have to be updated, since the edge calculation could potentially change the order of elements. This is also a fix, since previously the exporter would delete all attributes on the evaluated mesh edges. Differential Revision: https://developer.blender.org/D16391
2022-11-05Cleanup: Remove unnecessary node type registraction functionsHans Goudey
These functions provided little benefit compared to simply setting the function pointers directly.
2022-11-05Cleanup: Remove redundant assignment of loose edge flagHans Goudey
This is assigned by `BKE_mesh_calc_edges_loose` a few lines below.
2022-11-05Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-05Fix crash building Python API docsCampbell Barton
Color space conversion item-function missed checking the context was NULL to return a static array. This caused freed memory access when building docs.
2022-11-05Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-05Cleanup: quiet unused argument warningCampbell Barton
2022-11-05Cleanup: use bools and typed enums for WM_job type & flagCampbell Barton
Also use typed enum for the event handler flag.
2022-11-05Cleanup: use bool instead of short for job stop & do_update argumentsCampbell Barton
Since these values are only ever 0/1, use bool type.
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'Aaron Carlisle
2022-11-04PyDoc: Make rst files more readableAaron Carlisle
This commit reduces the amount of white space generated and keeps parameter documentation of a single line. This makes the resulting rst files easier to read in the case of debugging. This was useful while looking into T97464
2022-11-04Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-04Cleanup: quiet unused argument warningCampbell Barton