Skip to content

Instantly share code, notes, and snippets.

@Baccanno
Baccanno / Unity-BlenderToFBX.py
Created July 21, 2022 12:19
A modified version of unity Blender to FBX in order to keep shared mesh data while using the exact same modifiers. Does not check for modifier configuration yet.
import bpy
blender249 = True
blender280 = (2,80,0) <= bpy.app.version
#
# FUNCTION TO APPLY ALL SHARED MODIFIERS. IT DOES NOT CHECK MODIFIER CONFIGURATION, ONLY NAME
#
def ApplySharedModifiers():
#start by OBJECT mode and deselect all
objs = bpy.data.objects