What does this log error mean?

WillowRavenWillowRaven Posts: 3,787
edited October 2020 in The Commons

Trying to apply a material to a new pair of dforce pants I just bought and am getting this error message: 

2020-10-24 11:36:50.897 Invalid hierarchy for selected node(s) and "preset_hierarchical_material" type; no root(s) found.

Post edited by Chohole on

Comments

  • GordigGordig Posts: 10,191

    What do you have selected when you try to apply the preset?

  • fixmypcmikefixmypcmike Posts: 19,613

    It sounds like those are Hierarchical Materials -- you select the figure and it applies to all the clothing on the figure.

  • WillowRavenWillowRaven Posts: 3,787

    I don't know what that means. The pants are selected and I'm trying to apply the materials for the pants. Same way I've been doing it since daz 3.0.

  • GordigGordig Posts: 10,191
    edited October 2020

    Select the figure that's wearing the pants instead. This still may not work if the figure wearing the pants isn't the figure intended (for example, if they're G8 pants and you've got them on a G3 or G2). This is the peril of hierarchical presets, and it's odd that pants would include them. 

    Post edited by Gordig on
  • barbultbarbult Posts: 24,871
    edited October 2020

    Do you have the pants fit to the figure they were designed for? Hierarchical Materials don't work on autofit clothing. For example, if you autofit a G3F garment to a G8F, the hierarchical materials for the garment won't work on the autofit garment. They also won't work on garments that are in the scene but not "fit to" the appropriate character. 

    Fixmypcmike is telling you to select the character, not the pants, and apply the hierarchical materials while the character is selected. That is how hierarchical materials work. They apply to a hierarchy, i.e. from the character on down to all the clothing in the outfit at once.

    Post edited by barbult on
  • WillowRavenWillowRaven Posts: 3,787

    Oh. OK. Thanks. I guess they had to make it complicated for no apparent reason, lol.

  • fixmypcmikefixmypcmike Posts: 19,613

    Oh. OK. Thanks. I guess they had to make it complicated for no apparent reason, lol.

    The reason is so that you can apply one preset and it applies to an entire outfit at once, instead of having to select each part of the outfit and apply a separate preset for each one.

  • It doesn't matter what you have selected or what the items are fitted to, as long as the ultimate parent is the right figure and the target item(s) are parented to the correct node (the hierarchy of items, in other words).

    As well as providing presets for complete outfits, Hierarchical Materials presets are also used in the items - most dForce sets and some others - where soem parts, such as buttons, are handled as Rigid Follow Nodes instead of being part of the clothing model.

Sign In or Register to comment.