rojo-rbx / rojo

Rojo enables Roblox developers to use professional-grade software engineering tools
https://rojo.space
Mozilla Public License 2.0
908 stars 172 forks source link

Rojo plugin fails to sync model pivots if model does not have a PrimaryPart #866

Closed kennethloeffler closed 4 months ago

kennethloeffler commented 4 months ago

Rojo currently fails to sync model pivots if the models don't have PrimaryParts. To reproduce, download the following project and follow the steps below: model-pivots.zip

  1. Run rojo serve on the provided project.
  2. Insert the model file in the provided project into Roblox Studio manually.
  3. Connect the Roblox Studio plugin.
  4. Observe that the synced model's transform and pivot properties do not match those of the manually inserted model:

This is caused by an upstream issue in rbx-dom (rojo-rbx/rbx-dom#391), so we'll need to address it over there, then bring the changes over to Rojo. I don't think we'll need to make any actual new releases for the reflection DB for this since it's just an rbx_dom_lua issue