Compare commits

..

177 Commits

Author SHA1 Message Date
mafiesto4 eec6957b08 Fix using unsigned integer properties in Visual Script editor 2021-01-06 11:31:38 +01:00
mafiesto4 f10c6b4ff6 Fix Linux build 2021-01-05 19:51:47 +01:00
mafiesto4 336a3bd484 Move shader source code length adjustment to the main compilation routine 2021-01-05 14:25:38 +01:00
mafiesto4 6adb489276 Fix PCF shadow uvs vector trunc warning 2021-01-05 14:17:20 +01:00
mafiesto4 12f34f33b3 Fix PlatformSettings typedef on Android 2021-01-05 14:17:15 +01:00
mafiesto4 4992d21747 Fix using AssetRefEditor for editing asset reference on Guid property 2021-01-05 14:17:11 +01:00
mafiesto4 0c1d797511 Fix null character at shader sources at during game cooking 2021-01-05 14:17:05 +01:00
mafiesto4 bd3f2b3019 Update DirectXShaderCompiler to 1.6 2021-01-05 14:16:57 +01:00
mafiesto4 946d69a3ef Bump up the build number 2021-01-04 19:38:02 +01:00
mafiesto4 d715c0c0dd Merge branch 'VNNCC-dev' 2021-01-03 23:41:36 +01:00
mafiesto4 7bbdd25a9e Merge branch 'dev' of git://github.com/VNNCC/FlaxEngine into VNNCC-dev 2021-01-03 23:41:33 +01:00
mafiesto4 566a653c0a Fix using ApiToken constant 2021-01-03 23:38:43 +01:00
mafiesto4 464523f318 Add missing control reference clear 2021-01-03 23:38:30 +01:00
mafiesto4 e68b54159d Merge branch 'stefnotch-context-menu-focus-returning' 2021-01-03 23:36:11 +01:00
mafiesto4 0d4ac16d18 Merge branch 'context-menu-focus-returning' of git://github.com/stefnotch/FlaxEngine into stefnotch-context-menu-focus-returning 2021-01-03 23:36:08 +01:00
mafiesto4 9d66d5f6a7 Merge branch 'VNNCC-constants-update' 2021-01-03 23:19:31 +01:00
mafiesto4 717d02f073 Merge branch 'constants-update' of git://github.com/VNNCC/FlaxEngine into VNNCC-constants-update 2021-01-03 23:19:26 +01:00
mafiesto4 786f057971 Fix crash on scripting reload when using Anim Graph with custom nodes 2021-01-03 23:18:53 +01:00
mafiesto4 c1a83662d9 Add additional check for twice plugin initialization in case of error 2021-01-03 23:18:24 +01:00
VNC e62ccd55ba Make constants use the actual const keyword
All references are baked into the assembly with the corresponding IL instruction when compiling. Because no lookup will take place, it will "increase" the performance.
2021-01-03 22:56:54 +01:00
mafiesto4 1f9888b88c Merge branch 'jb-perrier-gameplugin' 2021-01-03 22:52:59 +01:00
mafiesto4 0b3232d94b Merge branch 'gameplugin' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-gameplugin 2021-01-03 22:52:55 +01:00
mafiesto4 6c7529f6b3 Update link to Youtube channel 2021-01-03 22:14:04 +01:00
mafiesto4 bf9204f146 Add IconsScale to editor interface options 2021-01-03 22:13:31 +01:00
mafiesto4 4043e35b10 Merge branch 'DaveTheGameDev-IconScaling' 2021-01-03 21:06:29 +01:00
mafiesto4 add539392a Merge branch 'IconScaling' of git://github.com/DaveTheGameDev/FlaxEngine into DaveTheGameDev-IconScaling 2021-01-03 21:06:25 +01:00
mafiesto4 7e4afbc4ff Update shaders 2021-01-03 21:00:39 +01:00
mafiesto4 c39b201d3a Add more updates for copyright year 2021-01-03 21:00:32 +01:00
mafiesto4 6fdb30b6af Merge branch 'jb-perrier-copyright' 2021-01-03 20:27:15 +01:00
mafiesto4 cc399b51f0 Merge branch 'copyright' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-copyright 2021-01-03 20:27:08 +01:00
mafiesto4 c5ce32d66d Merge branch 'stefnotch-fix-shortcuts-in-play-mode' 2021-01-03 20:25:15 +01:00
mafiesto4 20969b5d3d Merge branch 'fix-shortcuts-in-play-mode' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-shortcuts-in-play-mode 2021-01-03 20:25:11 +01:00
mafiesto4 fee0a458d0 Adjust AboutDialog bounds 2021-01-03 20:24:03 +01:00
mafiesto4 af9e710763 Merge branch 'jb-perrier-contributors' 2021-01-03 20:18:42 +01:00
mafiesto4 23b2094dd4 Merge branch 'contributors' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-contributors 2021-01-03 20:18:37 +01:00
mafiesto4 23c51694c7 Reimplement Motion Blur 2021-01-03 20:13:09 +01:00
stefnotch f59fe297ea Fix shortcuts (F5, F6, F11) in play mode 2021-01-03 11:35:43 +01:00
jb-perrier 096d6297fe Adding contributors names to AboutDialog. 2021-01-02 14:46:06 +01:00
jb-perrier 03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
stefnotch b63753b4d5 Return focus to the previous control when closing a context menu
Fixes the fancy Visject input stuff
2021-01-02 13:30:12 +01:00
jb-perrier 463e981d39 GamePlugin only used in PlayMode/Cooked game. 2021-01-01 20:20:38 +01:00
mafiesto4 e5286510d1 Fix reaming opengl leftovers 2020-12-31 16:56:09 +01:00
mafiesto4 66e8560b51 Fix comparing String with StringView 2020-12-31 16:55:42 +01:00
mafiesto4 3877f100c3 Fix C# methods lookup for method signatures with output structure parameter passed as reference 2020-12-31 16:50:49 +01:00
mafiesto4 d94e777feb Add support for using unsigned integer input fields in Visject Surface editor 2020-12-31 15:36:07 +01:00
mafiesto4 9b891d0c55 Add support for hexadecimal values in editor value fields 2020-12-31 15:35:31 +01:00
mafiesto4 3ab04598da Fix Length node in Visual Script 2020-12-31 15:02:21 +01:00
mafiesto4 f7808dc7ca Add support for active logging of the process output on Windows 2020-12-31 01:05:48 +01:00
mafiesto4 99f1ac1cc5 Fix logging process output on Windows 2020-12-31 00:50:39 +01:00
mafiesto4 3973452ec3 Add logging offset for Json parsing errors 2020-12-30 23:50:07 +01:00
mafiesto4 29a8abd996 Fix Editor features usage enable when no scene is loaded 2020-12-30 23:36:31 +01:00
mafiesto4 7de3632c7e Merge branch 'stefnotch-fix-null-style-crash' 2020-12-30 23:00:42 +01:00
mafiesto4 fa381c5493 Merge branch 'fix-null-style-crash' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-null-style-crash 2020-12-30 23:00:38 +01:00
mafiesto4 a293be2121 Merge branch 'VNNCC-fix-toolstrip-buildscene' 2020-12-30 22:58:35 +01:00
mafiesto4 e19b10f790 Merge branch 'fix-toolstrip-buildscene' of git://github.com/VNNCC/FlaxEngine into VNNCC-fix-toolstrip-buildscene 2020-12-30 22:58:31 +01:00
mafiesto4 05790ab9a1 Fix code style 2020-12-30 22:56:17 +01:00
mafiesto4 5e469a0ae3 Remove deprecated and unsued OpenGL backend 2020-12-30 11:27:37 +01:00
mafiesto4 4c205be617 Fix code style 2020-12-30 11:20:37 +01:00
stefnotch 96dbd3a937 Prevent loading 'null' style 2020-12-30 10:28:17 +01:00
VNC 265cc13971 Updated build scenes toolstrip button
The local variable "canEditScene" doesn't check if any scene is loaded, the EditingSceneState type overrides the CanEditScene property to always return true which makes the check necessary.
2020-12-30 03:40:07 +01:00
mafiesto4 4ec3e6aed9 Remove unused code 2020-12-30 00:52:07 +01:00
mafiesto4 a082d52543 Remove unused ExtractVersionNum function 2020-12-30 00:05:20 +01:00
mafiesto4 1a0c12191d Add IgnoreMissingDocumentationWarnings option into generated csproj files 2020-12-30 00:05:05 +01:00
mafiesto4 82cade649b Fix removing namespace from nodes in imported model files 2020-12-29 23:39:33 +01:00
mafiesto4 72ab8a5363 Fix GPU timer query detected warning to be single-time 2020-12-29 23:26:14 +01:00
mafiesto4 8998eb2330 Fix editor main window resizing edges size to be 10px 2020-12-29 23:20:21 +01:00
mafiesto4 000e2c96a5 Merge branch 'stefnotch-enha-point-from-to-screen' 2020-12-29 23:13:26 +01:00
mafiesto4 7b7ba7d73e Merge branch 'enha-point-from-to-screen' of git://github.com/stefnotch/FlaxEngine into stefnotch-enha-point-from-to-screen 2020-12-29 23:13:21 +01:00
mafiesto4 826c0206cb Fix model collision data generate option to be in ModelProxy 2020-12-29 23:11:00 +01:00
mafiesto4 a2371dab83 Merge branch 'jb-perrier-collisiondata-from-model' 2020-12-29 23:06:31 +01:00
mafiesto4 8dd915ec01 Merge branch 'collisiondata-from-model' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-collisiondata-from-model 2020-12-29 23:06:26 +01:00
mafiesto4 45e86f7591 Fix MoveFile on Windows if using proxy file on different drive 2020-12-29 21:00:23 +01:00
mafiesto4 de70ac3e36 Tweaks 2020-12-29 20:59:51 +01:00
mafiesto4 e95e79cabf Merge branch 'stefnotch-file-rename-fix' 2020-12-29 20:13:56 +01:00
mafiesto4 7335cd39ca Merge branch 'file-rename-fix' of git://github.com/stefnotch/FlaxEngine into stefnotch-file-rename-fix 2020-12-29 20:13:52 +01:00
stefnotch 65ab9cac50 Change ClientFrom/ToScreen to PointFrom/ToScreen
Fix #67
2020-12-29 18:10:26 +01:00
mafiesto4 ae8d6a6000 Merge branch 'VNNCC-fix-typo' 2020-12-29 16:03:53 +01:00
VNC 8b2a8d22b3 Fixed more typos in Source\Engine\Content 2020-12-29 03:41:01 +01:00
VNC 8a7cb34e93 Fix Audio file typos 2020-12-29 03:35:52 +01:00
VNC 967b6585e1 Fix more typos in Source\Engine\Animations 2020-12-29 03:31:13 +01:00
VNC 1c4ebe9ab6 Fix typo in AnimGraph 2020-12-29 03:23:37 +01:00
VNC d65e922cca Fixed typos in AnimGraph.Custom 2020-12-29 03:23:15 +01:00
VNC d69bdbe1ef Fix typo in Audio error log 2020-12-29 03:20:42 +01:00
VNC 3975efc9e4 Fix typo in error log message 2020-12-29 03:03:04 +01:00
mafiesto4 fb22d1dd32 Merge branch 'Polypulse-master' 2020-12-28 22:11:50 +01:00
mafiesto4 9a9996bd51 Merge branch 'master' of git://github.com/Polypulse/FlaxEngine into Polypulse-master 2020-12-28 22:11:47 +01:00
mafiesto4 140fae3fa1 Fix crash for ScriptingObject.ToString if class is null 2020-12-28 22:00:11 +01:00
mafiesto4 4c372c0b76 Merge branch 'VNNCC-issue-26' 2020-12-28 21:56:57 +01:00
mafiesto4 97586fe936 Merge branch 'issue-26' of git://github.com/VNNCC/FlaxEngine into VNNCC-issue-26 2020-12-28 21:56:54 +01:00
mafiesto4 3ed30b81d6 Fix code style 2020-12-28 21:55:45 +01:00
mafiesto4 13102254f9 Merge branch 'VNNCC-vscode-insiders' 2020-12-28 21:53:12 +01:00
VNC e0c362856e Support for Visual Studio Code Insiders 2020-12-28 21:12:52 +01:00
VNC a4c1bf104c Fix typo and use GetID for the log 2020-12-28 19:52:39 +01:00
VNC 2f313c6b43 Correct DockHintWindow drag offset if it was invalid when initializing
Description: If the toMove window is unfocused the FlaxEngine.Input.MouseScreenPosition property will always return a vector that only contains zeros. #64

Fix: Perform a later update that will correct the drag offset using the current mouse position.
2020-12-28 19:05:14 +01:00
mafiesto4 dc1360422f Merge branch 'VNNCC-master' 2020-12-28 11:09:16 +01:00
mafiesto4 8d0018c42d Merge branch 'master' of git://github.com/VNNCC/FlaxEngine into VNNCC-master 2020-12-28 11:09:12 +01:00
mafiesto4 cb6179dbb7 Remove unused checks 2020-12-28 10:33:28 +01:00
Sean Connor aff2c154a9 Fixes issue where type editor fails to find acceptable types when creating new json data asset. 2020-12-26 14:18:46 -07:00
David Conway c6664c7d1e Fix xml summary in ToolStrip.cs 2020-12-26 04:40:42 +11:00
VNC 3bf54bac85 Fix inverted Y Gizmo Rotation 2020-12-25 03:00:10 +01:00
David Conway c0cc89201e Move icon settings to styles 2020-12-24 20:04:43 +11:00
David Conway 16fab80f86 Change how settings are accessed in ToolBox Window 2020-12-24 20:04:38 +11:00
David Conway 08ebd99ed4 Add ToolStrip and Toolbox icon scaling settings 2020-12-24 20:04:36 +11:00
mafiesto4 da389eea03 Fix preserving Editor undo actions during play mode 2020-12-24 00:01:33 +01:00
mafiesto4 8347e15413 Fix undo redo flags in play mode 2020-12-24 00:01:07 +01:00
mafiesto4 8ea5dcb110 Merge branch 'stefnotch-fix-maximum-window-size' 2020-12-23 22:39:05 +01:00
mafiesto4 c9989e0aff Merge branch 'fix-maximum-window-size' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-maximum-window-size 2020-12-23 22:39:01 +01:00
mafiesto4 3f73d63edb Merge branch 'stefnotch-fix-dpi-issues' 2020-12-23 22:37:16 +01:00
mafiesto4 05b358f44e Merge branch 'fix-dpi-issues' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-dpi-issues 2020-12-23 22:37:12 +01:00
stefnotch 4a068a3b86 Change maximum window size to 4096
For those neat 4k monitors
2020-12-23 21:54:42 +01:00
mafiesto4 87e026bd4f Fix Android build 2020-12-23 14:26:07 +01:00
stefnotch 0679aebfac Fix docking hints jumping around on high dpi screens 2020-12-23 14:12:53 +01:00
stefnotch 310140e91b Fix context menu disappearing
Fix #10
2020-12-23 14:11:11 +01:00
mafiesto4 2acad9963f Fix #41 2020-12-23 10:14:51 +01:00
mafiesto4 8198b73297 Add license files for all third party modules explicitly (even if using predefined license defined in config) 2020-12-22 23:29:42 +01:00
mafiesto4 38cd840a66 Tweak readme 2020-12-22 23:18:23 +01:00
mafiesto4 aa2a131956 Merge branch 'stefnotch-fix-double-extension' 2020-12-22 23:15:36 +01:00
mafiesto4 4f9df89fd3 Merge branch 'fix-double-extension' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-double-extension 2020-12-22 23:15:33 +01:00
mafiesto4 94822b57d9 Remove dummy logs 2020-12-22 23:14:36 +01:00
stefnotch a388df2f74 Better handle double file extensions on rename
Fix #37
2020-12-22 22:47:06 +01:00
mafiesto4 2c6a70b744 Merge branch 'stefnotch-fix-rmb-scroll' 2020-12-22 18:47:06 +01:00
mafiesto4 566f8f5810 Merge branch 'fix-rmb-scroll' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-rmb-scroll 2020-12-22 18:47:03 +01:00
stefnotch 21cbfec533 Fix speed change scrolling being wonky 2020-12-22 18:33:06 +01:00
mafiesto4 4279b3f482 Merge branch 'klukule-duplicite-filename-extension-fix' 2020-12-22 18:32:08 +01:00
mafiesto4 4c212400d8 Merge branch 'duplicite-filename-extension-fix' of git://github.com/klukule/FlaxEngine into klukule-duplicite-filename-extension-fix 2020-12-22 18:32:04 +01:00
mafiesto4 cf0aeb79bf Remove TAA and Motion Blur implementations 2020-12-22 18:07:53 +01:00
mafiesto4 4fe91d57b7 Fix code style 2020-12-22 13:45:02 +01:00
mafiesto4 760d586923 Fix crash when using Physical Material with missing instance
(cherry picked from commit 5e77925492)
2020-12-22 12:59:31 +01:00
mafiesto4 5e239f5d87 Fix code style
(cherry picked from commit 16cd75d179)
2020-12-22 12:59:27 +01:00
mafiesto4 70d0c0ea8a Fix generating project files without host platform tools 2020-12-22 00:08:24 +01:00
jb-perrier 1fccefb07f Use already defined var. 2020-12-22 00:03:19 +01:00
mafiesto4 59fb6eb875 Merge branch 'jb-perrier-reportissue' 2020-12-21 23:51:53 +01:00
mafiesto4 bdbb16d759 Merge branch 'reportissue' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-reportissue 2020-12-21 23:51:48 +01:00
mafiesto4 0f18fd9610 Fix build scripts 2020-12-21 23:46:59 +01:00
mafiesto4 2a29abcc39 Fix code style 2020-12-21 23:37:28 +01:00
mafiesto4 d322015e6e Fix model LOD index detection in importer 2020-12-21 23:22:08 +01:00
mafiesto4 4f954c2eb4 Fix code style 2020-12-21 23:21:46 +01:00
jb-perrier d0e509a8fc Adding "Generate collision data" from Model context menu. 2020-12-21 23:20:42 +01:00
jb-perrier bc1a5b99ac Fix link to Github issue. 2020-12-21 21:58:39 +01:00
mafiesto4 47c0797028 Merge branch 'jb-perrier-master' 2020-12-21 21:32:27 +01:00
mafiesto4 31f6e94da2 Merge branch 'master' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-master 2020-12-21 21:32:21 +01:00
mafiesto4 15e3cc0e0b Merge branch 'jb-perrier-registerengine' 2020-12-21 20:43:30 +01:00
mafiesto4 810c1fb574 Merge branch 'registerengine' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-registerengine 2020-12-21 20:43:25 +01:00
mafiesto4 cac33d8f72 Fix #18 2020-12-21 20:38:47 +01:00
mafiesto4 666aeca4ea Fixes for code style 2020-12-21 20:27:53 +01:00
jb-perrier 596943c913 Typo. 2020-12-21 18:26:59 +01:00
jb-perrier fd5835e3c8 Fix wrong engine path with RegisterEng. as Admin. 2020-12-21 18:16:04 +01:00
jb-perrier 965352c3f4 Revert "Fix wrong engine path with RegisterEng. as Admin."
This reverts commit 4a3092d0e8.
2020-12-21 18:14:52 +01:00
jb-perrier 4a3092d0e8 Fix wrong engine path with RegisterEng. as Admin. 2020-12-21 18:10:38 +01:00
jb-perrier 39491663ee Fix flashing tooltip. 2020-12-21 17:25:10 +01:00
mafiesto4 8ac2d7069d Fixes for code style
(cherry picked from commit c987acb709)
2020-12-21 11:56:22 +01:00
jb-perrier 3c60f2691d Typo 2020-12-21 11:54:51 +01:00
jb-perrier c83cc35b93 Adding auto sort to ContextMenu. 2020-12-21 11:54:51 +01:00
mafiesto4 4508f5b77f Revert 2020-12-21 11:54:16 +01:00
mafiesto4 ed5450d7e6 Fix context menu positioning for child menus when flipping the direction over Y axis 2020-12-21 11:49:02 +01:00
mafiesto4 c987acb709 Fixes for code style 2020-12-21 11:42:18 +01:00
mafiesto4 89b78e598e Merge branch 'jb-perrier-autosort' 2020-12-21 11:38:47 +01:00
jb-perrier c496f2a9db Typo 2020-12-21 11:38:23 +01:00
jb-perrier 0688e9c6c3 Set auto sort to true for New asset context menu. 2020-12-21 11:38:23 +01:00
jb-perrier 34d74477e4 Adding auto sort to ContextMenu. 2020-12-21 11:38:23 +01:00
mafiesto4 1798bf003b Fix editing overridden particle emitter parameter in particle system window 2020-12-21 11:37:10 +01:00
Lukáš Jech 07f58558e3 Force proper extension if manually specified by user during asset creation 2020-12-21 03:58:52 +01:00
mafiesto4 96457a0adc Fix crash on null 2020-12-20 21:16:50 +01:00
stefnotch 9c55518744 Fix renaming item error handling 2020-12-20 19:19:30 +01:00
mafiesto4 f35c666ea8 Fix LFS issues for contributors due to LFS server locks check requiring authorization 2020-12-20 18:29:43 +01:00
stefnotch 0da02b99cc Fix renaming files to same name with different case 2020-12-20 18:00:14 +01:00
mafiesto4 7e6b236661 Remove unused code 2020-12-20 10:51:29 +01:00
mafiesto4 8a870a07ae Cleanup some old unused shader code 2020-12-20 10:22:54 +01:00
mafiesto4 afeaaee376 Remove unused noise test functions 2020-12-20 00:50:35 +01:00
mafiesto4 973af724f4 Fix editor viewport camera glitch on first frame when using camera orbiting 2020-12-20 00:03:14 +01:00
mafiesto4 5cab22e20d Fixes for Vulkan descriptor types iterations 2020-12-19 23:24:31 +01:00
mafiesto4 af39369661 Merge branch 'dragonCASTjosh-master' 2020-12-19 23:11:39 +01:00
mafiesto4 3bdd2e4e5b Merge branch 'master' of git://github.com/dragonCASTjosh/FlaxEngine into dragonCASTjosh-master 2020-12-19 23:11:30 +01:00
Jean-Baptiste Perrier 6cefab801f Title bar High DPI fix. 2020-12-19 13:47:59 +01:00
Josh 84628b8f6b Fix compiler errors with Vulkan 1.2.x 2020-12-19 02:36:57 +01:00
mafiesto4 68e3b279fa Fix building C# game code without Window SDK for Windows Editor 2020-12-18 13:22:14 +01:00
mafiesto4 def3698423 Fix #3 2020-12-18 13:07:27 +01:00
2440 changed files with 6104 additions and 34060 deletions
+1
View File
@@ -1,3 +1,4 @@
# Redirect to our own Git LFS server
[lfs]
url="https://gitlab.flaxengine.com/flax/flaxengine.git/info/lfs"
locksverify = false
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -114,8 +114,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Input macro specified by the material: DECAL_BLEND_MODE
@@ -160,12 +159,9 @@ void PS_Decal(
float3 positionWS = positionHS.xyz / positionHS.w;
float3 positionOS = mul(float4(positionWS, 1), InvWorld).xyz;
// Clip content outside the decal
clip(0.5 - abs(positionOS.xyz));
// By default, map textures using the vectors perpendicular to the projection direction
float2 decalUVs = positionOS.xz + 0.5f;
// Setup material input
MaterialInput materialInput = (MaterialInput)0;
materialInput.WorldPosition = positionWS;
+1 -2
View File
@@ -197,8 +197,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Vertex Shader function for GUI materials rendering
@@ -330,8 +330,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Calculates the transform matrix from mesh tangent space to local space
@@ -834,7 +833,7 @@ float4 PS_Distortion(PixelInput input) : SV_Target0
// Scale up for better precision in low/subtle refractions at the expense of artefacts at higher refraction
distortion *= 4.0f;
// Store positive and negative offsets separately
// Use separate storage for positive and negative offsets
float2 addOffset = max(distortion, 0);
float2 subOffset = abs(min(distortion, 0));
return float4(addOffset.x, addOffset.y, subOffset.x, subOffset.y);
@@ -134,8 +134,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Pixel Shader function for PostFx materials rendering
@@ -340,8 +340,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Calculates the transform matrix from mesh tangent space to local space
@@ -500,7 +499,7 @@ float3x4 GetBoneMatrix(int index)
}
// Calculates the transposed transform matrix for the given vertex (uses blending)
float3x4 CalcBoneMatrix(ModelInput_Skinned input)
float3x4 GetBoneMatrix(ModelInput_Skinned input)
{
float3x4 boneMatrix = input.BlendWeights.x * GetBoneMatrix(input.BlendIndices.x);
boneMatrix += input.BlendWeights.y * GetBoneMatrix(input.BlendIndices.y);
@@ -549,7 +548,7 @@ VertexOutput VS_Skinned(ModelInput_Skinned input)
// Perform skinning
SkinningData data;
data.BlendMatrix = CalcBoneMatrix(input);
data.BlendMatrix = GetBoneMatrix(input);
float3 position = SkinPosition(input, data);
float3x3 tangentToLocal = SkinTangents(input, data);
@@ -808,7 +807,6 @@ TessalationDSToPS DS(TessalationPatch constantData, float3 barycentricCoords : S
#define COPY(thing) output.thing = input[0].thing
INTERPOLATE(Position);
#if MATERIAL_TESSELLATION == MATERIAL_TESSELLATION_PN
// Precompute squares and squares * 3
float UU = U * U;
float VV = V * V;
float WW = W * W;
@@ -337,8 +337,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Calculates the transform matrix from mesh tangent space to local space
@@ -474,7 +473,7 @@ float3x4 GetBoneMatrix(int index)
}
// Calculates the transposed transform matrix for the given vertex (uses blending)
float3x4 CalcBoneMatrix(ModelInput_Skinned input)
float3x4 GetBoneMatrix(ModelInput_Skinned input)
{
float3x4 boneMatrix = input.BlendWeights.x * GetBoneMatrix(input.BlendIndices.x);
boneMatrix += input.BlendWeights.y * GetBoneMatrix(input.BlendIndices.y);
@@ -521,7 +520,7 @@ VertexOutput VS_Skinned(ModelInput_Skinned input)
// Perform skinning
SkinningData data;
data.BlendMatrix = CalcBoneMatrix(input);
data.BlendMatrix = GetBoneMatrix(input);
float3 position = SkinPosition(input, data);
half3x3 tangentToLocal = SkinTangents(input, data);
@@ -755,7 +754,6 @@ TessalationDSToPS DS(TessalationPatch constantData, float3 barycentricCoords : S
#define COPY(thing) output.thing = input[0].thing
INTERPOLATE(Position);
#if MATERIAL_TESSELLATION == MATERIAL_TESSELLATION_PN
// Precompute squares and squares * 3
float UU = U * U;
float VV = V * V;
float WW = W * W;
@@ -977,8 +975,8 @@ float4 PS_Distortion(PixelInput input) : SV_Target0
// Scale up for better precision in low/subtle refractions at the expense of artefacts at higher refraction
distortion *= 4.0f;
// Store positive and negative offsets separately
// Use separate storage for positive and negative offsets
float2 addOffset = max(distortion, 0);
float2 subOffset = abs(min(distortion, 0));
return float4(addOffset.x, addOffset.y, subOffset.x, subOffset.y);
@@ -234,8 +234,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Calculates LOD value (with fractional part for blending)
@@ -595,7 +594,6 @@ TessalationDSToPS DS(TessalationPatch constantData, float3 barycentricCoords : S
#define COPY(thing) output.thing = input[0].thing
INTERPOLATE(Position);
#if MATERIAL_TESSELLATION == MATERIAL_TESSELLATION_PN
// Precompute squares and squares * 3
float UU = U * U;
float VV = V * V;
float WW = W * W;
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+15 -60
View File
@@ -2,93 +2,48 @@
rem Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
rem Make sure the batch file exists in the root folder.
if not exist "Development\Scripts\Windows\GetMSBuildPath.bat" goto Error_BatchFileInWrongLocation
if not exist "Development\Scripts\Windows\GetMSBuildPath.bat" goto Error_InvalidLocation
rem Get the path to MSBuild executable.
call "Development\Scripts\Windows\GetMSBuildPath.bat"
if errorlevel 1 goto Error_NoVisualStudioEnvironment
rem If using VS2017, check that NuGet package manager is installed.
if not exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" goto NoVsWhere
set MSBUILD_15_EXE=
if not exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" goto Compile
for /f "delims=" %%i in ('"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath') do (
for %%j in (15.0, Current) do (
if exist "%%i\MSBuild\%%j\Bin\MSBuild.exe" (
set MSBUILD_15_EXE="%%i\MSBuild\%%j\Bin\MSBuild.exe"
goto FoundMsBuild15
set MSBUILD_PATH="%%i\MSBuild\%%j\Bin\MSBuild.exe"
goto Compile
)
)
)
:FoundMsBuild15
set MSBUILD_15_EXE_WITH_NUGET=
for /f "delims=" %%i in ('"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -latest -products * -requires Microsoft.Component.MSBuild -requires Microsoft.VisualStudio.Component.NuGet -property installationPath') do (
if exist "%%i\MSBuild\15.0\Bin\MSBuild.exe" (
set MSBUILD_15_EXE_WITH_NUGET="%%i\MSBuild\15.0\Bin\MSBuild.exe"
goto FoundMsBuild15WithNuget
)
)
:FoundMsBuild15WithNuget
if not [%MSBUILD_15_EXE%] == [] (
set MSBUILD_EXE=%MSBUILD_15_EXE%
goto NoVsWhere
)
if not [%MSBUILD_EXE%] == [%MSBUILD_15_EXE_WITH_NUGET%] goto Error_RequireNugetPackageManager
:NoVsWhere
rem Check to see if the build tool source files have changed. Some can be included conditionally based on NDA access.
:Compile
md Cache\Intermediate >nul 2>nul
dir /s /b Source\Tools\Flax.Build\*.cs >Cache\Intermediate\Flax.Build.Files.txt
fc /b Cache\Intermediate\Build\Flax.Build.Files.txt Cache\Intermediate\Build\Flax.Build.PrevFiles.txt >nul 2>nul
if not errorlevel 1 goto SkipClean
copy /y Cache\Intermediate\Build\Flax.Build.Files.txt Cache\Intermediate\Build\Flax.Build.PrevFiles.txt >nul
%MSBUILD_EXE% /nologo /verbosity:quiet Source\Tools\Flax.Build\Flax.Build.csproj /property:Configuration=Release /property:Platform=AnyCPU /target:Clean
:SkipClean
%MSBUILD_EXE% /nologo /verbosity:quiet Source\Tools\Flax.Build\Flax.Build.csproj /property:Configuration=Release /property:Platform=AnyCPU /target:Build
if errorlevel 1 goto Error_CompileFailed
rem Run the build tool using the provided arguments.
copy /y Cache\Intermediate\Build\Flax.Build.Files.txt Cache\Intermediate\Build\Flax.Build.PrevFiles.txt >nul
%MSBUILD_PATH% /nologo /verbosity:quiet Source\Tools\Flax.Build\Flax.Build.csproj /property:Configuration=Release /property:Platform=AnyCPU /target:Clean
:SkipClean
%MSBUILD_PATH% /nologo /verbosity:quiet Source\Tools\Flax.Build\Flax.Build.csproj /property:Configuration=Release /property:Platform=AnyCPU /target:Build
if errorlevel 1 goto Error_CompilationFailed
Binaries\Tools\Flax.Build.exe %*
if errorlevel 1 goto Error_FlaxBuildFailed
rem Done.
exit /B 0
:Error_BatchFileInWrongLocation
echo.
echo CallBuildTool ERROR: The batch file does not appear to be located in the root directory. This script must be run from within that directory.
echo.
:Error_InvalidLocation
echo CallBuildTool ERROR: The script is in invalid directory.
goto Exit
:Error_NoVisualStudioEnvironment
echo.
echo CallBuildTool ERROR: We couldn't find a valid installation of Visual Studio. This program requires Visual Studio 2015. Please check that you have Visual Studio installed, then verify that the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\InstallDir (or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\InstallDir on 32-bit machines) registry value is set. Visual Studio configures this value when it is installed, and this program expects it to be set to the '\Common7\IDE\' sub-folder under a valid Visual Studio installation directory.
echo.
echo CallBuildTool ERROR: Missing Visual Studio 2015 or newer.
goto Exit
:Error_RequireNugetPackageManager
echo.
echo CallBuildTool ERROR: NuGet Package Manager is requried to be installed to use %MSBUILD_EXE%. Please run the Visual Studio Installer and add it from the individual components list (in the 'Code Tools' category).
echo.
goto Exit
:Error_CompileFailed
echo.
:Error_CompilationFailed
echo CallBuildTool ERROR: Failed to compile Flax.Build project.
echo.
goto Exit
:Error_FlaxBuildFailed
echo.
echo CallBuildTool ERROR: Flax.Build tool failed.
echo.
goto Exit
:Exit
rem Exit with error.
exit /B 1
+21 -36
View File
@@ -2,72 +2,57 @@
rem Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
set MSBUILD_EXE=
set MSBUILD_PATH=
rem Try to get the MSBuild 15 path using vswhere (see https://github.com/Microsoft/vswhere).
if not exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" goto no_vswhere
if not exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" goto VsWhereNotFound
for /f "delims=" %%i in ('"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath') do (
if exist "%%i\MSBuild\15.0\Bin\MSBuild.exe" (
set MSBUILD_EXE="%%i\MSBuild\15.0\Bin\MSBuild.exe"
goto Succeeded
set MSBUILD_PATH="%%i\MSBuild\15.0\Bin\MSBuild.exe"
goto End
)
)
:no_vswhere
:VsWhereNotFound
rem Check for MSBuild 15. This is installed alongside Visual Studio 2017, so we get the path relative to that.
call :ReadInstallPath Microsoft\VisualStudio\SxS\VS7 15.0 MSBuild\15.0\bin\MSBuild.exe
if not errorlevel 1 goto Succeeded
rem Try to get the MSBuild 14.0 path directly (see https://msdn.microsoft.com/en-us/library/hh162058(v=vs.120).aspx).
if exist "%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe" (
set MSBUILD_EXE="%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe"
goto Succeeded
set MSBUILD_PATH="%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe"
goto End
)
rem Try to get the MSBuild 14.0 path from the registry.
call :ReadInstallPath Microsoft\MSBuild\ToolsVersions\14.0 MSBuildToolsPath MSBuild.exe
if not errorlevel 1 goto Succeeded
call :GetInstallPath Microsoft\VisualStudio\SxS\VS7 15.0 MSBuild\15.0\bin\MSBuild.exe
if not errorlevel 1 goto End
call :GetInstallPath Microsoft\MSBuild\ToolsVersions\14.0 MSBuildToolsPath MSBuild.exe
if not errorlevel 1 goto End
call :GetInstallPath Microsoft\MSBuild\ToolsVersions\12.0 MSBuildToolsPath MSBuild.exe
if not errorlevel 1 goto End
call :GetInstallPath Microsoft\MSBuild\ToolsVersions\4.0 MSBuildToolsPath MSBuild.exe
if not errorlevel 1 goto End
rem Check for older versions of MSBuild. These are registered as separate versions in the registry.
call :ReadInstallPath Microsoft\MSBuild\ToolsVersions\12.0 MSBuildToolsPath MSBuild.exe
if not errorlevel 1 goto Succeeded
call :ReadInstallPath Microsoft\MSBuild\ToolsVersions\4.0 MSBuildToolsPath MSBuild.exe
if not errorlevel 1 goto Succeeded
rem Searching failed.
exit /B 1
rem Searching done!
:Succeeded
:End
exit /B 0
rem Subroutine to query the registry under HKCU/HKLM Win32/Wow64 software registry keys for a certain install directory.
rem Arguments:
rem %1 = Registry path under the 'SOFTWARE' registry key
rem %2 = Value name
rem %3 = Relative path under this directory to look for an installed executable.
:ReadInstallPath
:GetInstallPath
for /f "tokens=2,*" %%A in ('REG.exe query HKCU\SOFTWARE\%1 /v %2 2^>Nul') do (
if exist "%%B%%3" (
set MSBUILD_EXE="%%B%3"
set MSBUILD_PATH="%%B%3"
exit /B 0
)
)
for /f "tokens=2,*" %%A in ('REG.exe query HKLM\SOFTWARE\%1 /v %2 2^>Nul') do (
if exist "%%B%3" (
set MSBUILD_EXE="%%B%3"
set MSBUILD_PATH="%%B%3"
exit /B 0
)
)
for /f "tokens=2,*" %%A in ('REG.exe query HKCU\SOFTWARE\Wow6432Node\%1 /v %2 2^>Nul') do (
if exist "%%B%%3" (
set MSBUILD_EXE="%%B%3"
set MSBUILD_PATH="%%B%3"
exit /B 0
)
)
for /f "tokens=2,*" %%A in ('REG.exe query HKLM\SOFTWARE\Wow6432Node\%1 /v %2 2^>Nul') do (
if exist "%%B%3" (
set MSBUILD_EXE="%%B%3"
set MSBUILD_PATH="%%B%3"
exit /B 0
)
)
+2 -2
View File
@@ -3,10 +3,10 @@
"Version": {
"Major": 1,
"Minor": 0,
"Build": 6214
"Build": 6215
},
"Company": "Flax",
"Copyright": "Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.",
"Copyright": "Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.",
"GameTarget": "FlaxGame",
"EditorTarget": "FlaxEditor"
}
+2 -18
View File
@@ -6,34 +6,18 @@ setlocal
pushd
echo Generating Flax Engine project files...
rem Make sure the batch file exists in the root folder.
if not exist "%~dp0\Source" goto Error_BatchFileInWrongLocation
if not exist "Development\Scripts\Windows\CallBuildTool.bat" goto Error_BatchFileInWrongLocation
rem Run Flax.Build to generate Visual Studio solution and project files (also pass the arguments)
call "Development\Scripts\Windows\CallBuildTool.bat" -genproject %*
if errorlevel 1 goto Error_BuildToolFailed
if errorlevel 1 goto BuildToolFailed
rem Done.
popd
echo Done!
exit /B 0
:Error_BatchFileInWrongLocation
echo.
echo The batch file does not appear to be located in the root directory. This script must be run from within that directory.
echo.
pause
goto Exit
:Error_BuildToolFailed
echo.
:BuildToolFailed
echo Flax.Build tool failed.
echo.
pause
goto Exit
:Exit
rem Restore original directory before exit.
popd
exit /B 1
+2 -16
View File
@@ -6,32 +6,18 @@ setlocal
pushd
echo Performing the full package...
rem Make sure the batch file exists in the root folder.
if not exist "%~dp0\Source" goto Error_BatchFileInWrongLocation
if not exist "Development\Scripts\Windows\CallBuildTool.bat" goto Error_BatchFileInWrongLocation
rem Run the build tool.
call "Development\Scripts\Windows\CallBuildTool.bat" -deploy -deployEditor -deployPlatforms -verbose -log -logFile="Cache\Intermediate\PackageLog.txt" %*
if errorlevel 1 goto Error_BuildToolFailed
if errorlevel 1 goto BuildToolFailed
rem Done.
popd
echo Done!
exit /B 0
:Error_BatchFileInWrongLocation
echo.
echo The batch file does not appear to be located in the root directory. This script must be run from within that directory.
echo.
goto Exit
:Error_BuildToolFailed
echo.
:BuildToolFailed
echo Flax.Build tool failed.
echo.
goto Exit
:Exit
rem Restore original directory before exit.
popd
exit /B 1
+3 -17
View File
@@ -6,32 +6,18 @@ setlocal
pushd
echo Building and packaging Flax Editor...
rem Make sure the batch file exists in the root folder.
if not exist "%~dp0\Source" goto Error_BatchFileInWrongLocation
if not exist "Development\Scripts\Windows\CallBuildTool.bat" goto Error_BatchFileInWrongLocation
rem Run Flax.Build to generate Visual Studio solution and project files (also pass the arguments)
rem Run the build tool.
call "Development\Scripts\Windows\CallBuildTool.bat" -deploy -deployEditor -verbose -log -logFile="Cache\Intermediate\PackageLog.txt" %*
if errorlevel 1 goto Error_BuildToolFailed
if errorlevel 1 goto BuildToolFailed
rem Done.
popd
echo Done!
exit /B 0
:Error_BatchFileInWrongLocation
echo.
echo The batch file does not appear to be located in the root directory. This script must be run from within that directory.
echo.
goto Exit
:Error_BuildToolFailed
echo.
:BuildToolFailed
echo Flax.Build tool failed.
echo.
goto Exit
:Exit
rem Restore original directory before exit.
popd
exit /B 1
+3 -17
View File
@@ -6,32 +6,18 @@ setlocal
pushd
echo Building and packaging platforms data...
rem Make sure the batch file exists in the root folder.
if not exist "%~dp0\Source" goto Error_BatchFileInWrongLocation
if not exist "Development\Scripts\Windows\CallBuildTool.bat" goto Error_BatchFileInWrongLocation
rem Run Flax.Build to generate Visual Studio solution and project files (also pass the arguments)
rem Run the build tool.
call "Development\Scripts\Windows\CallBuildTool.bat" -deploy -deployPlatforms -verbose -log -logFile="Cache\Intermediate\PackageLog.txt" %*
if errorlevel 1 goto Error_BuildToolFailed
if errorlevel 1 goto BuildToolFailed
rem Done.
popd
echo Done!
exit /B 0
:Error_BatchFileInWrongLocation
echo.
echo The batch file does not appear to be located in the root directory. This script must be run from within that directory.
echo.
goto Exit
:Error_BuildToolFailed
echo.
:BuildToolFailed
echo Flax.Build tool failed.
echo.
goto Exit
:Exit
rem Restore original directory before exit.
popd
exit /B 1
+4 -4
View File
@@ -16,10 +16,6 @@ This repository contains full source code of the Flax (excluding NDA-protected p
* [Forum](https://forum.flaxengine.com)
* [Roadmap](https://trello.com/b/NQjLXRCP/flax-roadmap)
# Flax plugin for Visual Studio
Flax Visual Studio extension provides better programming workflow, C# scripts debugging functionality and allows to attach to running engine instance to debug C# source. This extension is available to download [here](https://marketplace.visualstudio.com/items?itemName=Flax.FlaxVS).
# Screenshots
![rendering](Development/Images/flax-pic-1.jpg "Rendering")
@@ -53,6 +49,10 @@ Follow the instructions below to compile and run the engine from source.
* Open workspace with Visual Code
* Build and run
# Flax plugin for Visual Studio
Flax Visual Studio extension provides better programming workflow, C# scripts debugging functionality and allows to attach to running engine instance to debug C# source. This extension is available to download [here](https://marketplace.visualstudio.com/items?itemName=Flax.FlaxVS).
## Workspace directory
- **Binaries/** - executable files
+4 -5
View File
@@ -3,7 +3,7 @@
rem Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
setlocal
pushd
pushd %~dp0
echo Registering Flax Engine project files...
rem Check the current versions config
@@ -14,13 +14,13 @@ if not exist "%appdata%\Flax\Versions.txt" (
)
set EngineLocation=%cd%
find /c "%EngineLocation%" "%appdata%\Flax\Versions.txt"
if %errorlevel% equ 1 goto notfound
if %errorlevel% equ 1 goto NotFound
echo Already registered.
goto Done
rem Register the location (append to the end)
:notfound
echo Location '%EngineLocation%' is not registered. Adding it to the lsit of engine versions.
:NotFound
echo Location '%EngineLocation%' is not registered. Adding it to the list of engine versions.
echo %EngineLocation%>>"%appdata%\Flax\Versions.txt"
goto Done
@@ -31,6 +31,5 @@ echo Done!
exit /B 0
:Exit
rem Restore original directory before exit.
popd
exit /B 1
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#include "EditorAnalytics.h"
#include "EditorAnalyticsController.h"
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#pragma once
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#include "EditorAnalyticsController.h"
#include "Editor/Cooker/GameCooker.h"
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#pragma once
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using Newtonsoft.Json;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
namespace FlaxEditor.Content.Create
{
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.IO;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEditor.Content.Settings;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEngine;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEditor.GUI;
using FlaxEditor.GUI.Drag;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEditor.GUI.Drag;
using FlaxEditor.SceneGraph;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
namespace FlaxEditor.Content
{
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
namespace FlaxEditor.Content.Import
{
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System.ComponentModel;
using System.Reflection;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System.IO;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System.Collections.Generic;
using System.IO;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System.ComponentModel;
using System.Runtime.CompilerServices;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System.Collections.Generic;
using System.ComponentModel;
+2 -2
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.IO;
@@ -58,7 +58,7 @@ namespace FlaxEditor.Content
public override bool OnMouseDoubleClick(Vector2 location, MouseButton button)
{
return Item.OnMouseDoubleClick(Item.ScreenToClient(ClientToScreen(location)), button);
return Item.OnMouseDoubleClick(Item.PointFromScreen(PointToScreen(location)), button);
}
}
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Text;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System.Text;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#include "PreviewsCache.h"
#include "Engine/Core/Log.h"
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#pragma once
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEditor.Windows;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEditor.Windows;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.IO;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEditor.Content.Thumbnails;

Some files were not shown because too many files have changed in this diff Show More