Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Thomas Pitiot
CGoGN
Commits
68f0b374
Commit
68f0b374
authored
Jul 28, 2011
by
Maire Nicolas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Autre petite correction dans clippingShader.
parent
cf57535b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/Utils/clippingShader.cpp
src/Utils/clippingShader.cpp
+2
-2
No files found.
src/Utils/clippingShader.cpp
View file @
68f0b374
...
...
@@ -144,7 +144,7 @@ void ClippingShader::deleteClipPlane(unsigned int id)
// Rearrange planes arrays
m_clipPlanes
.
erase
(
m_clipPlanes
.
begin
()
+
m_clipPlanesIds
[
id
].
index
);
for
(
size_t
i
;
i
<
m_clipPlanesIds
.
size
();
i
++
)
for
(
size_t
i
=
0
;
i
<
m_clipPlanesIds
.
size
();
i
++
)
{
if
(
m_clipPlanesIds
[
i
].
index
>
m_clipPlanesIds
[
id
].
index
)
m_clipPlanesIds
[
i
].
index
-=
1
;
...
...
@@ -450,7 +450,7 @@ void ClippingShader::deleteClipSphere(unsigned int id)
// Rearrange spheres arrays
m_clipSpheres
.
erase
(
m_clipSpheres
.
begin
()
+
m_clipSpheresIds
[
id
].
index
);
for
(
size_t
i
;
i
<
m_clipSpheresIds
.
size
();
i
++
)
for
(
size_t
i
=
0
;
i
<
m_clipSpheresIds
.
size
();
i
++
)
{
if
(
m_clipSpheresIds
[
i
].
index
>
m_clipSpheresIds
[
id
].
index
)
m_clipSpheresIds
[
i
].
index
-=
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