forked from bartvdbraak/blender
Fix T66287: use keyword argument in freestyle text style loading
This commit is contained in:
parent
cf73569d89
commit
65d770ffa3
@ -219,7 +219,7 @@ class SCENE_OT_freestyle_module_open(bpy.types.Operator):
|
|||||||
return {'RUNNING_MODAL'}
|
return {'RUNNING_MODAL'}
|
||||||
|
|
||||||
def execute(self, _context):
|
def execute(self, _context):
|
||||||
text = bpy.data.texts.load(self.filepath, self.make_internal)
|
text = bpy.data.texts.load(self.filepath, internal=self.make_internal)
|
||||||
self.freestyle_module.script = text
|
self.freestyle_module.script = text
|
||||||
return {'FINISHED'}
|
return {'FINISHED'}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user