MyPaint version pre-alpha preview

Ah crap… maybe i forgot to remove my debugging code that clears settings on launch, that would explain it.

Will look into it :)

1 Like

Yup I forgot to remove the code… it’s gone now. Latest build is now available.

1 Like

Hi CandyFace ! I was supposed to report a problem with the “Dirty” brush pack that I had when I tried using it with P2D-MyPaint, but a test today with a fresh file I could not get it to crash :slight_smile: So I have to wait if I ever encounter it again then I’ll get back to you.

I might as welll give a heads up to anyone searching for nice brush packs to try it out if you like. I like “deevad” very much but “Dirty” just added the missing pieces for me.

2 Likes

New more permanent link to the mypaint builds:

Win64
Win32
Mac OS

2 Likes

@CandyFace Thank you for the latest version! I was testing it and it was working ok on a surface level, however I ran up a crashing inducing behavior that I can reproduce perfectly all the time on Windows 10.

Some reproduction steps

  1. Open Pencil2D-Mypaint build
  2. Pick any tool
  3. Go to the Brushes panel
  4. Press config button
  5. In the properties window that pops up press the dropdown (it should say pressure) and select custom
  6. Pencil2D will crash.

New build: Mac Win32 Win64

Bugfixes:

  • Fixed crash when adding an input modifier for a setting that didn’t already contain one input setting.
  • Fixed crash when removing an input modifier
  • Fixed removing input modifier did not get saved to disk

Small visual improvement:

Added icon for input modifier button, now the brush configurator looks a bit more complete.

1 Like

Theoretically can we take current projects we are working on in Pencil2D, take the .pcl file and put it into the MyPaint version so we can work on the project in that version? I’m working on an animated series and I want it to look the best I can make it.

Ignore my last post- I can’t wait till this new version. More brushes are gonna take Pencil2D to another level

@Jordan_River_Studios It’s Pencil2D with brushes, so yes you can, but again bear in mind it’s still experimental so you better save a lot of backups (plus some of the recent fixes are not included in this branch AFAIK) so you might see weird stuff happening from time to time if you use it like it is.

Of course it is super important that anyone using this can report issues related to MyPaint, so give it a spin for a hobby project if you have the time. Thank you for your interest as always!

@CandyFace Ok did some more tests on the latest version you shared.

  • :thinking: :thought_balloon: To make behavior a bit more generic, opacity in pencil tool could behave like other tools, right now even if you set opacity at 100% and remove the pressure input mapping graph, it’s still semi-opaque so it feels unexpected.
  • :warning: Changing pressure graphs does not update the stroke placed on the canvas up until the attribute slider changes.
  • :warning: Drawing fast lines show stroke segment “breaks” due to slow tracking attribute. This was tested with the Pencil tool presets; reducing slow tracking to 0 improves the line “smoothness” when drawing fast.
  • :warning: Brush and Pen presets fast lines tend to break even without slow tracking enabled. :thinking: :hammer_and_wrench: Might need more testing to find if there’s an attribute pattern that leads to this, or just to conclude specific presets are faulty
  • :bangbang: :rotating_light: Using the colorize attribute automatically crashes the app. Just try using the slider and the app closes.
  • :bangbang: :rotating_light: After having the colorize attribute crash the app, now I after just starting Pencil2D, If I press the config button on the brush panel for the first Pencil preset (4H_Pencil), Pencil2D crashes automatically.

    Other presets work ok so I think the preset got “corrupted” somehow, though it seems that the presets were saved without my approval.

    I thought the presets were saved temporarily for the session, but it doesn’t seem like that, in these cases saving the presets and storing faulty values seems to expose this problem when an attribute makes the preset unreadable.

    Edit: Ok it seems I was right, the MYB got the colorize value stored with a 0.2 value. I assume that this is why I can’t even look at it. I can’t restore it via the GUI because it won’t let me open the editor without crashing, so only advanced users would be able to restore the preset by messing with the text file :thinking:

    I think there should be a way to restore the brush presets without looking in the editor. Maybe right clicking on the preset? just a thought tho, the main problem is that the editor can’t seem to parse the colorize value, even though using it on the canvas doesn’t seem to carry any trouble :laughing:

Thanks for another testing round :slight_smile:

