Commit graph

295 commits

Author SHA1 Message Date
dfighter1985
0c4878620e Merged develop. 2014-09-22 23:58:48 +02:00
dfighter1985
d73bf5f285 Call the onActivate method of the current context after all plugins are initialized. 2014-09-22 23:41:55 +02:00
dfighter1985
b98120ebb8 Studio should no longer crash when multiple plugins that use LIGO are loaded. LIGO classes are now guarded against multiple registrations. If it's tried log messages are generated. Mission Compiler and World Editor will now apply their own LIGO configs when the user switches to their tab. 2014-09-22 23:24:48 +02:00
kaetemi
93cb679e35 Add an assert 2014-09-21 13:24:33 +02:00
kaetemi
6fe3fc3e35 Fix double delete 2014-09-21 12:31:02 +02:00
dfighter1985
21c6daee96 oups 2014-09-20 20:55:30 +02:00
dfighter1985
78691c50da GUI Editor should no longer crash on Linux 2014-09-20 20:51:08 +02:00
dfighter1985
ea08136fdc Merged develop 2014-09-19 20:10:00 +02:00
kaetemi
e85b225937 Add extra search paths 2014-09-19 19:48:17 +02:00
kaetemi
4372f8834f It works on my machine 2014-09-18 21:02:14 +02:00
kaetemi
6ab0d72304 Add resave scripts 2014-09-18 17:40:07 +02:00
kaetemi
13613b1b59 Add particle system path fixing script 2014-09-18 14:10:03 +02:00
kaetemi
265b83e97e Fix missing include 2014-09-18 13:02:32 +02:00
kaetemi
d8b26f1b9b Backed out incomplete changes to GL driver 2014-09-18 11:31:19 +02:00
dfighter1985
3d95baf101 Fixed Object Viewer build. 2014-09-17 22:36:58 +02:00
dfighter1985
58f5047b7e Merged the gui-editor branch. 2014-09-17 21:12:14 +02:00
dfighter1985
274565ff79 don't evaluate the child-nodes when there are none, directly just return () 2014-09-17 20:54:16 +02:00
dfighter1985
2d4e60a328 When removing the root node, don't retain the pointer to it... 2014-09-17 20:51:45 +02:00
dfighter1985
d45661a8ac Added the rest of the expression files. 2014-09-17 20:49:26 +02:00
dfighter1985
4045126855 Merged develop. 2014-09-17 19:51:14 +02:00
dfighter1985
91a11938a2 Added support for clearing the Expression Editor scene. 2014-09-17 19:27:06 +02:00
dfighter1985
6e499f2dba Texture Chooser shouldn't have been left in the main menu... 2014-09-17 19:21:39 +02:00
dfighter1985
12be42506f Moved the Expression Editor to it's right place. 2014-09-17 19:19:43 +02:00
dfighter1985
7b5bed2442 Instead of mouse move event, use the itemChange handler to move the links. 2014-09-17 16:17:41 +02:00
dfighter1985
fee6b431a0 ExpressionNode flags are now set in it's constructor. 2014-09-17 16:02:28 +02:00
dfighter1985
5771f0c914 Links shouldn't be selectable. 2014-09-17 16:01:23 +02:00
dfighter1985
fc65ef8e8b This is the GUI Editor not Georges... 2014-09-17 15:50:12 +02:00
dfighter1985
a96eb529e5 Save expression. 2014-09-17 15:47:49 +02:00
dfighter1985
ec657d4207 Expression can now be built. 2014-09-17 15:31:54 +02:00
dfighter1985
1e1a86a4c1 A root node can now be set. The root node is where the evaluation will start. 2014-09-17 14:41:57 +02:00
dfighter1985
8e0bd853ab Added sample expression files. 2014-09-16 15:54:53 +02:00
dfighter1985
045fa34e43 When changing the value of a node, change the size the node if needed. 2014-09-16 15:31:06 +02:00
dfighter1985
83b6e2a18b Allow to set and change values of value nodes. 2014-09-16 15:15:31 +02:00
dfighter1985
754393064d Only allow variable nodes to have their number of slots changed. 2014-09-16 03:45:26 +02:00
dfighter1985
d027afbaeb Set the number of slots and their names from the data loaded from XMLs. 2014-09-16 03:38:21 +02:00
dfighter1985
48b46dcc8c Parse expression files, and build the expression tree from the expressions parsed from these files. 2014-09-16 02:32:10 +02:00
dfighter1985
580ded1bd4 Slot count can now be changed. 2014-09-15 01:25:01 +02:00
dfighter1985
29176b7bc6 Expression Editor is now a QMainWindow subclass. Also added an expression tree, with some sample nodes. 2014-09-14 21:00:40 +02:00
dfighter1985
4f79371896 Show the node names as title, in the link dialog. 2014-09-14 17:19:11 +02:00
dfighter1985
171e383b14 Add serial number to nodes. 2014-09-14 17:04:42 +02:00
dfighter1985
035f824a93 Allow painting of arbitrary number of connection slots. 2014-09-14 16:57:56 +02:00
dfighter1985
4a923a0dc7 A little refactoring. 2014-09-14 16:43:45 +02:00
dfighter1985
97e2b3d1e4 Support for adding nodes with different slot count. 2014-09-14 16:37:17 +02:00
dfighter1985
1df2e53239 Added unlinking support. 2014-09-14 15:36:41 +02:00
dfighter1985
13b41d2fa6 Improved linking 2014-09-14 15:15:20 +02:00
dfighter1985
7f178d6c86 There are more than 1 slots available now. 2014-09-13 23:54:25 +02:00
dfighter1985
61b3f60e47 More refactoring. 2014-09-13 22:54:50 +02:00
dfighter1985
ab163ff063 More refactoring. 2014-09-13 22:39:00 +02:00
dfighter1985
e9515a4ee0 Refactoring 2014-09-13 22:31:48 +02:00
dfighter1985
4591673dfe Connection slots are now managed by their own object, and linking is now done to their positions. 2014-09-13 22:26:11 +02:00