Skip to content

Commit

Permalink
Syntax update/fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardeau committed Jul 4, 2024
1 parent 315aa66 commit 1c2a117
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/PythonRepl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ bool KeyPressEater::eventFilter(QObject *obj, QEvent *event)
{
m_repl->codeEdit()->clear();
m_repl->codeEdit()->insertPlainText(m_repl->m_history.older());
return true;
}
return true;
case Qt::Key_Home:
m_repl->codeEdit()->moveCursor(QTextCursor::StartOfLine);
m_repl->codeEdit()->moveCursor(QTextCursor::NextWord);
Expand Down
4 changes: 2 additions & 2 deletions src/Runtime/ccCommandLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ void define_ccCommandLine(py::module &m)
&ccCommandLineInterface::saveClouds,
"suffix"_a = QString(),
"allAtOnce"_a = false,
"allAtOnceFileName"_a = nullptr)
"allAtOnceFileName"_a = QString())
.def("saveMeshes",
&ccCommandLineInterface::saveMeshes,
"suffix"_a = QString(),
"allAtOnce"_a = false,
"allAtOnceFileName"_a = nullptr)
"allAtOnceFileName"_a = QString())
.def(
"importFile",
[](ccCommandLineInterface &self,
Expand Down
2 changes: 1 addition & 1 deletion wrapper/cccorelib/src/BoundingBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ void define_BoundingBox(py::module &cccorelib)
.def(py::self += py::self)
.def(py::self += CCVector3())
.def(py::self -= CCVector3())
.def(py::self *= double());
.def(py::self *= PointCoordinateType());
// TODO operator *= square matrix
}

0 comments on commit 1c2a117

Please sign in to comment.