Commit Graph

9673 Commits

Author SHA1 Message Date
Ton Roosendaal
e968f6ec4b Uninitialized variable fix. Might fix bug #6431, error in rendering of
irregular shadowbuffers.

Found by valgrind session, provided by Mathias 'Lynx3d' Wein
2007-03-26 19:44:21 +00:00
Andrea Weikert
4de22c2374 ==== MSVC 7.1 projectfiles ====
maintenance work:
- internally renamed nodes lib to BL_nodes to follow naming of other libs, renaming of
  actual projectfile will follow after move to svn.
- added missing include dirs for new BL_nodes lib
- removed hardcoded include dir in nodes lib
- changed nodes lib to not 'compile as C++', but as default, so .c as C, .cpp as C++
- still found PHY_Ode dependency in ActiveX plugin which I removed
summary:
All should compile fine again now, let me know of any problems.
2007-03-26 18:34:25 +00:00
Martin Poirier
c78947d2d1 === Export UV Layout ===
[ #6450 ] Save UV Layout: Overflow Error

This error was caused by excentric UV faces being exported (I'm talking things like 3443870976 as UV coord, in a range of 0..1).

Edges with extreme coordinates are now ignored (for TGA only, they are exported to SVG) and a warning is printed (at most once) to the console.

I chose to still export them to SVG because they don't affect the running time of the script while exporting them to TGA is just insanely long.
2007-03-26 15:55:23 +00:00
Ton Roosendaal
5c760e4811 Changed node type definitions to use a dynamic list.
This will allow python or plugin defined nodes to work as well.
(And fixes compile issues with MSVC in yesterdays commit for nodes)

Code provided by Nathan L.
Fixes in his code:
- free_nodesystem() was called too late (after guarded alloc was closed)
- free_nodesystem() was freeing nodes that were not malloced even
- free_nodesystem was using free, not freeN :)
- the typedefs needed to be malloced yes, to allow duplicate nodes like
  group but also for dynamic nodes.
2007-03-26 15:07:38 +00:00
Ton Roosendaal
d1315a342d Bugfix: function new_id() was allowed to be called with NULL.
Caused by Ken Hughes commit of 5 days ago

Note; dup_id() will go away, is not according to Blender spec.
2007-03-26 13:02:43 +00:00
Campbell Barton
31673f0a8c removed commenst from space.c
removed .load() from bpy.*dataseq* - Use .new(filename='') instead as discussed at the meeting.
2007-03-26 11:24:52 +00:00
Campbell Barton
59f0b2fb43 Matthew Chadwick's update to the mesh unfolder, minor tidyups and stopped an error when brightness setting was used with no vertex colors.
made some very minor edits myself.
2007-03-26 08:54:03 +00:00
Campbell Barton
056ff5e314 corrected text for mesh.rename*Layer and added note for mesh.active*Layer 2007-03-26 08:33:31 +00:00
Campbell Barton
48d6c9f3ce check curarea isnt NULL, blender would crash switching scenes in the outliner while fullscreen, then going into un-fullscree view. 2007-03-26 03:36:46 +00:00
Charlie Carley
7fd8ba99bb Applied patch #5247 by scabootssca. This adds an instant replace mesh feature. 2007-03-26 03:35:01 +00:00
Campbell Barton
c97be098f7 Python API
made all libdata hashable - use the object type,name and lib for the hash.
added .tag to libdata so we can test if data's been processed without using dictionaries
added libdataseq.tag (write only) setting the tag flag (which can always be dirty)
2007-03-26 02:10:24 +00:00
Chris Want
aba5557028 Need nodes libs before imbuf lib when linking blenderplayer 2007-03-26 00:22:37 +00:00
Chris Want
f9c234b2b4 Find missing node includes. 2007-03-26 00:11:45 +00:00
Robert Holcomb
c1e9018118 All UI code reverted to drawnode.c 2007-03-25 23:54:39 +00:00
Chris Want
8d4f2f9fe1 Compiles and links for the blender executable. Somebody else can
deal with stubs/linking for blenderplayer (I wish people would plan
these 'libraries' better).
2007-03-25 20:17:32 +00:00
Chris Want
96073e5c3d Makefiles for nodes. Compiles but doesn't link, but I'm late for noodles.
To do: either tweak link order, or check functions declared as static.
2007-03-25 16:47:31 +00:00
Ton Roosendaal
0eff40f01f Reverting my fix for nodes. This is a bigger task... now scons should work
again.

Robert promised to work on fixes for makefile today!
2007-03-25 16:05:46 +00:00
Ton Roosendaal
e5455fa1f3 Fixing Makefiles for new nodes module, part 1:
- removed all UI .h include stuff! (Not allowed outside of src/)
- Makefile had typo error, compilation failed

Now it survives make, but it does not enter the two the subdirectories for
shader and compo nodes. So a linking gives unrecovered stuff in the end.
How does that work? I need help!
2007-03-25 13:54:07 +00:00
Ton Roosendaal
ac2ff8f97c Running Blender in debug mode now prints the subversion of .blend files. 2007-03-25 13:50:51 +00:00
Campbell Barton
a9d69b332e had 1 char missing 2007-03-25 12:15:06 +00:00
Ton Roosendaal
04b20827ce Removed tablet sensitivity for number sliding
Tablet code has design issues, report goes to the bf-committers list.
2007-03-25 11:34:22 +00:00
Campbell Barton
5b860cb1e6 added options to this script to
* lightmaps for all selected objects
* add new blank images
* use 1 image for all mesh objects
and some other less important ones.
2007-03-25 10:27:37 +00:00
Peter Schlaile
a9e76993ae == Sequencer ==
Bugfix: forgot to reset effectdata on speed effect duplicate (thereby
sharing temporary data across effect strips leading to segfaults on the
road...)
2007-03-25 09:03:24 +00:00
Robert Holcomb
25c673ef42 updated for nodes 2007-03-24 21:09:55 +00:00
Robert Holcomb
066ac348e9 updated for nodes system 2007-03-24 21:06:23 +00:00
Martin Poirier
600c62a32d === Transform Snap ===
Inter-mesh snap optimization and fixes.

For larger meshes, tests are made against the bounding box first to speed things up (suggested by Brecht).

Also, verts are accessed through mesh_get_mapped_verts_nors() it can snapped to deformed vertices (only the deformed originals, not new verts for now).
2007-03-24 20:57:15 +00:00
Robert Holcomb
d6411c206d newline at end of file 2007-03-24 19:13:02 +00:00
Robert Holcomb
0e939e61bf Reverted to previous version 2007-03-24 19:07:18 +00:00
Robert Holcomb
cdd8475835 These gots to go. 2007-03-24 18:48:56 +00:00
Robert Holcomb
40a47e29e4 Has the nodes in it. I'm not a windows guru, so please review. 2007-03-24 18:42:38 +00:00
Robert Holcomb
808a5fc05a Scons build system. MSVC 7.1 in a moment. 2007-03-24 18:41:54 +00:00
Martin Poirier
d193ce012a Followup to Bugfix #6435 by Ton.
Added sensible way in calculateTransformCenter to report an error (including empty selection).
2007-03-24 13:38:50 +00:00
Ton Roosendaal
f712172ac3 Bugfix #6433
Armature bones did not draw name in window corner anymore. Caused by patch
for drawing shape key names...
2007-03-24 12:44:55 +00:00
Ton Roosendaal
796c87e869 Bugfix #6435
New option "rotate around selection" failed in editmode, when nothing was
selected.
Function calculateCenterMedian() missed that case.

Also added some zero initializing in code.
2007-03-24 11:56:10 +00:00
Robert Holcomb
1dcb99dce3 Still not part of the solution file, so shouln't affect the build. This version is complete, but won't compile until I commit the new BKE_node.h and drawnode.c files (plus a couple of others) 2007-03-24 07:18:26 +00:00
Robert Holcomb
c8758678a7 scons script initial commit. NOT TESTED yet, but I'm doing that. 2007-03-24 07:10:57 +00:00
Robert Holcomb
611d1c523c Initial commit. Not in build system so shouldn't interfere with anything at this point. Will commit modified versions of existing files once build system is tested. 2007-03-24 06:57:29 +00:00
Ken Hughes
f4c816869c Fix gcc warnings (assignment makes integer from pointer without a cast). 2007-03-24 05:10:03 +00:00
Joshua Leung
9c32c74699 Bugfix #6413: Select all (bones) doesn't work with keyed armature
Silly little mixup (one case where one of the macros I added shouldn't be used)
2007-03-24 03:34:28 +00:00
Joshua Leung
269e943d58 == Copy Location Constraint ==
I've added two new options for this constraint:
* Copy Bone Tip Location
* Apply owner's location on top of copied location ('Offset')
2007-03-24 03:00:54 +00:00
Joshua Leung
26fd086bca Removed some more debug prints (regarding camera angle/lens stuff) 2007-03-24 02:20:00 +00:00
Joshua Leung
54824340f6 Commented out debug-print in Ton's commit from yesterday (camera angle) 2007-03-24 01:25:11 +00:00
Joshua Leung
f6ecea59b9 Patch #6408: Small bugfix in action editor when use ctrl+z
A check is now performed to see if any markers were deleted before adding an undo-push, so you don't need to CTRL+Z twice to un-delete keys in the Action Editor if you didn't have any markers selected.
2007-03-24 01:08:17 +00:00
Ton Roosendaal
bc31d61c3b patch 5341 by Juho
This adds option to show camera angle instead of camera lens value.
(Complete revised patch...)
2007-03-23 13:12:11 +00:00
Matt Ebb
c448d2d3a5 == Interface ==
* Tablet pressure sensitivity for number field dragging

Many of the number fields in Blender are very sensitive. With this addition, 
softer tablet pressure causes the number field dragging to be more precise, 
as if you're holding shift, but variable depending on how hard or soft 
you're pressing. You can push hard for large adjustments or just lightly
stroke it for fine tuning.

P.S. There was a bug in the tracker regarding tablet support in sculpt mode that
never really got resolved. I don't know if it still exists, but number fields 
are a pretty major part of Blender, so just in case this commit causes problems
for you, you can disable it (temporarily, this won't be left in) by changing
rt: to any value other than 0. If anyone has problems, please report them, and
we can get it sorted out properly.
2007-03-23 05:41:58 +00:00
Joshua Leung
4391c8cba8 Bugfix #6389:
"Copy To Linked" option for VertexGroups copied the vertexgroups of the active mesh to all meshes in the scene, not just the ones that used the same mesh datablock.
2007-03-23 04:45:17 +00:00
Charlie Carley
9deb69dbca Applied patch #6102 submitted by Mal 2007-03-23 02:20:12 +00:00
Brecht Van Lommel
5219812f55 Added "Pack Charts" function in the UV editor, using Campbell's new box
packing code.
2007-03-22 20:32:20 +00:00
Stephen Swaney
8aafed560a change script to use the proper form of Scene.GetCurrent(). 2007-03-22 20:08:10 +00:00
Campbell Barton
f8b13d57cb added stdlib.h header, comments and all lines < 80 chars. 2007-03-22 03:28:34 +00:00