Skip to content

Commit

Permalink
Fixing github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaDdS committed May 3, 2024
1 parent 194dfb0 commit ce2cbe4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y ccache ninja-build
sudo apt-get install python2.7
- name: Install Dependencies (Windows)
if: matrix.config.os == 'windows-latest'
Expand All @@ -64,10 +63,10 @@ jobs:
key: ${{ matrix.config.os }}-${{ matrix.build_type }}

- name: Install OpenCV
uses: Dovyski/setup-opencv-action@v1.1
with:
opencv-version: '4.2.0'
install-deps: false
uses: rayandrews/with-opencv-action@v1
with:
dir: ./opencv-install
opencv-version: '4.0.0'

- name: Configure
run: >
Expand Down
2 changes: 1 addition & 1 deletion src/OpenCVGodot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ Ref<Mat> OpenCVGodot::bitwise_not( Ref<Mat> mat, Ref<Mat> mask )
mask = Ref<Mat>( memnew( Mat ) );
}

try
try
{
cv::bitwise_not( mat->get_mat(), outMat, mask->get_mat() );
}
Expand Down

0 comments on commit ce2cbe4

Please sign in to comment.