MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / HandleTransformationOccurred

Method HandleTransformationOccurred

Source/Objects/object.cpp:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void Object::HandleTransformationOccurred() {
81 Online *online = Online::Instance();
82 if (online->IsActive()) {
83 online->Send<OnlineMessages::EditorTransformChange>(GetID(), translation_, scale_, rotation_);
84 }
85}
86
87const MaterialEvent &Object::GetMaterialEvent(const std::string &the_event, const vec3 &event_pos, int *tri) {
88 // MaterialRef ref = Materials::Instance()->ReturnRef("Data/Materials/default.xml");

Callers 3

EndTransformationFunction · 0.80
UpdateTransformToolMethod · 0.80

Calls 1

IsActiveMethod · 0.45

Tested by

no test coverage detected