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 @@ -735,24 +735,6 @@ static func get_built_in_blocks(_class_name: String) -> Array[Block]:
735
735
b .category = "Sounds"
736
736
block_list .append (b )
737
737
738
- b = BLOCKS ["statement_block" ].instantiate ()
739
- b .block_name = "audiostreamplayer_pause_continue"
740
- b .block_type = Types .BlockType .EXECUTE
741
- b .block_format = "{pause: OPTION} the sound"
742
- b .statement = (
743
- """
744
- if "{pause} " == "pause":
745
- stream_paused = true
746
- else:
747
- stream_paused = false
748
- """
749
- . dedent ()
750
- )
751
- b .defaults = {"pause" : OptionData .new (["Pause" , "Continue" ])}
752
- b .tooltip_text = "Pause/Continue the audio stream"
753
- b .category = "Sounds"
754
- block_list .append (b )
755
-
756
738
b = BLOCKS ["statement_block" ].instantiate ()
757
739
b .block_name = "audiostreamplayer_stop"
758
740
b .block_format = "Stop"
@@ -761,6 +743,14 @@ static func get_built_in_blocks(_class_name: String) -> Array[Block]:
761
743
b .category = "Sounds"
762
744
block_list .append (b )
763
745
746
+ props = {
747
+ "stream_paused" :
748
+ {
749
+ "category" : "Sounds" ,
750
+ "has_change" : false ,
751
+ },
752
+ }
753
+
764
754
"AnimationPlayer" :
765
755
var b = BLOCKS ["statement_block" ].instantiate ()
766
756
b .block_name = "animationplayer_play"
You can’t perform that action at this time.
0 commit comments