File tree Expand file tree Collapse file tree 1 file changed +8
-18
lines changed
addons/block_code/ui/picker/categories Expand file tree Collapse file tree 1 file changed +8
-18
lines changed Original file line number Diff line number Diff line change @@ -737,24 +737,6 @@ static func get_built_in_blocks(_class_name: String) -> Array[Block]:
737
737
b .category = "Sounds"
738
738
block_list .append (b )
739
739
740
- b = BLOCKS ["statement_block" ].instantiate ()
741
- b .block_name = "audiostreamplayer_pause_continue"
742
- b .block_type = Types .BlockType .EXECUTE
743
- b .block_format = "{pause: OPTION} the sound"
744
- b .statement = (
745
- """
746
- if "{pause} " == "pause":
747
- stream_paused = true
748
- else:
749
- stream_paused = false
750
- """
751
- . dedent ()
752
- )
753
- b .defaults = {"pause" : OptionData .new (["Pause" , "Continue" ])}
754
- b .tooltip_text = "Pause/Continue the audio stream"
755
- b .category = "Sounds"
756
- block_list .append (b )
757
-
758
740
b = BLOCKS ["statement_block" ].instantiate ()
759
741
b .block_name = "audiostreamplayer_stop"
760
742
b .block_format = "Stop"
@@ -763,6 +745,14 @@ static func get_built_in_blocks(_class_name: String) -> Array[Block]:
763
745
b .category = "Sounds"
764
746
block_list .append (b )
765
747
748
+ props = {
749
+ "stream_paused" :
750
+ {
751
+ "category" : "Sounds" ,
752
+ "has_change" : false ,
753
+ },
754
+ }
755
+
766
756
"AnimationPlayer" :
767
757
var b = BLOCKS ["statement_block" ].instantiate ()
768
758
b .block_name = "animationplayer_play"
You can’t perform that action at this time.
0 commit comments