Skip to content

Commit

Permalink
0.2.1.577
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcui03 committed Feb 16, 2019
1 parent e78a368 commit a15dd29
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 13 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 0.2.1.577
Date: 2019.2.16
Bugfixes:
- Fixed the body-blocks that is in edit area is disabled when changed showing object.[bug#27]
---------------------------------------------------------------------------------------------------
Version: 0.2.1.573
Date: 2019.2.14
Bugfixes:
Expand Down Expand Up @@ -37,7 +42,7 @@ Features:
Source:
- Deleted some signals and slots.
---------------------------------------------------------------------------------------------------
Version: 0.2.0.515 | 0.2.0
Version: 0.2.0.515
Date: 2019.1.18
Source:
- Added function to Logger in template function.
Expand Down Expand Up @@ -92,7 +97,7 @@ Date: 2018.12.25
Features:
- Added loading for image resource.
---------------------------------------------------------------------------------------------------
Version: 0.1.0.417 | 0.1.0
Version: 0.1.0.417
Date: 2018.12.25
Source:
- Added destructor to some of functions.
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.RELEASE
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
---------------------------------------------------------------------------------------------------
Version: 0.2.1
Date: 2019.2.16
Features:
- Added stage to list of sprites.[build-570]
- Changed the style of sprite list item.[build-563]
- Finished UI of SpriteListItem.[build-527]
- Output the current running block's name to the log file.[build-547]
- Run project with multithread.[build-555]
Bugfixes:
- Fixed the blocks cannot be used when running project.[bug#22][build-547]
- Fixed the block category did not refresh after changing the category.[bug#26][build-555]
- Fixed the body-blocks that is in edit area is disabled when changed showing object.[bug#27][build-577]
- Fixed the program crash when initialization.[bug#28][build-573]
Source:
- Deleted some signals and slots.[build-570]
---------------------------------------------------------------------------------------------------
Version: 0.2.0
Date: 2019.1.18
Features:
Expand Down
2 changes: 1 addition & 1 deletion ZilchEditor.pro.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.7.1, 2019-02-13T22:42:54. -->
<!-- Written by QtCreator 4.7.1, 2019-02-16T16:37:45. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
Expand Down
14 changes: 4 additions & 10 deletions src/widget/ScriptPart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,13 @@ ScriptPart_ScriptEdit::ScriptPart_ScriptEdit(QWidget *parent):Widget(parent) {

void ScriptPart_ScriptEdit::Reload() {
for (auto c : this->children()) {
delete c;
c = nullptr;
static_cast<BlockItem*>(c)->hide();
}
for (auto &c : AppWindow->EditArea->Object->BlockList) {
if (c->isHead()) {
c->Item = new BlockItem(c, nullptr, nullptr, this);
c->Item->move(c->X, c->Y);
}
else {
c->Item = new BlockItem(c, c->LastBlock, c->NextBlock, this);
c->Item->move(c->LastBlock->Item->x(), c->LastBlock->Item->y() + c->LastBlock->Item->height());
}
c->Item->show();
for (auto &i = c->NextBlock; i != nullptr; i = i->NextBlock) {
i->Item->show();
}
}
}

Expand Down

0 comments on commit a15dd29

Please sign in to comment.