Merge pull request #3 from shadownetdev1/patch-1
Fixed DT_Play_Sound_At_Execution so that it actually works
This commit is contained in:
@@ -39,11 +39,16 @@ class Play_Sound_RealTime():
|
||||
|
||||
RETURN_TYPES = ("IMAGE",)
|
||||
FUNCTION = "do_sound"
|
||||
|
||||
OUTPUT_NODE = True
|
||||
|
||||
CATEGORY = "VextraNodes"
|
||||
|
||||
def do_sound(self, images, path, volume):
|
||||
PlaySound(path, volume)
|
||||
return {
|
||||
"result": (images, ),
|
||||
}
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"Play Sound At Execution": Play_Sound_RealTime
|
||||
|
||||
Reference in New Issue
Block a user