这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@davidlamhauge
Copy link
Contributor

I've made this extension to the much discussed import feature.
Here you can import relative to four positions, as shown in the screenshot below.
Whether my naming for the four possibilities are precise enough is up to you. Let's discuss it.
importpos
When importing to follow camera, we have to set the viewManagers importView for each image, which called for 6 lines of code in the Editor::importImage() function. If any of you know a smarter way, please tell me how.
Finally, this only addresses the urgent problem of the merged feature, that could be more precise. We should have a feature where we could import to whatever position we want. That must be another time.

@davidlamhauge davidlamhauge changed the title 1174 extended possibilities 1174 extended import position possibilities Nov 16, 2019
@davidlamhauge
Copy link
Contributor Author

I found a more efficient way to check import choice.
Still, improvements are welcome 😃

Copy link
Member

@MrStevns MrStevns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the code that's related to image import, I'd say it looks fine. You have palette import remnants from another branch that should be removed though.

@davidlamhauge
Copy link
Contributor Author

I've used the wrong branch as basis. I close this and opens another

davidlamhauge pushed a commit to davidlamhauge/pencil that referenced this pull request Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants