summaryrefslogtreecommitdiff
path: root/modules/webrtc
diff options
context:
space:
mode:
authorBojidar Marinov <bojidar.marinov.bg@gmail.com>2019-06-01 16:42:22 +0300
committerBojidar Marinov <bojidar.marinov.bg@gmail.com>2019-06-27 18:29:35 +0300
commit0c4c36d823bb6792917dfac86491f61cec3f9b27 (patch)
treedb6b87ccc416f6e9a23c69c0b625e7b4521d79f1 /modules/webrtc
parent2df8b5606b9de9d11873c27f0a297127bbbfc255 (diff)
Add default values to the editor help, docs, and generated RST
Also, make spacing of "=" in the editor help a bit more consistent. Closes #16086
Diffstat (limited to 'modules/webrtc')
-rw-r--r--modules/webrtc/webrtc_data_channel_gdnative.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/webrtc/webrtc_data_channel_gdnative.cpp b/modules/webrtc/webrtc_data_channel_gdnative.cpp
index 4f33491af2..6362634626 100644
--- a/modules/webrtc/webrtc_data_channel_gdnative.cpp
+++ b/modules/webrtc/webrtc_data_channel_gdnative.cpp
@@ -35,6 +35,7 @@
#include "modules/gdnative/nativescript/nativescript.h"
void WebRTCDataChannelGDNative::_bind_methods() {
+ ADD_PROPERTY_DEFAULT("write_mode", WRITE_MODE_BINARY);
}
WebRTCDataChannelGDNative::WebRTCDataChannelGDNative() {