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

Blender 2.6 Bug Tracker: Browse

[#26761] texture number of users increases +1 when material preview render active

Date:
2011-04-03 20:51
Priority:
3
State:
Closed
Submitted by:
Alex G. (theamiman)
Assigned to:
Ton Roosendaal (ton)
Category:
Interface
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
texture number of users increases +1 when material preview render active
Detailed description
Hi,

redo:

add cube
add two materials with the same texture
go to texture panel
set preview to both
change anything so the material preview refreshes

the user count for the texture increases one then goes back down

cheers,

occurs on win7 54 with r32968 w32 from builder.blender.org
ati radeon hd 4290

Followup

Message
  • Date: 2011-04-03 22:04
  • Sender: Sergey Sharybin
  • I think it's threading issue. If be more exact -- some kind of data "duplicate" to be thread-safe. Simply, if you'll remove this texture while renderer is active, nothing good will happen.
    Ton, you've send much time in making this thread-safe, am i understanding things correct?
  • Date: 2011-04-04 15:49
  • Sender: Ton Roosendaal
  • Simple fix added in code. Thanks for report!

    Sergey: the "nothing good will happen" is not true really, the user counter would be managed perfectly in your example.
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2011-04-04 15:49ton
close_dateNone2011-04-04 15:49ton
StatusNew2011-04-04 15:49ton
assigned_tonone2011-04-03 22:04nazgul