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
from PySide2 import QtCore, QtWidgets, QtGui | |
from pxr import Usd, Tf, Sdf | |
# See: https://github.com/PixarAnimationStudios/OpenUSD/blob/release/pxr/usd/sdf/fileIO_Common.cpp#L879-L892 | |
SPECIFIER_LABEL = { | |
Sdf.SpecifierDef: "def", | |
Sdf.SpecifierOver: "over", | |
Sdf.SpecifierClass: "abstract" | |
} |
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
""" | |
MIT License | |
Copyright (c) 2019 Roy Nieterau | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
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
/* | |
Twitch chat browsersource CSS for OBS | |
Original by twitch.tv/starvingpoet modified by github.com/Bluscream | |
Just set the URL as either one of | |
- https://www.twitch.tv/%%TWITCHCHANNEL%%/chat?popout=true | |
- https://www.twitch.tv/popout/%%TWITCHCHANNEL%%/chat | |
- https://www.twitch.tv/embed/%%TWITCHCHANNEL%%/chat?parent=localhost | |
And paste this entire file into the CSS box or paste direct import css like |
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
// | |
// Author: Jonathan Blow | |
// Version: 1 | |
// Date: 31 August, 2018 | |
// | |
// This code is released under the MIT license, which you can find at | |
// | |
// https://opensource.org/licenses/MIT | |
// | |
// |
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
MFnDagNode fnDagNode(m_dagPath); | |
// Apply the render overrides | |
static const MString sApplyRenderOverrideCmd = "xgmSplineApplyRenderOverride "; | |
MGlobal::executeCommand(sApplyRenderOverrideCmd + fnDagNode.partialPathName()); | |
// Stream out the spline data | |
std::string data; | |
MPlug outPlug = fnDagNode.findPlug("outRenderData"); | |
MObject outObj = outPlug.asMObject(); |
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
#pragma once | |
#include <vector> | |
#include <entityx/Entity.h> | |
#include <entityx/System.h> | |
namespace entityx { | |
struct Notification : public Component<Notification> { | |
EntityManager::ComponentMask components_added, components_removed; |