Fix T44543: painted texture lost after first save
authorCampbell Barton <ideasman42@gmail.com>
Mon, 18 May 2015 03:42:47 +0000 (13:42 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 18 May 2015 03:42:47 +0000 (13:42 +1000)
commit924f31e54f59e13007b75f9388ef4bd089f847b2
tree14f491b5f3cc3b7165df9fa88d497ca373aae62b
parent662746fdd43499feeaf59c5aeb65f5380a5e6ffb
Fix T44543: painted texture lost after first save

Fix for T36639 caused all path changes to reload (which could loose user content).

Change behavior:

- Only reload data when a flag is explicitly passed
  (currently only used by Find Files operator)
- Don't reload images which have been painted onto and not saved (dirty flag set).
source/blender/blenkernel/BKE_bpath.h
source/blender/blenkernel/intern/bpath.c