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
45ea6aef
Commit
45ea6aef
authored
Apr 22, 2015
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge change in loaded subgraph extern/intern didn't set modify flag
parent
7dd8cd27
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
xtt/lib/ge/src/ge_subgraphs.cpp
xtt/lib/ge/src/ge_subgraphs.cpp
+7
-7
xtt/lib/ge/src/ge_subgraphs.h
xtt/lib/ge/src/ge_subgraphs.h
+5
-3
No files found.
xtt/lib/ge/src/ge_subgraphs.cpp
View file @
45ea6aef
...
@@ -212,6 +212,7 @@ int SubGraphs::set_all_extern( int eval)
...
@@ -212,6 +212,7 @@ int SubGraphs::set_all_extern( int eval)
if
(
item
->
type
==
subgraphs_eItemType_SubGraph
)
if
(
item
->
type
==
subgraphs_eItemType_SubGraph
)
((
ItemSubGraph
*
)
item
)
->
set_extern
(
eval
);
((
ItemSubGraph
*
)
item
)
->
set_extern
(
eval
);
}
}
grow_SetModified
(
(
grow_tCtx
)
grow_ctx
,
1
);
return
1
;
return
1
;
}
}
...
@@ -564,7 +565,7 @@ int SubGraphs::object_attr()
...
@@ -564,7 +565,7 @@ int SubGraphs::object_attr()
grow_GetNodeClassName
(
*
list_p
,
name
);
grow_GetNodeClassName
(
*
list_p
,
name
);
new
ItemSubGraph
(
this
,
name
,
extern_p
,
*
list_p
,
new
ItemSubGraph
(
this
,
name
,
extern_p
,
*
list_p
,
NULL
,
flow_eDest_IntoLast
);
grow_ctx
,
NULL
,
flow_eDest_IntoLast
);
list_p
++
;
list_p
++
;
}
}
...
@@ -639,11 +640,10 @@ int SubGraphs::init_brow_cb( FlowCtx *fctx, void *client_data)
...
@@ -639,11 +640,10 @@ int SubGraphs::init_brow_cb( FlowCtx *fctx, void *client_data)
ItemSubGraph
::
ItemSubGraph
(
SubGraphs
*
subgraphs
,
ItemSubGraph
::
ItemSubGraph
(
SubGraphs
*
subgraphs
,
char
*
item_name
,
int
*
item_extern_p
,
void
*
item_nodeclass
,
char
*
item_name
,
int
*
item_extern_p
,
void
*
item_nodeclass
,
brow_tNode
dest
,
flow_eDest
dest_code
)
:
void
*
item_grow_ctx
,
brow_tNode
dest
,
flow_eDest
dest_code
)
:
SubGraphBaseItem
(
subgraphs_eItemType_SubGraph
),
SubGraphBaseItem
(
subgraphs_eItemType_SubGraph
),
nodeclass
(
item_nodeclass
),
extern_p
(
item_extern_p
),
grow_ctx
(
item_grow_ctx
),
nodeclass
(
item_nodeclass
),
extern_p
(
item_extern_p
),
old_extern
(
0
),
first_scan
(
0
)
old_extern
(
0
),
first_scan
(
0
)
{
{
strcpy
(
name
,
item_name
);
strcpy
(
name
,
item_name
);
...
...
xtt/lib/ge/src/ge_subgraphs.h
View file @
45ea6aef
...
@@ -144,16 +144,18 @@ class SubGraphBaseItem {
...
@@ -144,16 +144,18 @@ class SubGraphBaseItem {
class
ItemSubGraph
:
public
SubGraphBaseItem
{
class
ItemSubGraph
:
public
SubGraphBaseItem
{
public:
public:
ItemSubGraph
(
SubGraphs
*
subgraphs
,
char
*
item_name
,
int
*
item_extern_p
,
ItemSubGraph
(
SubGraphs
*
subgraphs
,
char
*
item_name
,
int
*
item_extern_p
,
void
*
item_nodeclass
,
void
*
item_nodeclass
,
void
*
item_grow_ctx
,
brow_tNode
dest
,
flow_eDest
dest_code
);
brow_tNode
dest
,
flow_eDest
dest_code
);
brow_tNode
node
;
brow_tNode
node
;
void
*
grow_ctx
;
char
name
[
120
];
char
name
[
120
];
void
*
nodeclass
;
void
*
nodeclass
;
int
*
extern_p
;
int
*
extern_p
;
int
old_extern
;
int
old_extern
;
int
first_scan
;
int
first_scan
;
void
set_extern
(
int
value
)
{
*
extern_p
=
value
;};
void
set_extern
(
int
value
)
{
*
extern_p
=
value
;
grow_SetModified
((
grow_tCtx
)
grow_ctx
,
1
);
};
};
};
/*@}*/
/*@}*/
...
...
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