Commit Graph

712 Commits

Author SHA1 Message Date
98008d48c9 Proper structural setup for the new module. 2022-04-20 02:50:16 +02:00
05bb8567ba Added a new wfc (wave function collapse) module. I added https://github.com/math-fehr/fast-wfc 's code as a base for it. It's not in the build yet. 2022-04-20 02:39:35 +02:00
d7f833ee75 Disable werrors for the windows github actions for the time being, as it's complaining about sizeof(T) potentially being 0, which apparently it should never be. It will be re-enabled when I figure out what's causing this. 2022-04-19 00:59:33 +02:00
93370e9c1d Move the definition of contains() from PoolVector class to the bottom of the file. I'm hoping to avoid a new potential divide by 0 warning on windows. 2022-04-19 00:33:35 +02:00
bb303112fe Move paint's shader to an another folder to avoid unused variable warning. 2022-04-19 00:10:39 +02:00
ecda65d37b Fix an another shadoved declaration. 2022-04-18 23:41:49 +02:00
4813832b92 Fix shadowed declaration warning. 2022-04-18 19:34:52 +02:00
18184429bb Also fix ste style of the 3d prop plugin's convert button. 2022-04-18 19:33:47 +02:00
56e5874267 Set Prop2D's conver button's style to flat, so it's in the expected style. 2022-04-18 19:32:17 +02:00
396426aa12 Skip registering PaintEditorPlugin for now, as the module will need lots of refactorings and I need to think about them more. 2022-04-18 16:33:37 +02:00
701e07a2cd Typo fix. 2022-04-18 16:26:01 +02:00
81e9a54129 The PaintCanvasBackgorund needs draw behind parent set. 2022-04-18 15:45:24 +02:00
7abae2b54e Properly ported PaintCanvasBackground. 2022-04-18 15:32:55 +02:00
71ac7bc4e3 Bit more work on porting PaintActions. 2022-04-18 14:10:21 +02:00
111daab50e Switched to it in a few places. 2022-04-18 13:00:14 +02:00
d252ecd131 Added contains method to PoolVector. 2022-04-18 12:58:39 +02:00
361f949093 Work on porting the actions. 2022-04-17 21:10:43 +02:00
a3fc87a576 Cleaned up BrushPrefabs. Also started cleaning up actions. 2022-04-17 20:04:30 +02:00
d3c039be7e Also port the logic of the selection box and visual grid. 2022-04-17 18:14:06 +02:00
cc217b7eea Also ported the settings dialog. 2022-04-17 17:23:58 +02:00
bd42d11629 Also ported the PaintCanvasDialog, and the grid size dialog. 2022-04-17 16:44:54 +02:00
398af1a772 Fully ported PaintLoadFlieDialog aswell. 2022-04-17 15:29:03 +02:00
8182d82135 Implemented signals for PaintWindow, smaller fixes for PaintCanvas, and cleaned up the save file dialog. 2022-04-17 14:15:40 +02:00
b7230dd942 Added in the icons for paint's gui. 2022-04-17 12:03:12 +02:00
b9f0ccdeb3 Finished porting the logic of PaintWindow. Also smaller fixes / improvements. 2022-04-17 11:43:25 +02:00
0521aa4d6b or to || 2022-04-17 03:27:52 +02:00
59fb670bc8 or to || 2022-04-17 03:25:22 +02:00
28f57aa439 Fix shadowed declaration. 2022-04-17 03:20:34 +02:00
62c384b3a4 Almost completely ported the logic of the PaintWindow. 2022-04-17 03:18:09 +02:00
5e368ec978 Ported the logic for PaintCanvas. 2022-04-17 00:17:05 +02:00
3461d692d4 Node hierarchy port / implementation for PaintCanvas. 2022-04-16 22:11:06 +02:00
bbc671693a Fix adding the wrong child. 2022-04-16 21:01:04 +02:00
0d917718dd Implement / port PaintNavbar. 2022-04-16 20:57:42 +02:00
e540e4e414 Implemented the paint editor plugin. Also reimplemented PaintWindow's ui. 2022-04-16 19:08:19 +02:00
79aa630959 or to ||. 2022-04-16 02:58:02 +02:00
d0af0cb360 Added all paint classes to the build. 2022-04-16 02:54:22 +02:00
25d219a4a0 Const qualifiers and references for the paint module. 2022-04-16 02:35:03 +02:00
d98f9746e8 Ported the logic for quite a few classes of the paint module. 2022-04-16 01:25:02 +02:00
60048f3602 Also convert the leftover dialogs. 2022-04-15 20:05:56 +02:00
e70fb4a67e Created the rest of the skeleton classes for the paint module, and moved the code into them. 2022-04-15 19:40:12 +02:00
a662e12c3c Added the required (skeleton) c++ classes for the paint module. 2022-04-15 02:20:27 +02:00
fe318a61ea initial setup for the paint module. 2022-04-15 00:00:46 +02:00
0d6c6230fc Went through mdr ed, and made as much parameters references as I could. 2022-04-14 17:13:07 +02:00
3406a11f5c Went through mdr ed's code for bad poolvector assigns, hopefully fixed all of them. 2022-04-14 14:06:15 +02:00
386f52d84b Fix the connect actions. 2022-04-14 13:05:11 +02:00
fe18c0f02d Call the proper method. 2022-04-14 13:01:31 +02:00
7f2cb4da8e Fix uv island editing. 2022-04-14 12:14:59 +02:00
cd45c37881 Fix shadowed declaration warning. 2022-04-14 01:43:40 +02:00
93652c7f03 Fix crash in apply seams. 2022-04-14 01:26:16 +02:00
ea20b2fd09 Fix input and draw for the rect view nodes. 2022-04-14 01:04:20 +02:00