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
diff options
context:
space:
mode:
authorBastien Montagne <b.mont29@gmail.com>2020-03-09 14:48:32 +0300
committerBastien Montagne <b.mont29@gmail.com>2020-03-09 14:49:04 +0300
commit3a10c61a7d088712e66ae6cc775f8260dc91518b (patch)
treeb6d3161c8f9d26ab5b0e948ef6417bcfebbdb554 /source/blender/blenkernel/intern/lib_id.c
parentb9d1026ce02814473401024e7a3666900488003a (diff)
Cleanup: ParticleSettings: Move to IDTypeInfo and remove unused BKE API.
Diffstat (limited to 'source/blender/blenkernel/intern/lib_id.c')
-rw-r--r--source/blender/blenkernel/intern/lib_id.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/lib_id.c b/source/blender/blenkernel/intern/lib_id.c
index ff9f342f27d..37b416918c7 100644
--- a/source/blender/blenkernel/intern/lib_id.c
+++ b/source/blender/blenkernel/intern/lib_id.c
@@ -533,9 +533,7 @@ bool BKE_lib_id_make_local(Main *bmain, ID *id, const bool test, const int flags
BLI_assert(0);
return true;
case ID_PA:
- if (!test) {
- BKE_particlesettings_make_local(bmain, (ParticleSettings *)id, flags);
- }
+ BLI_assert(0);
return true;
case ID_GD:
if (!test) {
@@ -745,8 +743,7 @@ bool BKE_id_copy_ex(Main *bmain, const ID *id, ID **r_newid, const int flag)
BLI_assert(0);
break;
case ID_PA:
- BKE_particlesettings_copy_data(
- bmain, (ParticleSettings *)*r_newid, (ParticleSettings *)id, flag);
+ BLI_assert(0);
break;
case ID_GD:
BKE_gpencil_copy_data((bGPdata *)*r_newid, (bGPdata *)id, flag);
@@ -1372,7 +1369,7 @@ void BKE_libblock_init_empty(ID *id)
BLI_assert(0);
break;
case ID_PA:
- /* Nothing to do. */
+ BLI_assert(0);
break;
case ID_PC:
BLI_assert(0);