removing residual mess

This commit is contained in:
Jakub Jezek 2023-08-08 16:20:15 +02:00
parent 7861b02837
commit fa66c9f1e0
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -281,14 +281,6 @@ class NukePlaceholderLoadPlugin(NukePlaceholderPlugin, PlaceholderLoadMixin):
placeholder.data["nb_children"] += 1
reset_selection()
# # remove placeholders marked as delete
# if (
# placeholder.data.get("delete")
# and not placeholder.data.get("keep_placeholder")
# ):
# self.log.debug("Deleting node: {}".format(placeholder_node.name()))
# nuke.delete(placeholder_node)
# go back to root group
nuke.root().begin()
@ -695,14 +687,6 @@ class NukePlaceholderCreatePlugin(
placeholder.data["nb_children"] += 1
reset_selection()
# # remove placeholders marked as delete
# if (
# placeholder.data.get("delete")
# and not placeholder.data.get("keep_placeholder")
# ):
# self.log.debug("Deleting node: {}".format(placeholder_node.name()))
# nuke.delete(placeholder_node)
# go back to root group
nuke.root().begin()