Commit Graph

47594 Commits

Author SHA1 Message Date
dae503187c == PyNodes ==
Ongoing updates to the Blender.Node Python API:

- Changed Blender.Node.node to Blender.Node.Scripted to be more specific and conform to bpython API.
- Added a Blender.Node.Socket type to be used to define node sockets in a PyNode script. Also, socket type is inferred from the value(s) passed in, instead of also being defined by the script author.
- Added attr access to input and output sockets in the __call__ method. Ex: an input socket called 'color' can be accessed as self.input.color now.

These changes break existing pynode scripts, which shouldn't be a problem yet, of course, since we're still finishing this feature for 2.46. The wiki page and sample .blends have already been updated:

http://wiki.blender.org/index.php/BlenderDev/PyNodes
http://wiki.blender.org/index.php/BlenderDev/PyNodes/API
2008-03-16 17:24:29 +00:00
6a2e538d98 == Align ==
Use pupmenu menu to select align orientation. Faster workflow than always having to change the current transform orientation beforehand.
2008-03-16 16:00:00 +00:00
26daad49a3 [8559] Python script that uses FIleSelector and has an error in it segfaults Blender
Want completely fixed, check if the script was removed before running the callback.
2008-03-16 14:28:00 +00:00
bead422c1f Bugfix #8581
Edit mode stats draw, option "global stats", did not calculate correct
angles.
2008-03-16 12:42:54 +00:00
5fd2e74eff Bugfix #8361
Menu with group names, object buttons, didn't support large amounts yet.
Now it switches to collumn view.
2008-03-16 11:36:43 +00:00
92464ed680 Bugfix #8526
Sometimes a panel could not be moved, this caused by fact that its
parent was sometimes not visible. Old bug actually. :)

There's a lot of editbutton panels btw... so there it happened.
2008-03-16 11:09:34 +00:00
87c54fb784 Constraints PyAPI:
Added support for Limit Distance constraint
2008-03-16 10:26:13 +00:00
bf4e4234ae fixes for bugs #8496 & #8497
large sources defines cannot be used on darwin 
and windows
2008-03-16 08:08:28 +00:00
eab07f7322 Constraints Py-Api:
Fixed up Py-API access to PyConstraints. Also updated docs to reflect these changes.
2008-03-16 06:28:40 +00:00
e3d0508882 == Proxies + Bone Groups ==
Bone Groups are now always copied from the source armature. This does mean that it isn't possible to have 'local' bone groups as for constraints, but it is better than losing bone groups from the original.
2008-03-16 03:51:00 +00:00
f50eb9c0c9 Todo #8511: Lock Transform Channels does not work with Clear Transforms
When transform channels (i.e. LocX, RotY, ScaleZ) are 'locked' in the Transform Properties panel, the Clear Transform Tools (Alt-G/R/S) didn't respect these.

Also fixed typo in 3D-View Menu item.
2008-03-16 03:11:57 +00:00
a4283a139a == Action Editor - Fixed 2 Long-Standing Annoyances ==
This commit fixes two long-standing annoyances which were confusing to new users and also posed workflow bottlenecks:

* A 'Fake-User' button is now displayed beside the delete button. This makes it clear to the user that actions have a fake user (by default), and provides quicker access to them when 'deleting'.
** Related to this, I've adjusted the tooltips for the fake-user button when there is a fake user, to clear up any ambiguity over the purpose of the button.

