Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
fb51972a
Commit
fb51972a
authored
Jul 26, 2017
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed handling of halfedges in selection nodes (Not updated on geometr change).
Closes #112
parent
26a7c0e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
libs_required/ACG/Scenegraph/StatusNodesT.cc
libs_required/ACG/Scenegraph/StatusNodesT.cc
+8
-0
No files found.
libs_required/ACG/Scenegraph/StatusNodesT.cc
View file @
fb51972a
...
...
@@ -132,6 +132,13 @@ StatusNodeT<Mesh, Mod>::
update_cache
()
{
if
(
invalidGeometry_
)
{
// Vertices, Edges and Faces use the mesh geometry.
// However Halfedge selection buffers are computed.
// Therefore we have to invalidate them when
// the geometry changes to force a recomputation.
halfedgeCacheInvalid_
=
true
;
bbMin_
=
Vec3d
(
FLT_MAX
,
FLT_MAX
,
FLT_MAX
);
bbMax_
=
Vec3d
(
-
FLT_MAX
,
-
FLT_MAX
,
-
FLT_MAX
);
...
...
@@ -143,6 +150,7 @@ update_cache()
}
invalidGeometry_
=
false
;
}
/*
...
...
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