blob: b7b8790b99724d6e35befc41534e4a42e02b9f02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#ifndef shaveStyleCmd_h
#define shaveStyleCmd_h
// Shave and a Haircut
// (c) 2019 Epic Games
// US Patent 6720962
#include <maya/MArgList.h>
#include <maya/MPxCommand.h>
#include <maya/MSyntax.h>
#include <maya/MString.h>
class shaveStyleCmd : public MPxCommand
{
public:
shaveStyleCmd();
virtual ~shaveStyleCmd();
static void* createCmd();
static MSyntax createSyntax();
MStatus doIt( const MArgList& args );
bool isUndoable() const { return false; }
static const MString commandName;
#ifdef GLOBAL_FALLBACK
static bool redrawOnIdlDone;
#endif
private:
void invertSelection();
#ifdef GLOBAL_FALLBACK
void redrawOnIdle(bool fullUpdate);
unsigned int getTotalHaircount();
unsigned int getTotalDisplayMem();
#endif
};
#endif
|