revert: image source replication until a proper fix is done
This commit is contained in:
parent
e8cd271bd8
commit
d9d8ca7ca0
@ -44,7 +44,7 @@ from . import environment
|
||||
|
||||
|
||||
DEPENDENCIES = {
|
||||
("replication", '0.1.30'),
|
||||
("replication", '0.1.31'),
|
||||
}
|
||||
|
||||
|
||||
|
@ -134,6 +134,8 @@ class BlFile(ReplicatedDatablock):
|
||||
if self.preferences.clear_memory_filecache:
|
||||
return False
|
||||
else:
|
||||
if not self.instance:
|
||||
return False
|
||||
memory_size = sys.getsizeof(self.data['file'])-33
|
||||
disk_size = self.instance.stat().st_size
|
||||
return memory_size != disk_size
|
||||
|
@ -66,7 +66,7 @@ class BlImage(BlDatablock):
|
||||
loader = Loader()
|
||||
loader.load(data, target)
|
||||
|
||||
target.source = data['source']
|
||||
target.source = 'FILE'
|
||||
target.filepath_raw = get_filepath(data['filename'])
|
||||
color_space_name = data["colorspace_settings"]["name"]
|
||||
|
||||
@ -86,7 +86,7 @@ class BlImage(BlDatablock):
|
||||
dumper.depth = 2
|
||||
dumper.include_filter = [
|
||||
"name",
|
||||
'source',
|
||||
# 'source',
|
||||
'size',
|
||||
'height',
|
||||
'alpha',
|
||||
|
Loading…
x
Reference in New Issue
Block a user