Commit Graph

47594 Commits

Author SHA1 Message Date
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
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
056ff5e314 corrected text for mesh.rename*Layer and added note for mesh.active*Layer 2007-03-26 08:33:31 +00:00
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
7fd8ba99bb Applied patch #5247 by scabootssca. This adds an instant replace mesh feature. 2007-03-26 03:35:01 +00:00
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
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
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
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
ac2ff8f97c Running Blender in debug mode now prints the subversion of .blend files. 2007-03-25 13:50:51 +00:00
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
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
25c673ef42 updated for nodes 2007-03-24 21:09:55 +00:00
066ac348e9 updated for nodes system 2007-03-24 21:06:23 +00:00
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
cdd8475835 These gots to go. 2007-03-24 18:48:56 +00:00
808a5fc05a Scons build system. MSVC 7.1 in a moment. 2007-03-24 18:41:54 +00:00
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
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
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
c8758678a7 scons script initial commit. NOT TESTED yet, but I'm doing that. 2007-03-24 07:10:57 +00:00
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
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
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
26fd086bca Removed some more debug prints (regarding camera angle/lens stuff) 2007-03-24 02:20:00 +00:00
54824340f6 Commented out debug-print in Ton's commit from yesterday (camera angle) 2007-03-24 01:25:11 +00:00
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
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
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
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
9deb69dbca Applied patch #6102 submitted by Mal 2007-03-23 02:20:12 +00:00
5219812f55 Added "Pack Charts" function in the UV editor, using Campbell's new box
packing code.
2007-03-22 20:32:20 +00:00
f8b13d57cb added stdlib.h header, comments and all lines < 80 chars. 2007-03-22 03:28:34 +00:00
eb1714edf1 * Added a slot for scripts to appear in the Render menu. The script category for
render scripts was already there, but strangely they were only accessible from 
the script menu.
2007-03-22 01:40:28 +00:00
677a4b4da7 Small feature for Referenced Library debugging:
In Outliner, shift+click on item with [Li] icon, gives name of Library file
2007-03-21 20:40:18 +00:00
903a8ed1fd missing x/y setting for the first box 2007-03-21 17:11:25 +00:00
ca94d97049 moved the boxpacker from PyAPI's Geometry to BLI_boxpack2d
made LSCM UV Unwrapper use boxpack2d
2007-03-21 17:06:02 +00:00
Stephen Swaney
145f474c5f fix compiler warning: implicit declaration of oldLibrary_Init() 2007-03-21 14:25:31 +00:00
ab005dadd5 replaced face sort by Z with randomize (Ctrl+F menu) 2007-03-21 13:47:20 +00:00
fa2627aa2c == Multires ==
Added an option to choose between Catmull-Clark and simple subdivision when adding a level. This setting applies only to how the level is created; any changes to lower levels are still propagated to the top level using Catmull-Clark.
2007-03-21 06:33:04 +00:00
Ken Hughes
ce46f04935 Python API
----------
Roll back to previous version; didn't mean to commit changes with Py_GetVersion
just yet!
2007-03-21 02:46:42 +00:00
Ken Hughes
3a834803ef Python API
----------
Support for new bpy.libraries module, which is being proposed to replace
the Blender.Library module.
2007-03-21 02:23:28 +00:00
Ken Hughes
a6db9c5949 Python API
----------
Definition of default "bpy" module was decrementing reference count, which
caused assertion errors on Windows.  This fixes the problem on Linux; Win
developers please test!
2007-03-20 18:45:05 +00:00
cbadf6523c added a null check for give_matarar with make_local, was crashing with some data 2007-03-20 16:54:31 +00:00
e706ce0228 The function to get a Material didn't correctly check for object types.
(bug reported by Campbell via irc)
2007-03-20 15:34:00 +00:00