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
ca6e50b5
Commit
ca6e50b5
authored
Oct 08, 2019
by
Claes Sjofors
Committed by
Claes Sjöfors
Mar 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge PopupMenu dynamic fix for object graph with referenced object
parent
503c02d7
Changes
1
Show 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 @
ca6e50b5
...
...
@@ -16115,18 +16115,16 @@ int GePopupMenu::action(grow_tObject object, glow_tEvent event)
int x, y;
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
pwr_tAName refname;
dyn
->
parse_attr_name
(
ref_object
,
refname
,
&
inverted
,
&
attr_type
,
&
attr_size
);
strncpy(refname, parsed_name, sizeof(refname));
sts = dyn->graph->get_reference_name(refname, parsed_name);
if (EVEN(sts))
break;
// reference = 1;
} else {
dyn
->
parse_attr_name
(
ref_object
,
parsed_name
,
&
inverted
,
&
attr_type
,
&
attr_size
);
if (inverted) // Old syntax for reference
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