-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5066 from blackwarthog/feature08g_assistants_sqash
Assistants for Toonz Vector brushes
- Loading branch information
Showing
36 changed files
with
1,523 additions
and
1,446 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#pragma once | ||
|
||
#ifndef MODIFIERSIMPLIFY_INCLUDED | ||
#define MODIFIERSIMPLIFY_INCLUDED | ||
|
||
// TnzTools includes | ||
#include <tools/inputmanager.h> | ||
|
||
|
||
#undef DVAPI | ||
#undef DVVAR | ||
#ifdef TNZTOOLS_EXPORTS | ||
#define DVAPI DV_EXPORT_API | ||
#define DVVAR DV_EXPORT_VAR | ||
#else | ||
#define DVAPI DV_IMPORT_API | ||
#define DVVAR DV_IMPORT_VAR | ||
#endif | ||
|
||
|
||
//=================================================================== | ||
|
||
//***************************************************************************************** | ||
// TModifierSimplify definition | ||
//***************************************************************************************** | ||
|
||
class DVAPI TModifierSimplify: public TInputModifier { | ||
public: | ||
typedef TSubTrackHandler Handler; | ||
typedef TTrackIntrOrig Interpolator; | ||
|
||
double step; | ||
|
||
explicit TModifierSimplify(double step = 1.0); | ||
|
||
void modifyTrack( | ||
const TTrack &track, | ||
TTrackList &outTracks ) override; | ||
}; | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.