* When an object has an Ob-IPO (i.e. keyframing object transforms), it is now possible to simply use the 'Add New' entry in the Action Editor to make a new action for the object, with the IPO assigned to a new Action. This removes the need to open an IPO-window just to do that.
2008-03-16 01:31:14 +00:00
500554bca2 Bugfix in kdop - one leaf possible missing 2008-03-15 22:55:49 +00:00
bc7aeb7062 Bugfix: radiosity was slower due to return lost in code refactor. 2008-03-15 20:59:26 +00:00
b194059b7f BGE fix: ghost objects created with AddObject actuator will retain their ghost property 2008-03-15 20:52:03 +00:00
a5d31fc28e fix for [#8559] Python script that uses FIleSelector and has an error in it segfaults Blender 2008-03-15 18:53:42 +00:00
02295c491f forgot to free memory for python api mesh.getTangents() 2008-03-15 17:19:53 +00:00
435a49dfe7 New rayCastTo() python method for KX_GameObject:
rayCastTo(other,dist,prop)

Look towards another point/KX_GameObject and return first object hit within dist with a property that match prop, None if no object found or if it does not match prop.

Parameters:
  other = 3-tuple (xyz coordinates) or object reference (target=center of object)
          (type = list [x,y,z] or object reference)
  dist = max distance of detection (can be negative => look behind)
         If 0 or omitted => detect up to other
	 (type=float)
  prop = property name that object must have
         If empty or omitted => detect any object
         (type=string)
2008-03-15 17:08:58 +00:00
d0b36bfeaa fix bug with unitialized variable (thanks VS) 2008-03-15 16:51:58 +00:00
f70d9ceed0 fix bug in walking through script linked list (thanks VS) 2008-03-15 16:49:22 +00:00
2004e08964 Fix for bug #8565: bug rendering tangent space normal map on
solid faces, caused by recent commit to solve spikes problem.
2008-03-15 16:29:49 +00:00
Stephen Swaney
bb48a75c37 compiler warning cleanup 2008-03-15 14:41:47 +00:00
4f553a59f7 Added a WITH_BF_OPENMP option
to add in proper flags for openmp support.

Kent
2008-03-14 20:11:43 +00:00
8e126216b0 added mesh.getTangents() to the python api 2008-03-14 18:53:51 +00:00
7f556ba4ef Fix for bug #8467: a softbody hair crash. 2008-03-14 18:21:06 +00:00
56d7a612e3 fixed a possible use of uninitialized orco coords if the mesh has more totverts then keyblock elements. 2008-03-14 18:16:54 +00:00
fcdf2d694f Fix for bug #8555: geometry node front/bake was broken.
Fix for bug #7418: texture ipo's didn't show for textures in node materials.
Fix for part of bug #6758: node materials in other node materials could
miss texture coordinates.
2008-03-14 18:08:27 +00:00
a8e8993355 Fix for linking error when building with blenderplayer. 2008-03-14 14:15:37 +00:00
3f9f89fc18 Bugfix: baking selected to active did not include materials with
Traceable disabled.
2008-03-14 10:56:09 +00:00
8787ad14a2 update to trunk r14104
blenderbuttons is good
and it compiles
2008-03-14 09:59:44 +00:00
3bec4f5f87 my last commit to readfile.c crashes some files, must look further into this. 2008-03-14 09:46:53 +00:00
Stephen Swaney
ea460298bb cleanup some warnings about signed vs unsigned comparison 2008-03-14 01:08:23 +00:00
93f8961cdb Bugfix for cloth vectorblur (back to normal) 2008-03-14 01:07:09 +00:00
a68a7f42b0 resolved conflict state with HEAD r14096
blenderbuttons still bad

not let this compile
2008-03-13 23:54:02 +00:00
df27557b81 Cloth header cleanup, bugfix (again) in wind calculation, bugfix for not working fields mindist GUI option 2008-03-13 22:45:36 +00:00
2c78254f96 line commented out with the orange merge is needed for library linking when linking in objects that indirectly point to groups that are already directly linked in. This has been a problem for many peach scenes. but saving and reloading made the objects appear. 2008-03-13 21:41:28 +00:00
6e24c23176 Fix for bug #5641: edge slide doesn't work straight after remove
doubles. Also fixed some 64bit warnings in this file.
2008-03-13 21:14:11 +00:00
15215493bf Two bugfixes:
- Clicking below the list of items in the shift+f4 databrowser could crash.
- Text window crashed when making it zero size.
2008-03-13 19:40:36 +00:00
ecc4ccf68f Fix compiling error.
Typo in text.c
2008-03-13 18:47:55 +00:00
174c09c718 Fix for bug #8421: curve shape keys were resetting the curve radius to 0.0. 2008-03-13 18:36:33 +00:00
217db14ae7 Fix for bug #8548: txt_copy_sel in txt_cut_sel only copied string in a local buffer.
Changed txt_cut_sel to use the clipboard.
2008-03-13 17:30:29 +00:00
abc79af975 Fix for bug #8437: white borders in envmap reflection, cause was
change in imagewraposa that de-premuls colors, while envmap code
was expecting premultiplied colors.
2008-03-13 15:55:35 +00:00
526d0bec47 final (??) work on NDOF branch
it is now in a state where it can be safely
merged with trunk.

Note: basic icons were provided but I'm not
an icondesigner and working in a 16x15 grid
is way too small for me, so feel free to 
change them.
2008-03-13 15:40:24 +00:00
b3dab57232 Patch #8488: UserPref to switch between pan/paste on MMB in text editor. 2008-03-13 15:12:19 +00:00
4d3c9e88ed Fixing compiler wanring 2008-03-13 14:38:29 +00:00
89247a96e9 Fix for bake texture antialiasing commit, AO with constant jitter
didn't work. Also fixed a warning.
2008-03-13 14:36:17 +00:00
6ca3b4a441 Fix for use of uninitialized value in active edge drawing. 2008-03-13 12:38:00 +00:00
733f65cb53 Fix for bug #8387: active uv layer index could become invalid in editmode. 2008-03-13 11:42:32 +00:00
e625266162 Fix for bug #8385: vector inputs of texture node in the compositor did
not work correct, it should use bNodeStack inputs like other nodes.
2008-03-13 11:26:18 +00:00
363dcf9535 Fix for bug #8476: changing lamp buttons or new W-key lamp editing
didn't update shaded mode, and W-key didn't update lamp preview render.
2008-03-13 10:58:36 +00:00