Skip to content

Commit

Permalink
Editor IPC and detachable node graph window (#131)
Browse files Browse the repository at this point in the history
* Remove the use of dynamic_cast in headers (#128) fixes #127

Allows linking with non-rtti projects

* Update ignore

* Update ignore

* Update node editor dependencies

* Ipv6 multicast IPC

* Better UX, correct multicast setup, linux/macos support hopefully

* Switch to IPv4 multicast on loopback interface

* Use shared memory for IPC instead of multicast

* Add IPC Unix support, cleanup code and move into it's own file for easier copying to other projects

* Add error debug log on node graph detach

* Update main.yml

* Better IPC memory safety

* Fix IPC and detached node graph on MacOS

* Cleanup detached argument detection
  • Loading branch information
Auburn authored Feb 13, 2024
1 parent 82f296d commit 2bbf382
Show file tree
Hide file tree
Showing 9 changed files with 479 additions and 108 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
branches: [master,NewFastSIMD]
pull_request:
branches: [master]
pull_request:
branches: [master,NewFastSIMD]
release:
types: [published]

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@
/enc_temp_folder
/cpm-cache
/CMakeUserPresets.json

external/
2 changes: 1 addition & 1 deletion include/FastNoise/Generators/Generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ namespace FastNoise

assert( !gen.get() || GetActiveFeatureSet() == gen->GetActiveFeatureSet() ); // Ensure that all SIMD levels match

SetSourceSIMDPtr( dynamic_cast<const Generator*>( gen.get() ), &memberVariable.simdGeneratorPtr );
SetSourceSIMDPtr( static_cast<const Generator*>( gen.get() ), &memberVariable.simdGeneratorPtr );
memberVariable.base = gen;
}

Expand Down
2 changes: 1 addition & 1 deletion tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ find_package(ImGui REQUIRED SourcesMiscCpp)
CPMAddPackage(
NAME imnodes
GITHUB_REPOSITORY Auburn/imnodes
GIT_TAG 32e2136a0f79ab96537088b8a757618a90bf8785
GIT_TAG 4ccaf656b09fd6b69bdac36f2532756760bd0aa3
GIT_SUBMODULES ".github"
EXCLUDE_FROM_ALL YES
OPTIONS
Expand Down
Loading

0 comments on commit 2bbf382

Please sign in to comment.