Skip to content

Commit

Permalink
Merge branch 'openMvs_color' of github.com:ErlerPhilipp/Pix2Model int…
Browse files Browse the repository at this point in the history
…o openMvs_color
  • Loading branch information
joschi1212 committed Apr 10, 2024
2 parents 8d91687 + d9c4ab7 commit d4f5646
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ BACKEND_LOG=backend_log
You can skip these steps but browsers will warn about unsecure connection, or even block it.
NGINX won't start if the certificate is missing or invalid. In order to start in HTTP mode,
you need open `web/nginx.conf`, replace the HTTP locations with the SSL locations and comment out the whole SSL block.
Now, you should be able to connect to the server via HTTP, at least with Google Chrome (in incognito mode).
Now, you should be able to connect to the server via HTTP (port 8082), at least with Google Chrome (in incognito mode).

You can manually create a certificate by following the instructions on https://www.sslforfree.com/.
Or you can automate it with Certbot (https://certbot.eff.org/). For this, you need to create a Cron job and a script that triggers a docker image. See [SSL Automation](setup_ssl.md) for more information.
Expand Down
6 changes: 4 additions & 2 deletions web/src/edit/EditComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ class Edit extends Component {
case "f":
scope.frameObject(scope);
break
/*case "+":
case "+":
scope.light.intensity += 0.5;
break
case "-":
scope.light.intensity -= 0.5;
break*/
break
}
scope.renderScene(scope)
}
Expand Down Expand Up @@ -1582,6 +1582,8 @@ class Edit extends Component {
{ button_translation: <button className="transformation_button" onClick={() => this.setTransformation(this, "t")} />,
button_rotation: <button className="transformation_button" onClick={() => this.setTransformation(this, "r")} />,
button_scale: <button className="transformation_button" onClick={() => this.setTransformation(this, "s")} />,
button_increase_light: <button className="transformation_button" onClick={() => this.setTransformation(this, "+")} />,
button_decrease_light: <button className="transformation_button" onClick={() => this.setTransformation(this, "-")} />,
button_frame: <button className="transformation_button" onClick={() => this.frameObject(this)} />
}}/>
</div>
Expand Down

0 comments on commit d4f5646

Please sign in to comment.