Fixes ca not active after reactivation
This commit is contained in:
parent
76d8beb378
commit
9e211aa581
@ -98,6 +98,9 @@ There ist still quite some work to do.
|
|||||||
And for all others, don't hesitate to open issues when you have problems!
|
And for all others, don't hesitate to open issues when you have problems!
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
#### 1.0.7
|
||||||
|
- Fixes automaton ont active on reactivation
|
||||||
|
|
||||||
#### 1.0.6
|
#### 1.0.6
|
||||||
- Fixes reactivation not redrawing all cells
|
- Fixes reactivation not redrawing all cells
|
||||||
|
|
||||||
|
@ -96,6 +96,7 @@ class CellularAutomaton(CellularAutomatonCreator, abc.ABC):
|
|||||||
for cell in self._current_state.values():
|
for cell in self._current_state.values():
|
||||||
cell.is_active = True
|
cell.is_active = True
|
||||||
cell.is_dirty = True
|
cell.is_dirty = True
|
||||||
|
self._active = True
|
||||||
|
|
||||||
active = property(is_active)
|
active = property(is_active)
|
||||||
|
|
||||||
|
2
setup.py
2
setup.py
@ -7,7 +7,7 @@ with open('README.md') as f:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="cellular_automaton",
|
name="cellular_automaton",
|
||||||
version="1.0.6",
|
version="1.0.7",
|
||||||
author="Richard Feistenauer",
|
author="Richard Feistenauer",
|
||||||
author_email="r.feistenauer@web.de",
|
author_email="r.feistenauer@web.de",
|
||||||
packages=find_packages(exclude=('tests', 'docs', 'examples')),
|
packages=find_packages(exclude=('tests', 'docs', 'examples')),
|
||||||
|
Loading…
Reference in New Issue
Block a user