Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b53588
)
Fix for issue #404
author
mpv
<mpv@opencascade.com>
Fri, 17 Apr 2015 11:56:43 +0000
(14:56 +0300)
committer
mpv
<mpv@opencascade.com>
Fri, 17 Apr 2015 11:56:43 +0000
(14:56 +0300)
src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py
patch
|
blob
|
history
diff --git
a/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py
b/src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py
index 26ab3ca9fd49099ae27ac15dd0198b381852be41..9241308435320ab15b5bc4f3b83fd8f7431371cb 100644
(file)
--- a/
src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py
+++ b/
src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py
@@
-84,9
+84,11
@@
class ExportFeature(ModelAPI.ModelAPI_Feature):
for anIndex in range(0, aFeaturesNum):
aFeature = self.Part.object("Features", anIndex)
aSelectionList = aFeature.data().selectionList("group_list")
- aName = aFeature.data().name()
# if a group has been found
if aSelectionList:
+ aFeature = ModelAPI.objectToFeature(aFeature)
+ if aFeature.firstResult() is not None:
+ aName = aFeature.firstResult().data().name()
groupIndex = groupIndex + 1
self.createGroupFromList(aSelectionList, aName)