To make behavior a bit more generic, opacity in pencil tool could behave like other tools, right now even if you set opacity at 100% and remove the pressure input mapping graph, it’s still semi-opaque so it feels unexpected.

Have you checked whether this is the case with mypaint too? if so there’s probably not much we can do about it, it’s most likely about the combination of brush settings that causes that behaviour

:warning: Changing pressure graphs does not update the stroke placed on the canvas up until the attribute slider changes.

I will look into that

Drawing fast lines show stroke segment “breaks” due to slow tracking attribute. This was tested with the Pencil tool presets; reducing slow tracking to 0 improves the line “smoothness” when drawing fast.

Brush and Pen presets fast lines tend to break even without slow tracking enabled. :thinking: :hammer_and_wrench: Might need more testing to find if there’s an attribute pattern that leads to this, or just to conclude specific presets are faulty

Stroke breaks will likely not disappear just because of the mypaint integration, it requires a better filtering of the tablet and mouse events to fix this problem properly. Mypaint also has this issue themselves.

:bangbang: :rotating_light: Using the colorize attribute automatically crashes the app. Just try using the slider and the app closes.

Interesting, will try to reproduce

After having the colorize attribute crash the app, now I after just starting Pencil2D, If I press the config button on the brush panel for the first Pencil preset (4H_Pencil), Pencil2D crashes automatically.

Sounds like something unexpected is happening, you’ll have to reset the brush folder or remove that specific attribute from the config file to fix the situation for now.

I think there should be a way to restore the brush presets without looking in the editor. Maybe right clicking on the preset? just a thought tho, the main problem is that the editor can’t seem to parse the colorize value, even though using it on the canvas doesn’t seem to carry any trouble :laughing:

This should be doable, will look into that.

Hi CandyFace, don’t know if this has anything to do with what Jose reported but I have noticed this also in the version before and maybe you are aware of it.

The problem is a lag in pen strokes directly after an undo. It only is the frist pen stroke after the undo that lags not the following pen strokes after that, they are as fast as they should be.

To see this problem you just have to draw a bit outside the canvas (I set the camera to 1920x1080 in my test) the further outside the canvas you draw the more clearly you will see the lag.

A video of me drawing and undo’ing some penstrokes:

Thanks for bringing that to my attention Manu, unfortunately there’s no easy way to fix that currently, at least not to my knowledge.

The delay is caused by the fact that the update of the canvas after undo’ing, requires a reset of the mypaint surface, because mypaint is not aware of undo/redo, that’s pencil2D state. This basically means removing all tiles and re-adding them based on the undo/redo image. As the image gets bigger and bigger, the operation takes longer.

@JoseMoreno

:warning: Changing pressure graphs does not update the stroke placed on the canvas up until the attribute slider changes.

This has been fixed now.

:bangbang: :rotating_light: Using the colorize attribute automatically crashes the app. Just try using the slider and the app closes.

This one is a head scratcher… it’s seemingly not a bug in pencil2D that’s causing the crash but a bug in the mypaint backend… i’ve looked into it a bit but i’m not certain what’s causing the behavior. I will ask the mypaint developers… maybe they know what’s causing it.

2 Likes

New build ready: Mac Win32 Win64

Bugfixes:

  • Fixed brush base value would not be accounted for when modifying brush input in brush configurator
  • Fixed an internal bug in libmypaint that would cause a crash when using the colorize brush setting
  • Not all brushes have brush dynamics, eg. pressure, therefore now the brush mapping button is disabled for those settings, with a tool tip explaining why.

New:

  • Brush preview is now based on the front color
1 Like

Many thanks for the update, I’ll start using it right away.

By the way this is probably a older bug but I thought I’d record a video of it anyway.

If I paint or skecth on a frame and accidentially change the frame ( with a keyboard shortcut key ) to the next while holding down the pen, it will ruin the frame I accidentially switched to.

1 Like

Ah yes I forgot about that bug… it will be fixed in the next release. Thanks for reminding me :slight_smile:

Just downloaded the 4-30-2022 release I’m gonna try it out

It’s lowkey pretty freaking clean. I like the brush options and customization that you can do with it. I’m excited for the future of this program :+1:

Hi! Thank you for your project! But could you please give us Linux binary or source code for compiling?

Hi ihniy

Sure, the reason there’s no linux build above is because our linux deployment service is currently broken but you can of course compile it yourself :slight_smile: