MCPcopy Create free account
hub / github.com/Tencent/libpag / GetLayerEditable

Function GetLayerEditable

exporter/src/export/Marker.cpp:398–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398bool GetLayerEditable(const AEGP_ItemH& itemHandle, pag::ID id) {
399 bool isEditable = true;
400 std::string keyString = GetKeyStringWithId("noReplace", id);
401 auto value = FindMarkerFromComposition(itemHandle, keyString);
402 if (value.has_value()) {
403 isEditable = false;
404 }
405 return isEditable;
406}
407
408std::string GetCompositionStoragePath(const AEGP_ItemH& itemHandle) {
409 std::string storagePath = "";

Callers 1

refreshDataMethod · 0.85

Calls 2

GetKeyStringWithIdFunction · 0.85

Tested by

no test coverage detected