Doubt I’d get any help with all these links ,but here it is.
I’m trying to basically copy everything from a modifier to see how you would add a new one. I can’t figure out if this is everything related to modifiers. It’s everything I could find ,but I’m running into a crash when trying to select the modifier menu. This is what I found from searching different things and here’s pretty much what I did.
1: Copied the MOD_boolean.c content and created a new c file with different name
https://developer.blender.org/diffusion/B/browse/master/source/blender/modifiers/intern/MOD_boolean.c
2: Copied everything related to boolean and renamed it
https://developer.blender.org/diffusion/B/browse/master/release/scripts/startup/bl_ui/properties_data_modifier.py$169
3: Copied line here and renamed
https://developer.blender.org/diffusion/B/browse/master/source/blender/modifiers/CMakeLists.txt$51
4: Copied line here and renamed
https://developer.blender.org/diffusion/B/browse/master/source/blender/modifiers/MOD_modifiertypes.h$45
5: Copied line here, renamed, and placed at end of list
https://developer.blender.org/diffusion/B/browse/master/source/blender/makesdna/DNA_modifier_types.h$50
Copied everything related to boolean and renamed it
https://developer.blender.org/diffusion/B/browse/master/source/blender/makesdna/DNA_modifier_types.h$774
6: Copied everything related to boolean and renamed it
https://developer.blender.org/diffusion/B/browse/master/source/blender/editors/space_outliner/outliner_draw.c$939
7: Copied lines here and renamed
https://developer.blender.org/diffusion/B/browse/master/source/blender/makesrna/intern/rna_modifier.c$81
The two lines here
https://developer.blender.org/diffusion/B/browse/master/source/blender/makesrna/intern/rna_modifier.c$352
Everything related to boolean
https://developer.blender.org/diffusion/B/browse/master/source/blender/makesrna/intern/rna_modifier.c$2011
Crash happens with this part of the line “eModifierType_NewModifierName”. If I change to “eModifierType_Boolean” it doesn’t crash. This has got me thinking I haven’t found/changed all files.
https://developer.blender.org/diffusion/B/browse/master/source/blender/makesrna/intern/rna_modifier.c$81