Commit graph

30 commits

Author SHA1 Message Date
Moritz Brückner c56a0c3a72 Fix accidental module reloading caused by name conflicts of global vars 2021-08-11 14:32:21 +02:00
Moritz Brückner ea8c13686c Implement basic addon reloading 2021-08-04 22:56:11 +02:00
Moritz Brückner c5e9522442 Blender 2.9: Update operator options 2021-01-06 17:23:21 +01:00
E1e5en 1a34e202a7 Add Android Settings + LN Set Vibrate
1. For the new settings to fully function, you need to update the submodules so that this Pull Request (https://github.com/Kode/kincmake/pull/100) gets into armsdk. Extended settings via khafile.js.

2. Added Android Settings panel:
- invisible until the target platform android-hl is added to the list;
- inactive until the target platform android-hl is selected in the list.
Options:
- Orientation;
- Compile Version SDK - from 26 to 30, default 29;
- Minimal Version SDK - from 14 to 30, default 14;
- Target Version SDK - from 26 to 30, default 29;
- Permissions - a list of permissions. If I will duplicate entries in the list, then only unique entries will be included during export. By default, the list is empty;
- Android ABI Filters - a list of platforms to build for (arm64-v8a, armeabi-v7a, x86, x86_64). If I will duplicate entries in the list, then only unique entries will be included during export. By default, the list is empty. If the list is empty, then all platforms will be used (as before).

3. The enum (names of permissions) and the function have been added to the utils.py modules, which adds the specified value to the list of permissions. Feature added for ease of use from different locations (different logical nodes).

4. List of permissions:
- ACCESS_COARSE_LOCATION - Allows an app to access approximate location;
- ACCESS_NETWORK_STATE - Allows applications to access information about networks;
- ACCESS_FINE_LOCATION - Allows an app to access precise location;
- ACCESS_WIFI_STATE - Allows applications to access information about Wi-Fi network;
- BLUETOOTH - Allows applications to connect to paired bluetooth devices;
- BLUETOOTH_ADMIN - Allows applications to discover and pair bluetooth devices;
- CAMERA - Required to be able to access the camera device;
- EXPAND_STATUS_BAR - Allows an application to expand or collapse the status bar;
- FOREGROUND_SERVICE - Allows a regular application to use Service.startForeground;
- GET_ACCOUNTS - Allows access to the list of accounts in the Accounts Service;
- INTERNET - Allows applications to open network sockets';
- READ_EXTERNAL_STORAGE - Allows an application to read from external storage;
- VIBRATE - Allows access to the vibrator;
- WRITE_EXTERNAL_STORAGE - Allows an application to write to external storage.

5. Added logical node Set Vibrate:
Category: Native
Pulses the vibration hardware on the device for time in milliseconds, if such hardware exists.
Input parameters:
- Milliseconds - time in milliseconds (data type Int, default value 100).
When adding the logical node Set Vibrate, the permission is automatically added to the list, even if the target android-hl has not been added to the export list (using a function from utils.py).
2020-10-17 16:47:54 +03:00
luboslenco 01920b99c7 Fix android target name 2019-09-08 19:08:47 +02:00
Urjasvi 318e875013 update addon to latest blender api changes 2019-03-29 19:25:42 +05:30
luboslenco 74c887a1b7 Use PointerProperty for exporter scene 2019-01-24 15:09:49 +01:00
luboslenco 63664ead77 More b28 changes 2019-01-13 10:47:06 +01:00
luboslenco e79ff975e9 Logic node search 2018-12-19 15:47:58 +01:00
luboslenco a531b52b9f UI style 2018-12-19 13:33:17 +01:00
luboslenco a9d4e9c2ef Begin b28 era 2018-12-18 23:48:38 +01:00
luboslenco e84063da38 Use d3d11 on windows 2018-12-15 13:33:59 +01:00
luboslenco 56fe80bf94 Custom exporter, begin hlc 2018-12-05 10:36:36 +01:00
luboslenco e3d1a1f9dd Select active path for new exporter item 2018-11-25 17:01:58 +01:00
luboslenco c396267e8a More list item moving 2018-11-22 13:31:15 +01:00
luboslenco 06bd0923a2 Check list length 2018-09-11 08:03:22 +02:00
luboslenco 148294ded9 More b28 fixes 2018-09-05 10:20:02 +02:00
luboslenco 23ad7a1104 Add exporter targets 2018-04-13 19:14:11 +02:00
luboslenco ccff82f3df Add HashLink exporter 2018-04-06 17:39:22 +02:00
luboslenco 3645f68c7f Open published project folder 2018-03-24 11:55:10 +01:00
luboslenco 92c4648496 Open in RenderDoc button 2018-03-22 21:43:22 +01:00
luboslenco 5626003ead Krom exporter and JS minifier 2018-03-04 19:38:40 +01:00
Lubos Lenco 42b4185187 Reduce shader count 2017-12-20 15:37:58 +01:00
Lubos Lenco 42242b835d Python clean up 2017-11-20 14:32:36 +01:00
Lubos Lenco c2606569ea Set start-up scene in exporter 2017-11-09 15:05:58 +01:00
Lubos Lenco 09a8e7b375 Import fix 2017-10-21 16:09:06 +02:00
Lubos Lenco 862fea6725 Check on read-only flag 2017-10-21 16:07:08 +02:00
Lubos Lenco dd83705aa9 Render path background prop 2017-08-22 15:57:49 +02:00
Lubos Lenco 757b8e462d Render path presets 2017-08-21 20:16:06 +02:00
Lubos Lenco 3d1611d567 Exporter presets 2017-08-21 15:36:21 +02:00