Preventing Editor.sh and NinjaSnowWar.sh from being create

Hello

  1. What’s the highest and lowest a node ID and component ID can be? (solved)
  2. How in the style .xml you get the background of a window to show up in the stylesheet?
  3. Is PBR available yet in some form? (PBRCoreData, Trying.)
    4. How do you prevent Editor.sh and NinjaSnowWar.sh from being created?

Vivienne

[quote=“vivienneanthony”]
3. Is PBR available yet in some form?
Vivienne[/quote]

Try this:
github.com/souxiaosou/UrhoPBRCoreData

[quote=“rasteron”][quote=“vivienneanthony”]
3. Is PBR available yet in some form?
Vivienne[/quote]

Try this:
github.com/souxiaosou/UrhoPBRCoreData[/quote]

I’ll check it out. Thanks.

Hello

Is the component Id valid?

pastebin.com/PN7NV6NC

For Example

<component type="TransformComponent" id="-1630470170" /> <component type="StaticModelComponent" id="-224212233" />

If I read Urho code right. It’s not?

Vivienne

[quote=“vivienneanthony”]Hello

Is the component Id valid?

If I read Urho code right. It’s not?

Vivienne[/quote]
Hello Viv,
I think you’re right and those IDs should be unsigned.

[quote=“carnalis”][quote=“vivienneanthony”]Hello

Is the component Id valid?

If I read Urho code right. It’s not?

Vivienne[/quote]
Hello Viv,
I think you’re right and those IDs should be unsigned.[/quote]

I created this issue on Github.

github.com/urho3d/Urho3D/issues/1150

I tested my editor adding 146 nodes with 3 components afterward saving and reloading. It was fixed.

Considering that a ID is a unsigned integer both the SaveJSON and SaveXML should be using SetUInt not SetInt

Hello

How do I prevent from these two files being generated?

Vivienne

57 Jan 13 23:27 Editor.sh -> /media/home2/vivienne/Urho3D-Hangars-MyFork/bin/Editor.sh 63 Jan 13 23:27 NinjaSnowWar.sh -> /media/home2/vivienne/Urho3D-Hangars-MyFork/bin/NinjaSnowWar.sh

The question is why? But wait, actually I don’t want to know. If it is within your own project then you can customize the original build system to your heart’s content :wink: But I have a feeling you are not using it as intended and I guess you have used Urho3D project as the “carrier” for your own project source code. Anyway, these two symlinks are installed when Urho3DPlayer is built and currently there is no way to tell the build system not to build Urho3DPlayer target, unless you modify the Source/Tools/CMakeLists.txt directly to comment it out. Forgive me if my guess is wrong.

BTW, since Urho is an open source project, next time you can just search for it yourself to answer your last question. Finders, keepers.