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
2022-11-07Merge branch 'master' into gpencil-new-data-proposalgpencil-new-data-proposalAntonio Vazquez
2022-11-07Merge branch 'blender-v3.4-release'Miguel Pozo
2022-11-07 Fix T101533: Wrong DoF when a non-camera object is the active cameraMiguel Pozo
Make sure non-camera data is not casted to a Camera pointer. Solution suggested by Damien Picard (@pioverfour).
2022-11-07Fix T100872: restrict Python API on built-in nodesJacques Lucke
Differential Revision: https://developer.blender.org/D16304
2022-11-07Fix T102324: reverse curve node breaks crazy space editingJacques Lucke
2022-11-07Fix strict compiler warningsSergey Sharybin
2022-11-07Fix T102311: crash when opening node add menu with assetsJacques Lucke
2022-11-07Fix T102053: snap fails with instances of geometry nodesGermano Cavalcante
As instances are often generated geometries, we cannot rely on the data provided by `DupliObject::ob`. Use `DupliObject::ob_data` when possible. This required a major refactor in the code as the output variables are now gathered in context and easier to access.
2022-11-07Fix potentially uninitialized memory usageGermano Cavalcante
`nearest_world_tree_co` allows null parameter, so the `index` variable isn't really needed and doesn't even need to be initialized.
2022-11-07Transform: remove SnapData cache for meshesGermano Cavalcante
All cache needed is already stored in `Mesh.runtime`.
2022-11-07Cleanup: unify struct declaration style for Python types, update namesCampbell Barton
Use struct identifiers in comments before the value. This has some advantages: - The struct identifiers didn't mix well with other code-comments, where other comments were wrapped onto the next line. - Minor changes could re-align all other comments in the struct. - PyVarObject_HEAD_INIT & tp_name are no longer placed on the same line. Remove overly verbose comments copied from PyTypeObject (Python v2.x), these aren't especially helpful and get outdated. Also corrected some outdated names: - PyTypeObject.tp_print -> tp_vectorcall_offset - PyTypeObject.tp_reserved -> tp_as_async
2022-11-07Cleanup: remove unused variableCampbell Barton
2022-11-07Fix 'ED_transform_snap_object_project_ray_all' not return 'hit_list'Germano Cavalcante
Missed in rBff4f14b21a42.
2022-11-07Merge branch 'blender-v3.4-release'Philipp Oeser
2022-11-07Fix T102053: snap fails with instances of geometry nodesGermano Cavalcante
As instances are often generated geometries, we cannot rely on the data provided by `DupliObject::ob`. Use `DupliObject::ob_data` when possible. This required a major refactor in the code as the output variables are now gathered in context and easier to access.
2022-11-07Fix potentially uninitialized memory usageGermano Cavalcante
`nearest_world_tree_co` allows null parameter, so the `index` variable isn't really needed and doesn't even need to be initialized.
2022-11-07Transform: remove SnapData cache for meshesGermano Cavalcante
All cache needed is already stored in `Mesh.runtime`.
2022-11-07Fix Curves Smooth modifier appears to be able to act on control pointsPhilipp Oeser
This is not the case though, the modifier act explicitly on mesh edges, if no tesselated mesh is provided, it would simpy early out and do nothing. Now always disable the "Apply on Spline" option with a tip that this modifier can only smooth the tesselated curve (not the underlying curve control points). Similar to rB1a6b51e17502. Fixes T102060. Maniphest Tasks: T102060 Differential Revision: https://developer.blender.org/D16386
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-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-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-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