Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25710] Nodegroup created by scripts, do not render well

Date:
2011-01-18 22:00
Priority:
3
State:
Closed
Submitted by:
Fabio Russo (ruesp83)
Assigned to:
Lukas Toenne (lukastoenne)
Category:
Node Editor
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Nodegroup created by scripts, do not render well
Detailed description
Hi,
the procedure to verify the bug is:
1)Open Blender
2)Paste the following script in your text editor and press "Run Script"
http://www.pasteall.org/18394/python
3)Go to the node editor and connect the nodes in this mode
http://www.pasteall.org/pic/8150
4)Press F12 and wait for the result of rendering
5)The render is black or dark, but not with the effect of vignetting

The file system-info.txt is attached with the blend

Followup

Message
  • Date: 2011-01-19 11:46
  • Sender: Lukas Toenne
  • This is a problem with the input values of group node sockets vs. internal node sockets:
    * The values of a group instance are copied from the socket definition of the group tree
    * The socket definition is created whenever the group type is updated, which happens when
    a) a group is first created
    b) a node is added to the group
    c) a link is removed, thereby exposing the target socket
    * Changing the input values of an internal node does NOT update the socket definition of the group and does NOT update the socket of this group's instances either.
    Updating the group tree type (ntree->owntype) would at least update the group socket definitions, so any instance of the group created *after* changing internal inputs would use the correct values by default.
    Updating the values of the *existing* group node instances when the group defaults change is not desirable in any case, because it would overwrite any existing values carefully adjusted by the user.
  • Date: 2011-02-22 21:54
  • Sender: Lukas Toenne
  • Fixed by the new groups patch: group sockets are now independent from any internal sockets linked to them. Default values for group inputs can be changed in the group socket column.
 

Attached Files:

Name Date Download
system-info.txt 2011-01-18 22:00 Download
test.blend 2011-01-18 22:00 Download

Changes:

Field Old Value Date By
status_idOpen2011-02-22 21:54lukastoenne
close_dateNone2011-02-22 21:54lukastoenne
StatusNew2011-02-22 21:54lukastoenne
assigned_tonone2011-01-19 14:39lukastoenne
File Added14628: test.blend2011-01-18 22:00ruesp83
File Added14629: system-info.txt2011-01-18 22:00ruesp83