From 0c4c36d823bb6792917dfac86491f61cec3f9b27 Mon Sep 17 00:00:00 2001 From: Bojidar Marinov Date: Sat, 1 Jun 2019 16:42:22 +0300 Subject: 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 --- modules/webrtc/webrtc_data_channel_gdnative.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/webrtc') 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() { -- cgit v1.2.3