Fix T66287: use keyword argument in freestyle text style loading

This commit is contained in:
Philipp Oeser 2019-07-01 09:44:08 +02:00
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'}