Skip to content

Commit 88e11b8

Browse files
authored
Merge pull request #278 from thygate/major-refactor
Large refactor
2 parents 54193c4 + bc3755e commit 88e11b8

File tree

10 files changed

+2352
-2084
lines changed

10 files changed

+2352
-2084
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ video by [@graemeniedermayer](https://github.com/graemeniedermayer), more exampl
2121
images generated by [@semjon00](https://github.com/semjon00) from CC0 photos, more examples [here](https://github.com/thygate/stable-diffusion-webui-depthmap-script/pull/56#issuecomment-1367596463).
2222

2323
## Changelog
24+
* v0.4.0 large code refactor
25+
* UI improvements
26+
* improved Batch from Directory, Clip and renormalize DepthMap
27+
* slightly changed the behaviour of various options
28+
* extension may partially work even if some of the dependencies are unmet
2429
* v0.3.12
2530
* Fixed stereo image generation
2631
* Other bugfixes
File renamed without changes.

install.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
import platform
33
import sys
44

5+
# TODO: some dependencies apparently being reinstalled on every run. Investigate and fix.
6+
57
if sys.version_info < (3, 8):
68
launch.run_pip("install importlib-metadata", "importlib-metadata for depthmap script")
79
import importlib_metadata

javascript/depthmap.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
function get_depthmap_tab_index(){
2-
const [,...args] = [...arguments]
3-
return [get_tab_index('mode_depthmap'), ...args]
4-
}

scripts/depthmap.py

Lines changed: 458 additions & 2070 deletions
Large diffs are not rendered by default.

src/core.py

Lines changed: 732 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)