tornavis/source/blender/blenkernel
Sybren A. Stüvel a7075a30e2 BKE_callback_remove: prevent crash on Blender exit
`BKE_callback_remove` now checks whether the callback actually is known,
before trying to remove it.

`BKE_blender_atexit()` runs after `BKE_callback_global_finalize()`. When
an at-exit callback tried to unregister its BKE callbacks, these would
already be unregistered, causing a crash of Blender when exiting,
2021-10-19 15:53:11 +02:00
..
intern BKE_callback_remove: prevent crash on Blender exit 2021-10-19 15:53:11 +02:00
BKE_DerivedMesh.h Cleanup: Remove unused DerivedMesh functions 2021-10-05 13:16:50 -05:00
BKE_action.h Cleanup: comment blocks, trailing space in comments 2021-06-24 15:59:34 +10:00
BKE_action.hh Cleanup: sort struct blocks 2021-08-26 12:39:45 +10:00
BKE_addon.h Cleanup: use C comments for descriptive text 2020-10-10 22:04:51 +11:00
BKE_anim_data.h Cleanup: rename BKE_animdata_{add=>ensure}_id 2021-07-09 11:53:16 +10:00
BKE_anim_path.h Fix T81707: Spline IK Joints "Floating" above curve 2021-04-08 15:52:33 +02:00
BKE_anim_visualization.h Cleanup: sort struct blocks 2020-12-16 16:26:23 +11:00
BKE_animsys.h Animation: add function to blend Action into pose 2021-07-15 16:12:36 +02:00
BKE_anonymous_attribute.h Geometry Nodes: fields and anonymous attributes 2021-09-09 12:54:20 +02:00
BKE_anonymous_attribute.hh Cleanup: spelling 2021-09-12 19:51:16 +10:00
BKE_appdir.h GHOST: Add option to request (user) cache folder. 2021-10-12 08:42:25 +02:00
BKE_armature.h Cleanup: sort struct declarations 2021-07-16 11:48:54 +10:00
BKE_armature.hh Pose Library: remove assumption about Action group names 2021-07-20 17:12:01 +02:00
BKE_asset.h Cleanup: spelling in comments 2021-09-24 11:31:23 +10:00
BKE_asset_catalog.hh Cleanup: asset catalogs, rename store_undo_snapshot to undo_push 2021-10-12 14:42:36 +02:00
BKE_asset_catalog_path.hh Fix warning about deleted default constructor declared as default 2021-10-12 16:40:02 +02:00
BKE_asset_library.h Assets: add global `bke::AssetLibraryService` class 2021-10-18 14:21:41 +02:00
BKE_asset_library.hh Assets: add global `bke::AssetLibraryService` class 2021-10-18 14:21:41 +02:00
BKE_attribute.h Modifiers: export motion blur velocity through attribute 2021-09-10 16:48:30 +02:00
BKE_attribute_access.hh Cleanup: use doxygen sections 2021-10-05 11:10:25 +11:00
BKE_attribute_math.hh Cleanup: comment blocks, trailing space in comments 2021-06-24 15:59:34 +10:00
BKE_autoexec.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_blender.h Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
BKE_blender_copybuffer.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_blender_undo.h Cleanup/refactor: Undosys: Get rid of the magic values for undo direction. 2021-02-04 22:03:39 +01:00
BKE_blender_user_menu.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_blender_version.h Geometry Nodes: Remove implicit realizing and conversion 2021-10-19 08:39:10 -05:00
BKE_blendfile.h Revert "Revert "Enhanced stats/reports for blendfile reading."" 2021-06-23 10:37:00 +02:00
BKE_boids.h Cleanup: reduce indirect DNA header inclusion 2020-12-15 12:34:14 +11:00
BKE_bpath.h Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
BKE_brush.h Cleanup: rename get_brush_icon, make it a static function 2021-01-04 17:37:44 +11:00
BKE_bvhutils.h Cleanup: spelling in comments 2021-10-12 17:55:02 +11:00
BKE_cachefile.h Cleanup: spelling in comments & minor cleanup 2021-08-21 13:26:54 +10:00
BKE_callbacks.h Kernel: allow unregistering BKE callback functions 2021-09-27 10:57:23 +02:00
BKE_camera.h Refactor: remove `BKE_<id_type>_copy` functions. 2020-10-07 18:05:06 +02:00
BKE_ccg.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_cdderivedmesh.h Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
BKE_cloth.h Cleanup: reserve C++ comments for disabled code 2021-07-20 15:01:05 +10:00
BKE_collection.h Cleanup: rename BKE_collection_{free => free_data} 2021-08-11 16:09:23 +10:00
BKE_collision.h Cleanup: full sentences in comments, improve comment formatting 2021-06-26 21:50:48 +10:00
BKE_colorband.h Cleanup: use bool instead of int in various places 2020-09-02 19:10:40 +02:00
BKE_colortools.h Nodes: Add Float Curve for GN and Shader nodes. 2021-09-30 19:24:40 +01:00
BKE_constraint.h Add Extras Dropdown Menu to Constraints 2021-08-12 14:24:27 +02:00
BKE_context.h Cleanup: add CTX_data_pointer_set_ptr & CTX_data_list_add_ptr 2021-08-31 13:00:31 +10:00
BKE_crazyspace.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_cryptomatte.h Cleanup: clang-format, trailing space 2021-03-22 14:25:42 +11:00
BKE_cryptomatte.hh Compositor: Redesign Cryptomatte node for better usability 2021-03-16 07:43:17 +01:00
BKE_curve.h Cleanup: Remove unused function, unused declaration 2021-07-19 11:56:52 -04:00
BKE_curve_to_mesh.hh Cleanup: clang-format, correct doxy groups 2021-10-06 13:23:13 +11:00
BKE_curveprofile.h Cleanup: Make more functions static 2021-10-03 19:52:59 -05:00
BKE_customdata.h Geometry Nodes: fields and anonymous attributes 2021-09-09 12:54:20 +02:00
BKE_customdata_file.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_data_transfer.h Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXX 2021-07-04 00:43:40 +10:00
BKE_deform.h Cleanup: sort struct declarations 2021-07-16 11:48:54 +10:00
BKE_displist.h Fix D12533: Simplify curve object to mesh conversion 2021-09-23 11:41:46 -05:00
BKE_displist_tangent.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_duplilist.h Geometry Nodes: support for geometry instancing 2021-09-06 18:31:25 +02:00
BKE_dynamicpaint.h Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
BKE_editlattice.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_editmesh.h Fix regression in recent change 0708733c46 2021-09-02 16:12:24 +10:00
BKE_editmesh_bvh.h Cleanup: clang-format 2020-10-01 14:29:45 +02:00
BKE_editmesh_cache.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_editmesh_tangent.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_effect.h Cleanup: full sentences in comments, improve comment formatting 2021-06-26 21:50:48 +10:00
BKE_fcurve.h Cleanup: use const arguments for accessor functions 2021-06-30 16:42:19 +10:00
BKE_fcurve_driver.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_fluid.h Fluid: Added domain check for new OpenVDB precision 'Mini' type 2020-10-19 21:40:17 +02:00
BKE_freestyle.h Cleanup: reduce indirect DNA header inclusion 2020-12-15 12:34:14 +11:00
BKE_geometry_set.h Geometry Nodes: support for geometry instancing 2021-09-06 18:31:25 +02:00
BKE_geometry_set.hh Geometry Nodes: Create empty components less often 2021-10-14 12:43:36 -05:00
BKE_geometry_set_instances.hh Geometry Nodes: Remove implicit realizing and conversion 2021-10-19 08:39:10 -05:00
BKE_global.h Fix security popup re-displaying after undo 2021-09-16 16:56:38 +10:00
BKE_gpencil.h Cleanup: use "free_data" suffix when the argument isn't freed 2021-08-20 16:37:50 +10:00
BKE_gpencil_curve.h GPencil: Interpolate Tools refactor 2021-02-19 17:41:28 +01:00
BKE_gpencil_geom.h GPencil: Curvature support for length modifier 2021-09-21 23:03:21 +08:00
BKE_gpencil_modifier.h Fix T89849: Time offset not working with Bake Object transform to Grease pencil 2021-07-14 11:09:25 +02:00
BKE_hair.h Revert "CleanUp: Introduce `eMeshBatchDirtyMode` enum" 2020-10-09 07:25:43 +02:00
BKE_icons.h Fix redundant declaration warning 2020-12-15 17:19:55 +01:00
BKE_idprop.h Refactor IDProperty UI data storage 2021-08-27 08:27:24 -05:00
BKE_idtype.h Initial implementation of local ID re-use when appending. 2021-09-22 16:55:39 +02:00
BKE_image.h Cleanup: Add const keyword to `BKE_packedfile_id_check`. 2021-10-11 09:40:22 +02:00
BKE_image_save.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_ipo.h Cleanup: remove redundant struct declarations 2020-12-16 16:25:56 +11:00
BKE_kelvinlet.h Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
BKE_key.h Cleanup: use "free_data" suffix when the argument isn't freed 2021-08-20 16:37:50 +10:00
BKE_keyconfig.h Cleanup: correct spelling in comments 2021-02-05 16:23:34 +11:00
BKE_lattice.h Cleanup: remove redundant struct declarations 2020-12-16 16:25:56 +11:00
BKE_layer.h LayerCollections: Add a way to prevent their resync with Collection hierarchy. 2021-07-26 17:36:46 +02:00
BKE_lib_id.h Fix T90246: Full Copy'ing a scene confuses physics in the original scene. 2021-09-30 16:00:29 +02:00
BKE_lib_override.h Fix T89400: Possible to delete objects used by overrides of collections. 2021-09-28 18:30:33 +02:00
BKE_lib_query.h LibOverride/LibQuery: Refactor 'non-overridable' status management. 2021-05-05 12:51:59 +02:00
BKE_lib_remap.h ID management: Add new version of `relink_to_newid` using proper new remapping code. 2021-09-14 17:49:35 +02:00
BKE_library.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_light.h Refactor: remove `BKE_<id_type>_copy` functions. 2020-10-07 18:05:06 +02:00
BKE_lightprobe.h Refactor: remove `BKE_<id_type>_copy` functions. 2020-10-07 18:05:06 +02:00
BKE_linestyle.h Refactor: remove `BKE_<id_type>_copy` functions. 2020-10-07 18:05:06 +02:00
BKE_main.h Cleanup: use 'e' prefix for enum types 2021-10-19 18:35:39 +11:00
BKE_main_idmap.h BlenRead: Add GHash-based search for already read linked IDs. 2021-07-27 14:53:49 +02:00
BKE_mask.h Cleanup: use 'r_' prefix for return arguments, order last 2021-02-05 22:34:03 +11:00
BKE_material.h Fix T91691: Selecting "Remove unused slots" in Materials panel removes slots that are assigned to particle systems/hair. 2021-09-27 18:09:20 +02:00
BKE_mball.h Revert "CleanUp: Introduce `eMeshBatchDirtyMode` enum" 2020-10-09 07:25:43 +02:00
BKE_mball_tessellate.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_mesh.h Cleanup: spelling in comments 2021-10-03 12:13:29 +11:00
BKE_mesh_boolean_convert.hh Cleanup: Remove unecessary C API for direct mesh boolean 2021-04-02 00:16:23 -05:00
BKE_mesh_fair.h Sculpt: Fair Face Sets operation for Face Set Edit 2020-12-15 20:32:58 +01:00
BKE_mesh_iterators.h Fix T89393: crash when selecting edges when geometry nodes has "on cage" turned on 2021-07-23 16:15:18 +02:00
BKE_mesh_mapping.h Cleanup: clang-format (re-run after v12 version bump) 2021-07-30 16:19:19 +10:00
BKE_mesh_mirror.h Cleanup: Sync header+implementaiton definition. 2021-03-05 09:48:49 +01:00
BKE_mesh_remap.h Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXX 2021-07-04 00:43:40 +10:00
BKE_mesh_remesh_voxel.h Cleanup: Remove unused/unecessary OpenVDB C API 2021-08-02 12:26:28 -04:00
BKE_mesh_runtime.h Cleanup: Use const mesh to ensure BVH and triangulation cache 2021-07-02 11:37:01 -05:00
BKE_mesh_sample.hh Geometry Nodes: Fields transfer attribute node 2021-10-15 14:09:08 -05:00
BKE_mesh_tangent.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_mesh_types.h Revert "Depsgraph: Implement 'ID_RECALC_GEOMETRY_DEFORM'" 2021-07-19 10:17:38 -03:00
BKE_mesh_wrapper.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_modifier.h Cleanup, format 2021-08-20 02:30:11 +02:00
BKE_movieclip.h Tracking: Fix movie file prefetch freezing interface 2021-03-22 16:27:35 +01:00
BKE_multires.h Cleanup: comment blocks, trailing space in comments 2021-06-24 15:59:34 +10:00
BKE_nla.h Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXX 2021-07-04 00:43:40 +10:00
BKE_node.h Nodes: support sharing node declarations between nodes 2021-10-18 15:22:34 +02:00
BKE_object.h Asset: Dropping Material assets on material slot under mouse cursor. 2021-09-08 08:47:26 +02:00
BKE_object_deform.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_object_facemap.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_ocean.h Cleanup: clang-format, correct doxy groups 2021-10-06 13:23:13 +11:00
BKE_outliner_treehash.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_packedFile.h Cleanup: Add const keyword to `BKE_packedfile_id_check`. 2021-10-11 09:40:22 +02:00
BKE_paint.h Cleanup: spelling in comments 2021-10-18 12:13:10 +11:00
BKE_particle.h Fix T90715: Remove correct particle modifier through Python API 2021-08-24 18:41:22 +02:00
BKE_pbvh.h Cleanup: spelling in comments 2021-10-18 12:13:10 +11:00
BKE_pointcache.h Cleanup: Replace int with bool for pointcache function 2021-08-03 15:51:25 +02:00
BKE_pointcloud.h Geometry Nodes: initial scattering and geometry nodes 2020-12-02 15:38:47 +01:00
BKE_preferences.h BKE Preferences: find asset library containing a path 2021-09-27 18:10:47 +02:00
BKE_report.h Cleanup: use 'e' prefix for enum types 2021-10-19 18:35:39 +11:00
BKE_rigidbody.h Cleanup: clang-format, correct doxy groups 2021-10-06 13:23:13 +11:00
BKE_scene.h Cleanup and remove SEQ_ALL_BEGIN macro 2021-08-25 17:30:39 +02:00
BKE_screen.h UI: Visual style update to panels 2021-10-17 18:31:24 +02:00
BKE_sequencer_offscreen.h Cleanup: reduce indirect DNA header inclusion 2020-12-15 12:34:14 +11:00
BKE_shader_fx.h Cleanup: use const arguments for accessor functions 2021-06-30 16:42:19 +10:00
BKE_shrinkwrap.h Cleanup: Move remesh files to C++ 2021-07-30 13:15:01 -04:00
BKE_simulation.h Cleanup: reduce indirect DNA header inclusion 2020-12-15 12:34:14 +11:00
BKE_softbody.h Cleanup: remove unused baking struct members from soft-body 2021-05-11 16:00:38 +10:00
BKE_sound.h Audaspace: added audio file streams functionality. 2021-09-18 21:45:33 +02:00
BKE_speaker.h Cleanup: remove redundant struct declarations 2020-12-16 16:25:56 +11:00
BKE_spline.hh Geometry Nodes: Expose Bezier handle positions as an attribute 2021-09-29 15:29:29 -05:00
BKE_studiolight.h Cleanup: quiet stringop-overflow compiler warning 2021-07-13 16:54:25 +10:00
BKE_subdiv.h Cleanup: typos in code and comments. 2021-09-25 09:31:00 +02:00
BKE_subdiv_ccg.h UI: Fix Typos in Comments and Docs 2021-02-05 19:08:14 -08:00
BKE_subdiv_deform.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_subdiv_eval.h Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix 2020-09-04 21:04:16 +02:00
BKE_subdiv_foreach.h Cleanup: typos in code and comments. 2021-09-25 09:31:00 +02:00
BKE_subdiv_mesh.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_subdiv_topology.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_subsurf.h Cleanup: comment blocks, trailing space in comments 2021-06-24 15:59:34 +10:00
BKE_text.h Cleanup: use const arguments for accessor functions 2021-06-30 16:42:19 +10:00
BKE_text_suggestions.h Cleanup: reduce indirect DNA header inclusion 2020-12-15 12:34:14 +11:00
BKE_texture.h Refactor: remove `BKE_<id_type>_copy` functions. 2020-10-07 18:05:06 +02:00
BKE_tracking.h Cleanup: spelling in comments 2021-07-02 12:15:29 +10:00
BKE_undo_system.h Cleanup: use 'e' prefix for enum types 2021-10-19 18:35:39 +11:00
BKE_unit.h Add unit for time stored in seconds 2021-06-10 12:15:59 +02:00
BKE_vfont.h Cleanup: rename BKE_font.h -> BKE_vfont.h 2021-10-06 11:18:16 +11:00
BKE_vfontdata.h Cleanup: remove unused flag argument 2021-10-06 10:55:54 +11:00
BKE_volume.h Cleanup: spelling in comments 2021-09-29 07:29:15 +10:00
BKE_volume_render.h Cleanup: remove redundant cast, use const casts 2021-06-08 00:23:09 +10:00
BKE_volume_to_mesh.hh Cleanup: redundant struct declarations 2021-03-04 17:17:19 +11:00
BKE_workspace.h Fix (unreported) design flow in how workspace's relation data are read from .blend file. 2020-10-02 11:47:34 +02:00
BKE_world.h Refactor: Remove `BKE_XXX_localize()`, in favor of using regular ID copying code. 2020-10-07 11:09:36 +02:00
BKE_writeavi.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
BKE_writeffmpeg.h Code Style: use "#pragma once" in source directory 2020-08-07 09:50:34 +02:00
CMakeLists.txt Assets: add global `bke::AssetLibraryService` class 2021-10-18 14:21:41 +02:00
nla_private.h Cleanup: repeated terms in code comments & error messages 2021-06-28 15:46:08 +10:00
particle_private.h Cleanup: reduce indirect DNA header inclusion 2020-12-15 12:34:14 +11:00
tracking_private.h Fix T86262: Tracking backwards fails after gap in track 2021-03-15 15:55:09 +01:00