not even fixes
This commit is contained in:
parent
ec1699e0a3
commit
c8ef073531
3 changed files with 2 additions and 5 deletions
|
@ -434,7 +434,7 @@
|
|||
<script src="js/defaults.js?v=5b06818" type="text/javascript"></script>
|
||||
|
||||
<!-- Base Libs -->
|
||||
<script src="js/lib/util.js?v=f5ef803" type="text/javascript"></script>
|
||||
<script src="js/lib/util.js?v=24130a5" type="text/javascript"></script>
|
||||
<script src="js/lib/events.js?v=2ab7933" type="text/javascript"></script>
|
||||
<script src="js/lib/db.js?v=434363b" type="text/javascript"></script>
|
||||
<script src="js/lib/input.js?v=769485c" type="text/javascript"></script>
|
||||
|
@ -468,7 +468,7 @@
|
|||
src="js/ui/tool/generic.js?v=3e678e0"
|
||||
type="text/javascript"></script>
|
||||
|
||||
<script src="js/ui/tool/dream.js?v=3f03af8" type="text/javascript"></script>
|
||||
<script src="js/ui/tool/dream.js?v=fc1c6f7" type="text/javascript"></script>
|
||||
<script
|
||||
src="js/ui/tool/maskbrush.js?v=d88810f"
|
||||
type="text/javascript"></script>
|
||||
|
|
|
@ -483,7 +483,6 @@ const makeElement = (
|
|||
* @param {number}} blur
|
||||
* @returns {HTMLCanvasElement}
|
||||
*/
|
||||
|
||||
const subtractBackground = (canvas, bb, bgImg, blur = 0) => {
|
||||
// set up temp canvases
|
||||
const bgCanvas = document.createElement("canvas");
|
||||
|
|
|
@ -534,9 +534,7 @@ const _generate = async (endpoint, request, bb, options = {}) => {
|
|||
endpoint == "img2img" &&
|
||||
toolbar._current_tool.state.removeBackground
|
||||
) {
|
||||
//TODO SERIOUSLY CHECK FOR MORE THINGS HERE
|
||||
canvas = subtractBackground(canvas, bb, dreamData.bgImg, 0);
|
||||
// do something else too probably idunno
|
||||
}
|
||||
|
||||
commands.runCommand("drawImage", "Image Dream", {
|
||||
|
|
Loading…
Reference in a new issue