-
Notifications
You must be signed in to change notification settings - Fork 22
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
ProtoModel improvements #77
Conversation
…ance to prevent crash on dbl click, force the room editor to constantly redraw
…ance to prevent crash on dbl click, force the room editor to constantly redraw
This stops various views of the model from shitting all over the data while the removal is under way.
<string>Room</string> | ||
</property> | ||
<property name="windowIcon"> | ||
<iconset resource="../../RGM_/images.qrc"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wish we could refer to this folder any way other than ../../RGM_
...
bkg = bkg->GetSubModel(TreeNode::kBackgroundFieldNumber); | ||
if (!bkg) continue; | ||
|
||
int x = sortedTiles->data(sortedTiles->index(row, Room::Tile::kXFieldNumber)).toInt(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I... wouldn't do this. I'd add int_data() to the model that just asks the proto for an int32 directly. This is probably a big part of why the room editor spins up my fan so bad.
Successor to #76. Fixes some issues with ProtoModels, and adds new functionality.