Commit graph

3364 commits

Author SHA1 Message Date
Lubos Lenco 979844fc6e
Merge pull request #2013 from knowledgenude/master
More renames and cleanups
2020-11-24 09:52:09 +01:00
Moritz Brückner f492b9d756 exporter_opt: fix NameError: name 'log' is not defined 2020-11-23 18:21:33 +01:00
Lubos Lenco 48952e04a8
Merge pull request #2017 from MoritzBrueckner/nodes-context-menu
Add node context menu entry for material parameters
2020-11-22 08:27:15 +01:00
knowledgenude b699dfb0d6
Update LN_string.py 2020-11-21 14:37:51 -03:00
Lubos Lenco 29297513cf
Merge pull request #2018 from MoritzBrueckner/driver-api
Add per-material UI support for driver API
2020-11-21 16:54:26 +01:00
knowledgenude ce629455ad
Update VectorFromBooleanNode.hx 2020-11-19 13:57:39 -03:00
Lubos Lenco bfb999550e
Merge pull request #2019 from MoritzBrueckner/fix-node-docs
Fix some node docstrings
2020-11-19 16:14:16 +01:00
Lubos Lenco fdbd26840a
Merge pull request #2015 from E1e5en/fix-android-hmtl5-settings
Fix Android and HTML5 Settings
2020-11-19 16:13:08 +01:00
knowledgenude cc481ea15c fix-nodes 2020-11-19 10:38:46 -03:00
E1e5en 9ab9d5c5db LN Math Expression
First version:
- Dynamically checking the correctness of an expression in the IDE (Blender).
- The task is divided into 2 parts: checking the correctness through python in the Blender interface and when performing calculations when the application is running in haxe.
The following decisions are taken as a basis:

python - http://repl.it/3xv/1
haxe - https://github.com/maitag/formula (added all the necessary classes to the node code)
2020-11-19 11:41:24 +03:00
knowledgenude 97bbf0b9d2
fix-missing-return-dynamic 2020-11-18 14:07:23 -03:00
knowledgenude 17b4cb2028 update 2020-11-18 13:50:24 -03:00
Moritz Brückner 76907e1c5e Fix some node docstrings 2020-11-18 10:39:12 +01:00
Moritz Brückner f57d2168e3 Small API improvement 2020-11-18 08:41:28 +01:00
E1e5en 99a4c400b8 Fix Android and HTML5 Settings
- Fixed a bug with updating the list of emulators if they are not there.
- Fixed a bug with enabling/disabling options when changing links to Android SDK.
- Fixed display of settings in the form of open panels. When collapsing panels appear incorrect display.
2020-11-18 08:24:04 +03:00
knowledgenude ba7a897142 update-triggers 2020-11-17 17:55:53 -03:00
knowledgenude 7e674e06d2
Update LN_remove_object_parent.py 2020-11-17 17:50:04 -03:00
knowledgenude e46a86d4f5
Update GetCursorStateNode.hx 2020-11-17 17:47:17 -03:00
knowledgenude b19acb4971 fix-capitalization 2020-11-17 17:44:30 -03:00
knowledgenude 554f5854aa mouse-description 2020-11-17 17:38:57 -03:00
knowledgenude 46492cc425 fixes 2020-11-17 17:35:22 -03:00
knowledgenude 9e16c53494
fix-typo 2020-11-17 15:10:45 -03:00
knowledgenude 6c6b6dbe97
Update LN_on_canvas_element.py 2020-11-17 15:08:55 -03:00
Moritz Brückner a1b121a2a7 Add per-material custom UI for drivers 2020-11-17 18:54:53 +01:00
knowledgenude 4769b084d2 add 2020-11-17 14:46:14 -03:00
knowledgenude 9a29adb176 fix 2020-11-17 13:01:08 -03:00
knowledgenude a7863075e2 cleanups-and-renames 2020-11-17 12:01:15 -03:00
Moritz Brückner 14375b7fad Cleanup driver API code and add docstring + type info 2020-11-17 11:59:21 +01:00
Moritz Brückner e747190746 Whitespace cleanup 2020-11-16 19:55:15 +01:00
Moritz Brückner 07acf00b0c Add node context menu entry for material parameters 2020-11-16 19:54:52 +01:00
Lubos Lenco 09ec8f23f8
Merge pull request #2011 from knowledgenude/master
Map Range node
2020-11-16 09:18:15 +01:00
Lubos Lenco 8f7dabba5a
Merge pull request #2008 from E1e5en/html5-settings
HTML5 Settings
2020-11-16 09:17:09 +01:00
knowledgenude 7f82b2ae33 map-range-node 2020-11-14 14:39:32 -03:00
E1e5en 4b3aea0513
Merge branch 'master' into html5-settings 2020-11-14 15:12:20 +03:00
Lubos Lenco 64ddadab7b
Merge pull request #2010 from E1e5en/fix-vector-quat-math
Fixed logical nodes Vector Math and Quaternion Math
2020-11-14 12:45:37 +01:00
Lubos Lenco 3fae5c04bd
Merge pull request #2007 from E1e5en/exporter-panel-project-settings
Exporter Panel - Project Settings
2020-11-14 12:42:40 +01:00
Lubos Lenco f499bfc8ca
Merge pull request #2003 from MoritzBrueckner/khamake-debug
Add option to compile with khamake --debug flag
2020-11-14 12:41:35 +01:00
E1e5en 82ac44571a Additional terms
Additional terms
2020-11-14 11:52:07 +03:00
E1e5en 5f4a3104f1 Fixed logical nodes Vector Math and Quaternion Math
The error occurs when updating projects with old nodes. Unfortunately, the node is not completely replaced, but the error with deleting the output parameters has been fixed, the incorrect node will not be in the Logic Editor.
2020-11-14 10:28:15 +03:00
E1e5en 2bd08722a1 HTML5 Settings
Added Armory Exporter - HTML5 Settings panel:
- Copy Files To Specified Folder - copy files to the folder specified in the settings after publish. The name of the folder where the result will be copied is formed based on the name of the project and version. Sample, test-1.0.5.
- Run Browser After Copy - run browser after copy. The url is formed from the one specified in the settings and the directory with the project where it was copied. Sample, http: //localhost/test-1.0.5.

Added settings in Render: Armory:
- HTML5 Copy Path - path to copy project after successfully publish (directory on local web-server).
- Url To Web Server - url that runs the local server.
2020-11-13 21:45:31 +03:00
E1e5en 65dd6b701f Exporter Panel - Project Settings
1. Processing data entry into fields:
- Name - the field must not be empty. If the user tries to set an empty value, then this field specifies the name of the blend file (this is how it is implemented during assembly). The default is the name of the blend file.
- Package - the field must not be empty, it must not consist only of numbers and start with a number. The . symbol is replaced with _. The default is arm.
- Bundle - the field must be filled in according to the mask [string].[string]. Each part must not be empty, contain numbers, or start with a number. The default is org.armory3d. Previously, this field was blank, in which case the current default was used.
- Version.
Input in the Version field is processed and only allows input by masks:
- 0.0
- 0.0.0
- 0.0.0.0
In any case, the value is ignored and the previous value remains.

If the (Auto-increment Build Number) checkbox is checked and when performing the operation, Build and Publish will be automatically incremented by one after the version value.
Examples:
it was 1.0 - it is 1.1,
it was 1.9 - it is 1.10,
it was 1.0.1 - it is 1.0.2,
it was 0.1.1.2 - it is 0.1.1.3.

Defaults:
- Version - 1.0.0
- Auto-increment Build Number - enabled.

For all fields, special characters ([] / \ ;,> <& *:% = + @! # ^ () |? ^) Are also replaced with _.

2. Fixed display of Android Settings panel.
2020-11-13 20:36:27 +03:00
Lubos Lenco da5ed3c5e0
Merge pull request #2006 from MoritzBrueckner/normals
Fix usage of normals in shaders + smaller shader improvements
2020-11-13 14:14:50 +01:00
Lubos Lenco ea79838a7d
Merge pull request #2005 from E1e5en/android-settings-more
Android Settings More
2020-11-13 14:02:40 +01:00
E1e5en b741bd752d Fix and clear
- Fixed build error when there are problems in the project name
- Code cleanup
2020-11-13 09:06:51 +03:00
Moritz Brückner ac51183a15 Fix declaration order for some shader attributes 2020-11-12 20:11:42 +01:00
Moritz Brückner 6165c43321 Properly indent shader code in write_attrib() 2020-11-12 20:10:08 +01:00
E1e5en ab3d64d651 Android Settings More
Panel Armory Exporter - Android Settings - Build APK:
1. Rename APK To Project Name
Renames the APK file from app-debug.apk to [project-name]-[version] .apk. Example, for the project example_ball.blend, the result will be the name example-ball-1.0.apk.
2. Copy APK To Specified Folder
Copies the final file to the folder specified in Preferences.

Preferences Render: Armory:
1. Copy APK To Folder
The path to the folder where the final APK file will be copied.
2. Open Directory After Copy
Open this folder after copying.

Console messages:
Rename APK to example-ball-1.0.5.apk
Copy APK to C:\IDE\Test

Use-case:
These settings will allow you to have unique names for files, as well as copy them to the required folder for uploading to the device or to the cloud.
2020-11-12 22:09:55 +03:00
Moritz Brückner 8465e497f8 Small code style improvement 2020-11-12 20:09:53 +01:00
Moritz Brückner c520b32be0 Another small musgrave texture node fix 2020-11-12 20:09:43 +01:00
Moritz Brückner b49bd54901 Fix usage of normals in shaders 2020-11-12 20:09:25 +01:00