Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

}bedrock.cube.dimension.add not deleting control object temp objects #422

Open
tomnixon-cw opened this issue Dec 12, 2024 · 0 comments
Open
Labels

Comments

@tomnixon-cw
Copy link

Describe the bug
The caller for }bedrock.cube.dimension.add has an optional parameter (pCtrlObj) which is either 1 or 0 to allow it to work on control objects. The clone cube is a clone of a control cube and is not being deleted even if pTemp is set to 1 because the pCtrlObj flag is not being inherited by the call to }bedrock.cube.delete later on in the process (it is set to zero instead of the value of pCtrlObj).

Suggest changing the 0 to inherit pCtrlObj.

Cheers.

To Reproduce
Steps to reproduce the behavior:

  1. Create a control cube
  2. Add a dimension to the control cube using }bedrock.cube.dimension.add ensuring pTemp is set to 1 (to delete clone cube) and pCtrolObj is set to 1 (to enable the cube to work on control objects).
  3. Note that the clone objects have not been deleted. Process will have broken at that point.

Expected behavior
Clone objects deleted as per setting pTemp to 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant