First alpha of my GSoC project: procedural texture generator

Hi all!

This is the second alpha of my SeExpr project. Releases are available here:

Integrity hashes:

114ae155fb682645682dda8d3d19a0b82a4646b7732b42ccf805178a38a61cd0  krita-4.3.1-alpha-cff8314-x86_64.appimage
20df504642d7d6bcc96867a95a0e3d418c640d87cf7b280034d64a1587df5e2c  krita-4.3.1-alpha-cff83142d4-x86_64.zip

In this release, I fixed the following bugs:

  • @Deevad’s issue with AZERTY keypad presses. They were previously considered by the SeExpr editor widget as Ctrl-keys for the autocompletion :woman_facepalming:
  • Uncompressed the editor widgets, and let them have their native values (thanks @Deevad)
  • Pasting on the editor breaks the formatting
  • Emmet O’Neill reported that there wasn’t any autoupdate on editing the script. I added a signal from the SeExpr code and a progress updater to the Layers docker.

Additionally:

  • I sorted a lot of the SeExpr code, hiding unnecessary features (like two Disney-internal UI widgets) and legacy UI (a grapher that uses Qt4’s QGLWidget) behind feature flags.
  • Reworked the CMake scripts to make use of imported targets.

These two changes allowed me to drop some CMake hackery from the Krita side of things.

@Rakurri’s issue on losing the configuration has been reported as bug 422885. I added the necessary calls to the SeExpr dialog code; however, the dialog restore is trumped by the configuration reset that’s done by the Fill Layer dialog itself.

Next, I plan to review the resources code and try my hand at adding SeExpr scripts to them. But I need some rest, this last term is pretty heavy in terms of homework.

Please test, and let me know what you think!

4 Likes