Repository navigation
Commit f813f6c
AttributeError: 'EndianBinaryReader_Memoryview_BigEndian' object has no attribute 'is_changed' (K0lb3#185)
* Update environment.py
Fixed a bug where Enviroment.save() function was always assuming all asset objects have the "is_changed" attributes, causing it to raise an exception if it encountered an "EndianBinaryReader_Memoryview_BigEndian" object, as that object doesn't have an "is_changed" attribute.
* Fix indent and use getattribute
* env-save: Use fname and fitem
---------
Co-authored-by: Rudolf Kolbe <rkolbe96@gmail.com>1 parent 7fff866 commit f813f6c
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
| 155 | + | |
| 156 | + | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
0 commit comments