[gimp/gimp-2-8] Bug 758760: OpenRaster plug-In could not open image
- From: Massimo Valentini <mvalentini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 758760: OpenRaster plug-In could not open image
- Date: Thu, 7 Jan 2016 16:52:50 +0000 (UTC)
commit d4cebcea8fec7c74b65bd94332d5ac8ce4c303c7
Author: Massimo Valentini <mvalentini src gnome org>
Date: Thu Jan 7 17:49:52 2016 +0100
Bug 758760: OpenRaster plug-In could not open image
An oversight while cherry-picking in
621f5e296def8159020201b06f544517624f767d
plug-ins/pygimp/plug-ins/file-openraster.py | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/pygimp/plug-ins/file-openraster.py b/plug-ins/pygimp/plug-ins/file-openraster.py
index 6aa273c..135b9b4 100755
--- a/plug-ins/pygimp/plug-ins/file-openraster.py
+++ b/plug-ins/pygimp/plug-ins/file-openraster.py
@@ -271,11 +271,6 @@ def load_ora(filename, raw_filename):
parent_groups.pop()
continue
- if not name:
- # use the filename without extention as name
- n = os.path.basename(path)
- name = os.path.splitext(n)[0]
-
if item.tag == 'stack':
name, x, y, opac, visible, layer_mode = get_group_layer_attributes(item)
gimp_layer = gimp.GroupLayer(img)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]