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
60fe3c9d
Commit
60fe3c9d
authored
Oct 08, 2019
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge PopupMenu dynamic fix for object graph with referenced object
parent
0ac70028
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
xtt/lib/ge/src/ge_dyn.cpp
xtt/lib/ge/src/ge_dyn.cpp
+4
-6
No files found.
xtt/lib/ge/src/ge_dyn.cpp
View file @
60fe3c9d
...
@@ -16115,18 +16115,16 @@ int GePopupMenu::action(grow_tObject object, glow_tEvent event)
...
@@ -16115,18 +16115,16 @@ int GePopupMenu::action(grow_tObject object, glow_tEvent event)
int
x
,
y
;
int
x
,
y
;
int
reference
=
0
;
int
reference
=
0
;
if
(
ref_object
[
0
]
==
'&'
)
{
dyn
->
parse_attr_name
(
ref_object
,
parsed_name
,
&
inverted
,
&
attr_type
,
&
attr_size
);
if
(
parsed_name
[
0
]
==
'&'
)
{
// Refobject starting with '&' indicates reference
// Refobject starting with '&' indicates reference
pwr_tAName
refname
;
pwr_tAName
refname
;
dyn
->
parse_attr_name
(
strncpy
(
refname
,
parsed_name
,
sizeof
(
refname
));
ref_object
,
refname
,
&
inverted
,
&
attr_type
,
&
attr_size
);
sts
=
dyn
->
graph
->
get_reference_name
(
refname
,
parsed_name
);
sts
=
dyn
->
graph
->
get_reference_name
(
refname
,
parsed_name
);
if
(
EVEN
(
sts
))
if
(
EVEN
(
sts
))
break
;
break
;
// reference = 1;
}
else
{
}
else
{
dyn
->
parse_attr_name
(
ref_object
,
parsed_name
,
&
inverted
,
&
attr_type
,
&
attr_size
);
if
(
inverted
)
// Old syntax for reference
if
(
inverted
)
// Old syntax for reference
reference
=
1
;
reference
=
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