Python add param to change UUIDs on fp load
By default, we load all footprints with a new UUID set to allow them to be added to the board as unique objects. But when editing footprints, we want to maintain the same UUID. Fixes https://gitlab.com/kicad/code/kicad/issues/11870
This commit is contained in:
parent
66b3b48e93
commit
802745398a
|
@ -119,9 +119,9 @@
|
|||
plug = GetPluginForPath(libname)
|
||||
return plug.FootprintEnumerate(libname)
|
||||
|
||||
def FootprintLoad(libname,name):
|
||||
def FootprintLoad(libname,name,preserveUUID=False):
|
||||
plug = GetPluginForPath(libname)
|
||||
return plug.FootprintLoad(libname,name)
|
||||
return plug.FootprintLoad(libname,name,preserveUUID)
|
||||
|
||||
def FootprintSave(libname,module):
|
||||
plug = GetPluginForPath(libname)
|
||||
|
|
Loading…
Reference in New Issue