Skip to content

Commit

Permalink
clear unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
Shlule committed May 2, 2024
1 parent d1b001f commit 2efee39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/events/ui/launchScene.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const { spawn } = require("child_process");
const launchScene = (socket) => {
socket.on("launchScene", (data, callback) => {
logger.debugReceiveMessage("/ui", "launchScene", data);

// Construct the rez command parameters
let args = [
"env",
Expand All @@ -23,7 +22,6 @@ const launchScene = (socket) => {
"--task-id",
data.taskId,
];

// If we want to open a file with that dcc
if (data.scene) {
args = args.concat(["--file", data.scene]);
Expand Down
1 change: 1 addition & 0 deletions src/listeners/dcc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = function (io) {

// Register /dcc/action listeners
dccActionNamespace(io).on("connection", function (socket) {
console.log("hello")
initializationDccActionEvent(socket);
queryEvent(socket, io);
updateEvent(socket, io);
Expand Down
2 changes: 2 additions & 0 deletions src/listeners/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ module.exports = (io) => {

// Requires file
const listener = require(path.resolve(__dirname, listenerFile));
// console.log("coucou")
console.log(listener)

// Register listener
listener(io);
Expand Down

0 comments on commit 2efee39

Please sign in to comment.