Commit Graph

8085 Commits

Author SHA1 Message Date
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
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
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
cdd8475835 These gots to go. 2007-03-24 18:48:56 +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
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
Campbell Barton
f8b13d57cb added stdlib.h header, comments and all lines < 80 chars. 2007-03-22 03:28:34 +00:00
Matt Ebb
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
Ton Roosendaal
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
Campbell Barton
903a8ed1fd missing x/y setting for the first box 2007-03-21 17:11:25 +00:00
Campbell Barton
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
Campbell Barton
ab005dadd5 replaced face sort by Z with randomize (Ctrl+F menu) 2007-03-21 13:47:20 +00:00
Nicholas Bishop
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
Campbell Barton
cbadf6523c added a null check for give_matarar with make_local, was crashing with some data 2007-03-20 16:54:31 +00:00
Ton Roosendaal
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
Kent Mein
c10c71909e Stupid little fix, var == "str" bad.... !strcmp(var, "str") good...
Thanks DripStone,

Kent
2007-03-20 15:07:23 +00:00
Campbell Barton
83a9a84498 BoxPack2D example in epydocs, small cleanup on Geometry.c 2007-03-20 12:07:02 +00:00
Joshua Leung
bafc50df9b NLA:
Some more action channel protection stuff
2007-03-20 11:11:32 +00:00
Joshua Leung
3cb25c774c == Action Editor - Collapsable Action Channels ==
Action Channels can now be collapsed/expanded to show/hide Constraint Channels, lessening clutter. In future, this could (will probably be) expanded to
show the show/hide individual transform channels.

User Notes:
* Expansion is off by default
* NKEY popup now features option to turn expansion on/off
* Changed behaviour of protection a bit - now if an action channel has protection
 on, constraint channels under it are also automagically protected

Developer Notes:
* I've gone through doing a lot of whitespace/linebreak tweaking to get the code looking more consistent with itself
* To save typing (and to make it easier to make future revisions), a set of macros
 is now used to check for some commonly-checked settings (i.e. selection, visibility,
 and protection).
2007-03-20 11:04:47 +00:00
Campbell Barton
a51477093b Geometry.c - rewrote my python box-packer algo in C,
packing 2400 rectanges is about 38x faster.

Use the C implimentation in uvcalc_lightmap and uvcalc_smart_project

Blender.c - filename returning None raises errors with existing scripts, just return "" so string functions on the filename dont raise an error.
2007-03-20 07:23:09 +00:00
Alfredo de Greef
1ebc28bead Minor modification of foreground processing code in the defocus node.
Now uses a fixed value instead of a value based on the closest object.
Should eliminate sudden jumps in blur amount from frame to frame when used
in animations.
2007-03-20 06:50:39 +00:00
Andrea Weikert
7f2d1f651c ==== blenlib ====
- added replacement BLI_snprintf for snprintf to avoid MSVC specific #defines for snprintf.
- BLI_snprintf also ensures trailing zero, so helps preventing buffer overflows
2007-03-19 19:34:04 +00:00
Ton Roosendaal
6f3fb5525e Patch #3126
Option to draw object name in 3d window corner, now also displays for
meshes the (pinned) shape key name.

Threads: warning fix, added (void) for function declaration.
2007-03-19 15:48:24 +00:00
Ton Roosendaal
4aa556e9af Patch #6123m by Leandro Inocencio
Sound Window now has option "lock view to other 2d windows" too.
2007-03-19 11:26:53 +00:00