diff options
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_operators/freestyle.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_operators/freestyle.py b/release/scripts/startup/bl_operators/freestyle.py index e9e636235ff..7aa6ae13b56 100644 --- a/release/scripts/startup/bl_operators/freestyle.py +++ b/release/scripts/startup/bl_operators/freestyle.py @@ -166,10 +166,6 @@ class SCENE_OT_freestyle_module_open(bpy.types.Operator): return {'RUNNING_MODAL'} def execute(self, context): - text = bpy.data.texts.load(self.filepath) - if self.make_internal: - text.is_in_memory = True - text.is_dirty = True - text.filepath = "" + text = bpy.data.texts.load(self.filepath, self.make_internal) self.freestyle_module.script = text return {'FINISHED'} |