Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
89161331
Commit
89161331
authored
Apr 07, 2014
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed refreshing issues (DRC, new items after reloading netlist and probably many other places).
parent
c5b65e1e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
view.cpp
common/view/view.cpp
+3
-3
view_item.h
include/view/view_item.h
+2
-2
No files found.
common/view/view.cpp
View file @
89161331
...
@@ -99,11 +99,11 @@ void VIEW::Add( VIEW_ITEM* aItem )
...
@@ -99,11 +99,11 @@ void VIEW::Add( VIEW_ITEM* aItem )
MarkTargetDirty
(
l
.
target
);
MarkTargetDirty
(
l
.
target
);
}
}
if
(
aItem
->
viewRequiredUpdate
()
!=
VIEW_ITEM
::
NONE
)
MarkForUpdate
(
aItem
);
if
(
m_dynamic
)
if
(
m_dynamic
)
aItem
->
viewAssign
(
this
);
aItem
->
viewAssign
(
this
);
if
(
aItem
->
viewRequiredUpdate
()
!=
VIEW_ITEM
::
NONE
)
MarkForUpdate
(
aItem
);
}
}
...
...
include/view/view_item.h
View file @
89161331
...
@@ -174,7 +174,7 @@ public:
...
@@ -174,7 +174,7 @@ public:
ALL
=
0xff
ALL
=
0xff
};
};
VIEW_ITEM
()
:
m_view
(
NULL
),
m_visible
(
true
),
m_requiredUpdate
(
NONE
),
VIEW_ITEM
()
:
m_view
(
NULL
),
m_visible
(
true
),
m_requiredUpdate
(
ALL
),
m_groups
(
NULL
),
m_groupsSize
(
0
)
{}
m_groups
(
NULL
),
m_groupsSize
(
0
)
{}
/**
/**
...
@@ -184,7 +184,7 @@ public:
...
@@ -184,7 +184,7 @@ public:
{
{
ViewRelease
();
ViewRelease
();
delete
[]
m_groups
;
delete
[]
m_groups
;
}
;
}
/**
/**
* Function Type
* Function Type
...
...
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