Commit 2029c42
authored
fix: deprecate CoreNode.preventCleanup and re-introduce preload option (#486)
The `textureOptions.preload` was removed during the Texture Throttling
refactor, reintroduced it even though its loading will be throttled.
While looking at the properties, decided to move `preventCleanup` to
`textureOptions` instead of as a property on the `CoreNode`. Technically
this controls the behaviour of the texture, not the core node. Hence it
better belongs on `textureOptions`.
Will throw a deprecation warning in dev mode for a couple of releases
and then we'll drop it.2 files changed
+52
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
413 | 414 | | |
414 | 415 | | |
415 | 416 | | |
416 | | - | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
417 | 422 | | |
418 | 423 | | |
419 | 424 | | |
| |||
768 | 773 | | |
769 | 774 | | |
770 | 775 | | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
771 | 782 | | |
772 | 783 | | |
773 | 784 | | |
| |||
790 | 801 | | |
791 | 802 | | |
792 | 803 | | |
793 | | - | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
794 | 810 | | |
795 | 811 | | |
796 | 812 | | |
| |||
2027 | 2043 | | |
2028 | 2044 | | |
2029 | 2045 | | |
2030 | | - | |
| 2046 | + | |
2031 | 2047 | | |
2032 | 2048 | | |
2033 | 2049 | | |
2034 | | - | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
2035 | 2057 | | |
2036 | 2058 | | |
2037 | 2059 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
110 | 136 | | |
111 | 137 | | |
112 | 138 | | |
| |||
0 commit comments