Fixing bug EN_getcurvetype
This commit is contained in:
@@ -3650,6 +3650,8 @@ int DLLEXPORT EN_getpumptype(EN_ProjectHandle ph, int index, int *type) {
|
|||||||
|
|
||||||
int DLLEXPORT EN_getcurvetype(EN_ProjectHandle ph, int curveindex, int *type) {
|
int DLLEXPORT EN_getcurvetype(EN_ProjectHandle ph, int curveindex, int *type) {
|
||||||
|
|
||||||
|
EN_Project *p = (EN_Project*)ph;
|
||||||
|
|
||||||
EN_Network *net = &p->network;
|
EN_Network *net = &p->network;
|
||||||
|
|
||||||
if (!p->Openflag)
|
if (!p->Openflag)
|
||||||
|
|||||||
Reference in New Issue
Block a user