Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#22638] Alpha channel not saved when using texture paint

Date:
2010-06-21 00:33
Priority:
3
State:
Closed
Submitted by:
Tod Liverseed (xbctod)
Assigned to:
Campbell Barton (campbellbarton)
Category:
None
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Alpha channel not saved when using texture paint
Detailed description
Build 29575

Load a model with a UV mapped texture. Enter texture paint mode. Erase the alpha on a portion of the texture. Save the image. Reload the image, all alpha channel modifications are lost. Happens with PNG format. I did not test TGA.

Followup

Message
  • Date: 2010-06-21 18:30
  • Sender: Diego Borghetti
  • Hi,

    Can you upload a blend file + image file to test this ? with a step-by-step to reproduce this ?

    I test here and work fine, if it's a packed image, you have to re-pack it so blender can take the changes.

    And if if's a normal image (file), with reload work fine here.
    Also test open the image with gimp and it's ok.

    Thanks,

    - Diego
  • Date: 2010-06-21 19:00
  • Sender: Brecht Van Lommel
  • The bug here is that the image save operator still using settings from the scene settings for saving rendered images. The operator should get it's own rgb/rgba, quality, etc settings.
  • Date: 2010-06-21 19:30
  • Sender: Diego Borghetti
  • I see, I have png + rgba in my settings, that is why work fine here.

    Brecht, I can take a look at this if you and Campbell are ok with that.

    - Diego
  • Date: 2010-06-22 19:27
  • Sender: Brecht Van Lommel
  • Sure, go ahead. Probably requires some duplication of code, I've postponed fixing it because of that, but I can't see a better solution than to redefine the properties as they exist in SceneRenderData RNA, so it acceptable to do that, just add a comment that both places have to be updated on changes.
  • Date: 2010-11-19 11:16
  • Sender: Janne Karhu
  • Diego: any progress on this?
  • Date: 2010-11-19 14:01
  • Sender: Diego Borghetti
  • Not yet, I still donĀ“t have time to work on this. I think the next week (wednesday or thursday) go to be free again to work on blender. If you want to fix this before that, no problem.

    - Diego
  • Date: 2010-12-01 00:38
  • Sender: Campbell Barton
  • fixed in svn r33401.
    check alpha pixels on save if the image is flagged dirty.
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
ResolutionInvestigate2010-12-01 00:38campbellbarton
close_date2010-12-01 00:382010-12-01 00:38campbellbarton
assigned_tobdiego2010-12-01 00:38campbellbarton
status_idOpen2010-12-01 00:38campbellbarton
ResolutionNone2010-06-23 08:41bdiego
assigned_tonone2010-06-23 08:41bdiego