Commit Graph

545 Commits

Author SHA1 Message Date
2e67a37aff Binds for HTMLBuilder. 2022-06-25 16:53:25 +02:00
893a9af507 Added getters and setters for HTMLTag. 2022-06-25 15:11:11 +02:00
6576809d6b Merged override methods to one int HTMLBuilder. 2022-06-25 14:33:00 +02:00
a9a5b8adaa Getter/Setter for the result. 2022-06-25 12:29:50 +02:00
c8ad42a540 Update return statements. 2022-06-25 12:26:48 +02:00
676245221f An another pass on the bound HTMLBuilder. 2022-06-25 11:58:55 +02:00
48d65fd93d Added the web module from rcpp_framework, and a test attempt at binding HTMLBuilder. The module is not in the build yet. 2022-06-25 01:55:54 +02:00
fae3eabc8c Fix property setter. 2022-06-22 00:43:52 +02:00
b8541c8e9d Fix typo. 2022-06-21 23:05:26 +02:00
45d8f98459 Fixed resizing the canvas. Also now the new menu will clear all layers. 2022-06-21 22:58:54 +02:00
fed839a235 Fix resizing PaintCanvas. 2022-06-21 22:27:44 +02:00
81e959089e Better color for the visual grid. 2022-06-21 21:10:20 +02:00
181ec8f642 Hide the magic menu button. 2022-06-21 21:03:10 +02:00
6939e22983 Fix PasteCutAction. 2022-06-21 20:26:05 +02:00
118fd74a10 Improvements to commit_action()'s logic. 2022-06-21 20:02:33 +02:00
ec82662b10 Fix RainbowAction. 2022-06-21 19:40:47 +02:00
04a8f1d3d2 Fix BucketAction. 2022-06-21 19:21:50 +02:00
50530c4f79 Fix undo and redo order. 2022-06-21 19:15:07 +02:00
10eeb612b0 Also set up layer. 2022-06-21 19:11:46 +02:00
8fe7110dc9 Remove a now uneeded method. 2022-06-21 18:54:33 +02:00
ab5b32cedf Use duplicate(). 2022-06-21 18:54:23 +02:00
1f3ef7782f Bindings for the rest of the actions. 2022-06-21 18:47:22 +02:00
d68d3fa340 Created binds for PaintAction. 2022-06-21 18:04:31 +02:00
233e128dc3 Register the actions to the classdb. 2022-06-21 17:12:03 +02:00
bd609fd96a Now PaintAction inherits from Resource instead of Reference. 2022-06-21 17:04:09 +02:00
2f647c1561 Improved copying the data from an action to an another. I'll try an another solution though. 2022-06-21 17:02:39 +02:00
004bf8e812 Fixed LineAction and RectAction. 2022-06-21 16:35:19 +02:00
918a246ef4 Fixed the tool layer. 2022-06-21 16:28:17 +02:00
1ef976c007 Remove unecessary check. 2022-06-21 16:22:41 +02:00
328af63ad1 Small improvements and simplifications for PaintCanvas. 2022-06-21 14:42:51 +02:00
0483521818 Ported CutAction. 2022-06-21 13:13:41 +02:00
f462e22536 Ported RainbowAction. 2022-06-21 10:52:18 +02:00
cfee15aa52 Ported MultilineAction. 2022-06-21 10:37:22 +02:00
1e979d3061 Ported RectAction. 2022-06-21 10:08:41 +02:00
ad3a5aa196 Ported PasteCutAction. 2022-06-21 00:34:47 +02:00
bafde8e9db Ported LineAction. 2022-06-20 23:22:52 +02:00
61a8942070 Ported DarkenAction. 2022-06-20 22:57:44 +02:00
3db7c40a46 Fixed the up and down arrows of the paint layers. 2022-06-20 22:21:52 +02:00
d8185be48f Fix the initial canvas size for the paint module. 2022-06-20 21:06:44 +02:00
b60b5f79c2 Fix crash in PaintWindow's undo. 2022-06-20 20:42:05 +02:00
6ef7294524 Fix SDF3DShapeCapsule already has a binding error. 2022-06-20 20:07:40 +02:00
b2d2a6fbe5 Fixed BrushAction. 2022-06-20 01:47:20 +02:00
5f683261ff Reimplemented the PaintVisualGrid differently. 2022-06-20 00:59:32 +02:00
5e03f0f82b Register PaintWindow, and also enable the PaintEditorPlugin by default. The paint module is still a bit buggy though, I'm hoping to fix most of it's isues in the next few days. 2022-06-20 00:12:33 +02:00
1ca15c44e4 Fix typo in PencilAction. 2022-06-20 00:10:51 +02:00
f3a3fdfd75 Ported get_points in PaintAction. 2022-06-20 00:10:31 +02:00
0f97b55f27 Cleaned up the original addon's files for mat_maker_gd. Only kept node code. And moved the readme and license files and updated the readme. 2022-06-19 22:56:48 +02:00
3283f1d649 Re-enabled all filter nodes. 2022-06-19 18:38:35 +02:00
95a542057a Rename math.h and cpp in filters to mm_math.h and cpp. 2022-06-19 18:36:59 +02:00
ed928158bd Removed the previous test. 2022-06-19 18:35:29 +02:00
036629a84c An another small test. 2022-06-19 18:30:51 +02:00
af5a897f17 Disabled all filter nodes again. 2022-06-19 18:25:56 +02:00
08529315ca Enabled the fill nodes and disabled tonality. 2022-06-19 18:10:55 +02:00
f1226b3519 Removed include. 2022-06-19 18:03:23 +02:00
5a92fc871d Re-enabled the tonality node. 2022-06-19 17:35:11 +02:00
9375356924 Temporarily disabled filter nodes to try to debug an issue with github actions. 2022-06-19 17:28:38 +02:00
0fe6e5325e Fix warning. 2022-06-19 17:07:40 +02:00
3bf4f2d1bf Fixed the size of the graident preview. 2022-06-19 17:04:46 +02:00
29919540db Also handle udpating the GradientEditor when the edited resource changes. 2022-06-19 16:54:12 +02:00
91b87ce9ef Reworked the gradient editor. It shouldn't crash anymore. 2022-06-19 16:06:27 +02:00
af99c162c0 Fix typo. 2022-06-19 13:02:13 +02:00
33d43d8ef8 An another stab at fixing the windows github action build. 2022-06-19 13:00:01 +02:00
9171cfb92e A stab at fixing windows build. 2022-06-19 12:37:57 +02:00
7a97d20c97 Remove unecessary if. 2022-06-19 12:37:16 +02:00
4517cc0c78 Use the popup closed event for color slots in MMGraphNode. 2022-06-19 04:41:53 +02:00
d6bf1b281a Cleaned up the filter nodes aswell. 2022-06-18 23:03:34 +02:00
e8cb984e21 Cleaned up gradients. 2022-06-18 16:49:53 +02:00
cbb5142be6 Cleaned up mat_maker_gd's noise classes. 2022-06-18 16:21:46 +02:00
d5437adaa2 Cleaned up MMOutputImage. 2022-06-18 11:53:46 +02:00
3fbf9713f7 Cleaned up the patterns. 2022-06-18 00:19:06 +02:00
efb00f2fbb Cleaned up the sdf2d operations. 2022-06-17 21:38:22 +02:00
f2fb6b8b7d Cleaned up the rest of the SDShapes. 2022-06-17 19:58:57 +02:00
d339fb1fdb Cleaned up SDF show, rhombus, and transforms. 2022-06-17 18:59:08 +02:00
8282061088 Cleaned up sdf3d op nodes, and sdf3d color. 2022-06-17 17:36:45 +02:00
88f2303cf8 Only initialize points if necessary. 2022-06-17 13:20:55 +02:00
e0895460e5 Cleaned up the rest of the sdf3d shapes. 2022-06-17 13:17:08 +02:00
c39cfd2c05 _curve_changed is now virtual, and curve_changed uses call() to invoke it. 2022-06-17 13:11:18 +02:00
b1cc1cb693 Cleaned up MMSdf3dRender. 2022-06-17 12:25:33 +02:00
5c67416ad5 Cleaned up 3 more sdf3d nodes. 2022-06-17 12:07:24 +02:00
3bbaaa3af0 MMSDF3dTfTranslate node. 2022-06-17 11:25:09 +02:00
edf682cace Cleaned up MMCurve. 2022-06-17 10:55:37 +02:00
87b0cd5733 Cleaned up MMImage. 2022-06-17 10:17:17 +02:00
4b63250bc7 Fix bindings in ImagePickerButton, and load the image properly. 2022-06-17 10:17:05 +02:00
a4d5219e26 Cleaned up MMShape. 2022-06-17 01:38:18 +02:00
18b19d0293 Added missing class to config.py. 2022-06-17 01:17:01 +02:00
f1c5132346 Fix typos. 2022-06-17 01:16:27 +02:00
0c759b2f16 Cleaned up MMCircleMap, MMColorTiler, and the MMKaleidoscope nodes. 2022-06-17 01:14:46 +02:00
e1493ecac6 Cleaned up MMMirror, and MMRepeat. 2022-06-16 21:31:35 +02:00
3e1002c71d Cleaned up MMScale and MMRotate. 2022-06-16 21:20:48 +02:00
778e4948ba Cleaned up MMShear. 2022-06-16 21:09:20 +02:00
6da5703d5c Cleaned up MMTiler. 2022-06-16 20:00:15 +02:00
9ff5be15e5 Cleaned up MMTransform. 2022-06-16 19:26:46 +02:00
20af76c795 Cleaned up MMTranslate. 2022-06-16 18:59:21 +02:00
90f6ba8369 Removed duplicate binds. 2022-06-16 18:42:02 +02:00
8a057a643e Prefixed GreyscaleUniform with MM. 2022-06-16 18:40:43 +02:00
bf11ab2a43 Also cleaned up GreyscaleUniform. 2022-06-16 18:10:55 +02:00
c2a373a9cf Cleaned up Uniform, and added it to the build. 2022-06-16 17:13:14 +02:00
d939ab54c7 Mark quite a few methods as virtual in MMNode. 2022-06-16 16:40:17 +02:00
c028c76499 Comverted the remaining nodes. 2022-06-16 15:29:08 +02:00
1644490a3e Fix sign compare warning. 2022-06-16 15:28:55 +02:00
32b3d1bd0d Now MatMakerGDEditor will properly delete all previous graph nodes when it has to open a new MMMaterial. 2022-06-16 14:24:40 +02:00
034aed2b73 Fix duplicate methods and binds in CurveEditor. 2022-06-16 12:15:10 +02:00
025713f94f Fix the CurveDialog's ui. 2022-06-16 12:14:56 +02:00
e9a02afd37 Connect up CurveEdit's button. 2022-06-16 11:36:49 +02:00
2539e01711 Fix duplicate binds in CurveEdit. Also smaller fixes. 2022-06-15 20:30:36 +02:00
59baf2088f CurveEdit needs to inherit from Button. 2022-06-15 20:30:11 +02:00
0ee27d830b Fix duplicate bind. 2022-06-15 20:27:38 +02:00
d3c7a61cef MMGraphNode should use GraphEdit Instead of MMGraphEditor. 2022-06-15 18:57:08 +02:00
d73d398155 Connect PolygonControlpoint's gui input method. 2022-06-15 18:52:55 +02:00
6da06474cf Added the Node structure for PolygonDialog. 2022-06-15 18:21:15 +02:00
ee9144b1b5 PolygonEdit should have inherited from Button, and connected the pressed signal. 2022-06-15 18:03:35 +02:00
9975ea358f MMGraphNode should instance PolygonEdit instead of PolygonEditor. 2022-06-15 17:57:20 +02:00
08c6131285 Fix duplicate properties in PolygonEdit. 2022-06-15 17:56:32 +02:00
fe5f0bc196 Det anchors properly,a nd connect gui_input In PolygonEditor. 2022-06-15 17:56:14 +02:00
f1eced523c Fix overrides and duplicate binds in PolygonEditor. 2022-06-15 17:38:19 +02:00
6e09878f54 Fix sorting GradientCursors. 2022-06-15 17:22:58 +02:00
1ec5e8a756 Fix loading cursors for the gradient editor. 2022-06-15 16:45:58 +02:00
275d0604f8 Added virtual method binding for get_gradient_color in GradientBase. 2022-06-15 14:34:51 +02:00
d320f3862f Fix having a duplicate binding in GradientCursor. Also fix setting up the value label for it. 2022-06-15 14:04:42 +02:00
af2999c615 Fix duplicate method bind. 2022-06-15 13:41:58 +02:00
3566962fab Fix shader and a crash in Gradient Editor. 2022-06-15 13:41:35 +02:00
76464a0509 Instance the proper base type when using scripts in mat maker gd editor. 2022-06-15 13:40:46 +02:00
3e26ea2975 Check whenter the node has the proper class before adding a curve, polygon or gradient graph node. 2022-06-15 13:19:18 +02:00
af2059468f Fix initializing MMGraphNodes. 2022-06-15 13:02:15 +02:00
9b36e0dd1c Set minimum size for the mat maker editor. 2022-06-15 12:47:39 +02:00
c6d7e7c112 Fix set_input_properties and set_output_properties in MMNode. 2022-06-15 12:44:17 +02:00
aedd8ee5d1 Fix crahs in mat maker's editor. 2022-06-15 10:53:13 +02:00
93ea9616d1 Fixed default parameter bindings for MMGraphNode. 2022-06-15 10:41:03 +02:00
d642c0ad79 Re-enable mat maker's editor plugin. 2022-06-15 10:34:09 +02:00
764c285223 Fix the add popup for mat maker's ui. 2022-06-15 10:33:57 +02:00
315f642c3a Fix MMNode registration. 2022-06-15 10:01:14 +02:00
4de6619a40 Fix typo. 2022-06-15 10:00:37 +02:00
4e43137471 Disable mat maker's editor plugin for now. 2022-06-14 18:57:33 +02:00
38b918c515 Fix binding related errors on startup. 2022-06-14 18:44:45 +02:00
1890f45fe1 Added an editor plugin for the material maker module. 2022-06-14 18:27:36 +02:00
43db64cc7f Reimplement the missing methods in MMGraphNode. Had to rename the cure and gradient editor classes as they were confliction with engine stuff. 2022-06-14 17:55:23 +02:00
f180658682 Fixed smaller issues and added all of mat maker's widgets to the build. 2022-06-14 17:16:26 +02:00
35fadcb6bb Fixed the remaining compile issues for the gradient editor, and added it to the build. 2022-06-14 16:43:44 +02:00
dbca350602 More cleanups to the gradient editor. 2022-06-14 15:00:55 +02:00
f21019adab Also added the file dialog and float edit to the build. 2022-06-13 23:07:53 +02:00
d2a8b9ad86 Added it to the build. 2022-06-13 22:52:48 +02:00
fbde39b27f Fixed the remaining issues with the curve editor. 2022-06-13 22:52:12 +02:00
b8b0294501 Fix ImagePickerButton. 2022-06-13 21:38:34 +02:00
ce637e247e Renamed mat maker's file dialog's file. 2022-06-13 20:58:27 +02:00
a276ee47e8 Claened up MatMAker's FileDialog. 2022-06-13 20:57:24 +02:00
18694c27b9 Cleaned up LeftPanel. 2022-06-13 20:09:59 +02:00
efd6c7b333 Cleaned up PolygonEditor. 2022-06-13 18:58:08 +02:00
5eafb2fcd5 Cleaned up PolygonDialog. 2022-06-13 18:35:51 +02:00
665f8be21f Cleaned up PolygonEdit. 2022-06-13 18:12:04 +02:00
8178d526ba Renamed polygon editor's ControlPoint to PolygonControlPoint. 2022-06-13 17:45:23 +02:00