Skip to content

Commit

Permalink
Added guards to pythonPanel usage in mrvCommandInterpreter.cpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Oct 14, 2023
1 parent 4a54cbc commit 0650df7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etc/build_dir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ export OSX_TARGET=11.0

# Build a build directory with that information
export BUILD_DIR=$BUILD_ROOT/${CMAKE_BUILD_TYPE}
if [[ $MRV2_DIST_RELEASE == 1 ]]; then
export BUILD_DIR=$BUILD_DIR-dist
fi


if [[ $KERNEL == *Darwin* ]]; then
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:${PATH}"
Expand Down
2 changes: 2 additions & 0 deletions mrv2/lib/mrvNetwork/mrvCommandInterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1188,9 +1188,11 @@ namespace mrv
tcp->unlock();
return;
}
#ifdef MRV2_PYBIND11
bool value = message["value"];
if ((!value && pythonPanel) || (value && !pythonPanel))
python_panel_cb(nullptr, ui);
#endif
}
else if (c == "Playlist Panel")
{
Expand Down

0 comments on commit 0650df7

Please sign in to comment.