Skip to content

Commit cef011a

Browse files
committed
ovis: s/seperate/separate/g
1 parent ba08dbb commit cef011a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

modules/ovis/include/opencv2/ovis.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ namespace ovis {
1919
enum SceneSettings
2020
{
2121
/// the window will use a separate scene. The scene will be shared otherwise.
22-
SCENE_SEPERATE = 1,
22+
SCENE_SEPARATE = 1,
2323
/// allow the user to control the camera.
2424
SCENE_INTERACTIVE = 2,
2525
/// draw coordinate system crosses for debugging

modules/ovis/samples/ovis_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
owin.createLightEntity("sun", (0, 0, -100))
1919

2020
# interaction scene
21-
iwin = cv.ovis.createWindow("AR", imsize, cv.ovis.SCENE_SEPERATE | cv.ovis.SCENE_INTERACTIVE)
21+
iwin = cv.ovis.createWindow("AR", imsize, cv.ovis.SCENE_SEPARATE | cv.ovis.SCENE_INTERACTIVE)
2222
iwin.createEntity("figure", "Sinbad.mesh", tvec=(0, -5, 0), rot=(np.pi, 0, 0))
2323
iwin.createLightEntity("sun", (0, 0, -100))
2424
iwin.setCameraIntrinsics(K, imsize)

modules/ovis/src/ovis.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,10 @@ class WindowSceneImpl : public WindowScene
287287
{
288288
if (!app->sceneMgr)
289289
{
290-
flags |= SCENE_SEPERATE;
290+
flags |= SCENE_SEPARATE;
291291
}
292292

293-
if (flags & SCENE_SEPERATE)
293+
if (flags & SCENE_SEPARATE)
294294
{
295295
sceneMgr = root->createSceneManager("DefaultSceneManager", title);
296296
RTShader::ShaderGenerator& shadergen = RTShader::ShaderGenerator::getSingleton();
@@ -347,7 +347,7 @@ class WindowSceneImpl : public WindowScene
347347

348348
~WindowSceneImpl()
349349
{
350-
if (flags & SCENE_SEPERATE)
350+
if (flags & SCENE_SEPARATE)
351351
{
352352
TextureManager& texMgr = TextureManager::getSingleton();
353353

@@ -363,7 +363,7 @@ class WindowSceneImpl : public WindowScene
363363
}
364364
}
365365

366-
if(_app->sceneMgr == sceneMgr && (flags & SCENE_SEPERATE))
366+
if(_app->sceneMgr == sceneMgr && (flags & SCENE_SEPARATE))
367367
{
368368
// this is the root window owning the context
369369
CV_Assert(_app->numWindows() == 1 && "the first OVIS window must be deleted last");

0 commit comments

Comments
 (0)