Skip to content

Commit

Permalink
feat: add webcam experimental feature, changes: made simple cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Iskander Sultanov <[email protected]>
  • Loading branch information
BigIskander committed Mar 11, 2024
1 parent a555c28 commit 9b29d13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions MKSOutputDevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ def getProperties(self):

#Execute when metaData change
def _onMetaDataChanged(self):
# Logger.log("i", "On property changed.Ok...")
self.cameraSettingsChanged.emit()

@pyqtProperty(bool, notify=cameraSettingsChanged)
Expand All @@ -273,7 +272,6 @@ def cameraUrl(self):
meta_data = global_container_stack.getMetaData()
if Constants.CAMERA_URL in meta_data:
camera_url = global_container_stack.getMetaDataEntry(Constants.CAMERA_URL)
# Logger.log("i", camera_url)
if camera_url:
return QUrl(camera_url)
return QUrl("")
Expand Down
2 changes: 1 addition & 1 deletion qml/MachineConfig.qml
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ Cura.MachineAction {
maximumLength: 1024
validator: RegularExpressionValidator
{
//Epty string or URL begining with http:// or https://
//Empty string or URL begins with http:// or https://
regularExpression: /^$|(^((?:http:\/\/)|(?:https:\/\/))\S{0,}$)/
}

Expand Down

0 comments on commit 9b29d13

Please sign in to comment.