Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
d795822d
Commit
d795822d
authored
May 28, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DSup and ASup attribute wasn't updated when connection was changed
parent
8164aa65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
wb/lib/wb/src/wb_gcg.cpp
wb/lib/wb/src/wb_gcg.cpp
+7
-8
No files found.
wb/lib/wb/src/wb_gcg.cpp
View file @
d795822d
/*
* Proview $Id: wb_gcg.cpp,v 1.
2 2007-04-25 07:28:00
claes Exp $
* Proview $Id: wb_gcg.cpp,v 1.
3 2007-05-28 14:52:13
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -549,12 +549,6 @@ static pwr_tStatus gcg_replace_ref(
vldh_t_node
output_node
);
static
int
gcg_is_window
(
gcg_ctx
gcgctx
,
pwr_tOid
oid
);
static
int
gcg_set_cmanager
(
vldh_t_wind
wind
);
...
...
@@ -8883,7 +8877,6 @@ int gcg_comp_m25( gcg_ctx gcgctx, vldh_t_node node)
ldh_sParDef
output_bodydef
;
pwr_sAttrRef
*
a_ptr
;
pwr_sAttrRef
aref
;
pwr_tOid
parent
;
int
keep
=
0
;
int
size
;
gcg_t_nocondef
nocondef
[
2
];
...
...
@@ -8949,6 +8942,9 @@ int gcg_comp_m25( gcg_ctx gcgctx, vldh_t_node node)
if
(
EVEN
(
sts
))
return
sts
;
}
else
{
#if 0
// Removed 2007-05-28 cs, Attribute is not updated if connection is changed !!
pwr_tOid parent;
sts = ldh_GetParent( gcgctx->ldhses, aref.Objid, &parent);
if ( ODD(sts)) {
if ( !gcg_is_window( gcgctx, parent)) {
...
...
@@ -8956,6 +8952,7 @@ int gcg_comp_m25( gcg_ctx gcgctx, vldh_t_node node)
keep = 1;
}
}
#endif
}
}
if
(
!
keep
)
{
...
...
@@ -15650,6 +15647,7 @@ static pwr_tStatus gcg_replace_ref( gcg_ctx gcgctx, pwr_sAttrRef *attrref,
return
GSX__SUCCESS
;
}
#if 0 // Not used any mord
static int gcg_is_window( gcg_ctx gcgctx, pwr_tOid oid)
{
pwr_sPlcWindow *windbuffer;
...
...
@@ -15666,6 +15664,7 @@ static int gcg_is_window( gcg_ctx gcgctx, pwr_tOid oid)
}
return 0;
}
#endif
/*************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment