Commit graph

9 commits

Author SHA1 Message Date
Hugues Devimeux
fc6159b45d
Refactored play logic (#1019)
* refactored play logic

* fixed tests (and minor improvement)

* moved time progression generation

* fixed typo :/

* added tests

* fixed tests

* fixed imports

* fixed tests

* black

* fixed tests in  python 3.7

* fixed tests for python 3.7

* Update manim/renderer/cairo_renderer.py

* removed is_cached variable

* updated webgl renderer and removed redondent code

* Update manim/scene/scene.py

* Add self.duration back into compile_animation_data

* Fixed openGL ?

* black

* fixed merge conflict by adding fixture marker

* Called begin_animation to fix OpenGL

* Fixed original_skippingstatu sname for opengl renderer

* Update manim/utils/caching.py

Co-authored-by: Devin Neal <devin@eulertour.com>

Co-authored-by: Hugues Devimeux <hugues.devimeux@gmail.com>
Co-authored-by: Jason G. Villanueva <a@jsonvillanueva.com>
Co-authored-by: Devin Neal <devin@eulertour.com>
2021-03-23 09:58:49 +01:00
Leo Torres
d0e04f8cc6
Document config system (#659)
* rename config subpkg to _config for the time being
* Revamp documentation for configuration system modules and classes.  Revamp tutorial.  Update changelog
* use as_posix so that doctests will pass on Windows
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: kolibril13 <44469195+kolibril13@users.noreply.github.com>
2020-11-06 21:56:12 -05:00
leotrs
12e1e528eb merge master 2020-10-26 17:46:00 -04:00
leotrs
6e0ba47a1e change every mention of file_writer_config to config. Also some tweaks to ManimConfig 2020-10-14 22:08:00 -04:00
leotrs
439e1fb4a6 Merge branch 'master' into refactor-config-subpkg 2020-10-13 16:22:13 -04:00
leotrs
504ac73859 refactor config system so that all the global variables are defined in manim/config/__init__.py. All other files inside manim/config/ just contain utils that are used by either manim/config/__init__.py or directly by manim/__main__.py 2020-10-13 16:21:35 -04:00
Hugues Devimeux
dde22286a5
FIX : 472 / Small refactor of partial-movie-files handling (#489)
* fix #460 by enabling skipping wait statements.

* added tests

* refactored partialmovie files handling

* improved berobosity of hashing

* fixed tests

* fixed black

* fixed file name

* change format to f string

* fixed comment

* fixed comment

* Update manim/scene/scene.py

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>

* fix test output (caused by 3fff83e8)

Co-authored-by: Hugues Devimeux <hugues.devimeux@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2020-10-09 16:55:49 +02:00
charlie4fun
9b61e3d0b7 Fix #453: log files naming, when scene is not specified, is fixed 2020-10-07 08:25:37 +02:00
Hugues Devimeux
50c504f094
Refactored logs and added log-to-json feature (removed the old log-to-file feature), added logging test utils. (#403)
* refactored logging, and logging to file feature.

* cleaned up old tests

* Update tests/test_logging/test_logging.py

Co-authored-by: Hugues Devimeux <hugues.devimeux@gmail.com>
Co-authored-by: Pg Biel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Leo Torres <dleonardotn@gmail.com>
2020-09-12 15:45:27 -04:00