FeRD (Frank Dana)
9d79b394c4
Make remaining print functions testable
2021-06-11 06:10:12 -04:00
FeRD (Frank Dana)
c04ce9dbe8
EffectBase: Fix JSON signatures
2021-06-04 20:07:19 -04:00
Brenno
5f853a3430
Fixed attaching a clip to Tracker and ObjectDetection
...
Some problems still persists
- Saved projects are not loading properly
- There is an aspect ratio issue when attaching an emoji to the ObjectDetection
2021-04-18 19:28:28 -03:00
Brenno
2cf2c55f9b
Changed None to empty string, corrected dynamic pointers
2021-04-12 21:32:27 -03:00
Brenno
1e32ef8d20
Fixed ObjectDetection crash (disabled effect parenting)
2021-04-08 21:32:39 -03:00
Brenno
67895f7c23
Added support to set an effect's properties by it's parent effect
2021-02-04 16:11:27 -03:00
Brenno
c0c2a82336
Merge branch 'develop' into keyframe-refactor
2021-02-01 14:22:41 -03:00
Brenno
a94f09d105
ObjectDetection: updated object selection and transform handler
...
Removed the necessity to append the detected object index (related to the frame) to the effect JSON - which makes the JSON smaller and the performance better.
2021-01-27 17:18:23 -03:00
FeRD (Frank Dana)
2f3615f706
Move Exceptions.h includes to .cpp files
2021-01-26 10:52:04 -05:00
Brenno
17463313fc
Clip.cpp: Removed hard-coded Tracker effect check in AddEffect function
...
Added "has_tracked_object" property on EffectBase so that the AddEffect function checks for this property instead of the Tracker effect name - this way it's possible to support other effects that have tracked objects but different names.
2021-01-22 19:00:44 -03:00
FeRD (Frank Dana)
a1e44edad4
Merge branch 'develop' into clip-refactor-keyframes
2020-10-19 16:28:49 -04:00
Jonathan Thomas
8d36b12754
Initialize parent clip variable
2020-10-19 16:05:01 -04:00
Jonathan Thomas
8387b124ad
Large refactor of Timeline, TimelineBase, ClipBase, and Clip, to allow a Clip access to the parent timeline instance (if available), and thus, certain properties (preview size, timeline FPS, etc...). This allows for a simpler rendering of Clip keyframes (during the Clip::GetFrame method), and a simpler Timeline class, that can change the preview window size dynamically and no longer requires a Singleton Settings class.
...
- Also removed "crop" from Clip class, as it was never implmeneted correctly, and we have a fully functional "crop" effect when needed
- Added caching to Clip class, to optimize previewing of cached frames (much faster than previous)
2020-10-19 16:05:01 -04:00
FeRD (Frank Dana)
aa40ea29e0
Update include paths in all source/header files
2020-10-18 07:43:37 -04:00
Frank Dana
8ea7449363
Merge branch 'develop' into json-parsing
2020-01-20 15:25:40 -05:00
FeRD (Frank Dana)
22bf6edfba
Enhance Json data handling
...
- Parsing from string to Json::Value is now done by utility function
openshot::stringToJson() in Json.cpp, all SetJson() methods call it.
- Expand use of const member functions and args where appropriate.
- Use std::to_string() to format int/float values as strings.
- Correct mentions of nonexistent Json::JsonValue type in docstrings
2019-12-27 08:51:51 -05:00
FeRD (Frank Dana)
c11b4ac266
EffectBase: Remove unused short_name
2019-12-19 07:59:30 -05:00
Frank Dana
8bde07682c
Merge branch 'develop' into std-prefixes
2019-10-22 21:00:27 -04:00
FeRD (Frank Dana)
366ff2c5e6
src: Don't pass "" file_path args to exceptions
2019-08-27 15:47:39 -04:00
FeRD (Frank Dana)
05a53784cb
Merge branch 'develop' into std-prefixes
2019-08-17 16:07:24 -04:00
FeRD (Frank Dana)
5b4bfa8e41
Remove mentions of nonexistent InitFileInfo()
2019-08-12 12:00:18 -04:00
FeRD (Frank Dana)
44076854ad
(Reader,Writer,Effect)Base.cpp: std:: prefixes
2019-08-04 23:25:05 -04:00
FeRD (Frank Dana)
38e82e7a9d
EffectBase/EffectInfo: std:: prefixes
2019-08-04 23:04:19 -04:00
Jonathan Thomas
5f331e24df
Merge pull request #265 from ferdnyc/catch-by-reference
...
Exceptions: catch-by-reference and other cleanup
2019-07-29 16:27:40 -05:00
FeRD (Frank Dana)
35eb6adc55
Clean up allocated memory in JSON code
2019-07-11 05:00:47 -04:00