Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
20e47624
Commit
20e47624
authored
Sep 20, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1785 from paroj:ovis_texup
parents
ff59193d
642bc0c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ovis.cpp
modules/ovis/src/ovis.cpp
+2
-2
No files found.
modules/ovis/src/ovis.cpp
View file @
20e47624
...
...
@@ -363,10 +363,10 @@ public:
// this should be applied to all owned render targets
Ogre
::
RenderTarget
*
targets
[]
=
{
frameSrc
,
rWin
,
depthRTT
};
for
(
int
j
=
0
;
j
<
3
;
j
++
)
for
(
int
j
=
(
frameSrc
==
rWin
);
j
<
3
;
j
++
)
// skip frameSrc if it is the same as rWin
{
Ogre
::
RenderTarget
*
tgt
=
targets
[
j
];
if
(
!
tgt
||
(
frameSrc
==
rWin
&&
tgt
==
rWin
)
)
continue
;
if
(
!
tgt
)
continue
;
Viewport
*
vp
=
tgt
->
getViewport
(
0
);
cm
.
removeCompositorChain
(
vp
);
// remove previous configuration
...
...
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