Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for bug #393: It's impossible to work in Change layer order dialog with keyboard...
[modules/hydro.git]
/
src
/
HYDROPy
/
HYDROData_ArtificialObject.sip
diff --git
a/src/HYDROPy/HYDROData_ArtificialObject.sip
b/src/HYDROPy/HYDROData_ArtificialObject.sip
index dc301f893749318b2605a00d51230edaea0f7549..657e3c36204c897b49f01cb7437e9199bdc4e3ec 100644
(file)
--- a/
src/HYDROPy/HYDROData_ArtificialObject.sip
+++ b/
src/HYDROPy/HYDROData_ArtificialObject.sip
@@
-25,7
+25,7
@@
#include <HYDROData_ArtificialObject.h>
%End
#include <HYDROData_ArtificialObject.h>
%End
-class HYDROData_ArtificialObject : HYDROData_Object /Abstract/
+class HYDROData_ArtificialObject :
public
HYDROData_Object /Abstract/
{
%TypeHeaderCode
#include <HYDROData_ArtificialObject.h>
{
%TypeHeaderCode
#include <HYDROData_ArtificialObject.h>
@@
-35,6
+35,18
@@
class HYDROData_ArtificialObject : HYDROData_Object /Abstract/
// HYDROData_ArtificialObject sub-classes provide a unique kind ID.
switch ( sipCpp->GetKind() )
{
// HYDROData_ArtificialObject sub-classes provide a unique kind ID.
switch ( sipCpp->GetKind() )
{
+ case KIND_OBSTACLE:
+ sipClass = sipClass_HYDROData_Obstacle;
+ break;
+
+ case KIND_DIGUE:
+ sipClass = sipClass_HYDROData_Digue;
+ break;
+
+ case KIND_CHANNEL:
+ sipClass = sipClass_HYDROData_Channel;
+ break;
+
case KIND_UNKNOWN:
sipClass = sipClass_HYDROData_ArtificialObject;
break;
case KIND_UNKNOWN:
sipClass = sipClass_HYDROData_ArtificialObject;
break;