Skip to content
  • Haocheng LIU's avatar
    Query an entity's color status before fetching its color · c0bb9d73
    Haocheng LIU authored
    In C++ if a key is not in the map, calling [] operator on it will create
    a dummy entry. This will prevent other code to query the correct status
    of the entity's color. By adding the right check code, an empty color property
    will no longer be to the resource.
    c0bb9d73