Commit Graph

9637 Commits

Author SHA1 Message Date
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
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
Andrea Weikert
059ea9359d ==== MSVC 7.1 projectfiles ====
- added BLI_boxpack2d files
2007-03-21 20:36:14 +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
Stephen Swaney
03edb15afd cleanup compiler warnings for
missing virtual destructors
  out of order initializers
2007-03-20 04:19:30 +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
Andrea Weikert
261120236b ==== MSVC 7.1 projectfiles ====
- added new file Config.c for Python API
2007-03-19 19:29:27 +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
Joshua Leung
6fc7077932 Preview Range Bugfix:
Removed some code that was causing problems and wasn't even needed.
Now, there are no more problems when setting the preview range from the Action Editor when it was displaying an action that was scaled in the NLA.
2007-03-19 10:15:13 +00:00
Ton Roosendaal
6f42124053 Patch by Juho V,
Colorband: nodes now show an "Add" button too.
2007-03-19 09:40:41 +00:00
Joshua Leung
8b4b8d4dd2 == Preview Range ==
Preview Range is a useful tool for animating (espcially on longer timelines). It allows you to only run through a limited set of frames to quickly preview the timing of a section of movement without going through the whole timeline. It means you don't have to set/reset start/end frame for rendering everytime you wish to only preview a region of frames.

Hi Ton,

Attached is a patch (I know you've already got lots of them in the tracker ;-) ) for a feature that I've sometimes wanted. It seems that this sort of thing is supported in other packages, but I can't be sure.

Note: I may have left in a few bits and pieces I didn't mean to in the patch (this is off a source tree which had quite a few revisions in it, all of which was experimental)



== Preview Range ==
Preview range is useful for animating (espcially on longer timelines). It allows you to only run through a limited set of frames to quickly preview the timing of a section of movement without going through the whole timeline. It means you don't have to set/reset start/end frame for rendering everytime you wish to only preview a region of frames.

* 'Ctrl P' in Action/NLA/Timeline sets preview range. Click+drag to form selection-box defining region of frames to preview
* 'Alt P' in Action/NLA/Timeline to clear preview range
* 'Pre' button beside Start/End fields in timeline toggles whether start/end fields refer to scene or preview
* 'Ctrl Rightarrow' and 'Ctrl Leftarrow' jump to start/end of preview region when it is set
* 'S' and 'E' set the start/end frames of preview region when it is set (just like normally) in Timeline only
* In Action/NLA editors, frames out of preview region are now drawn darkened when preview-region is set


See the following page for more info later:
http://wiki.blender.org/index.php/User:Aligorith/Preview_Range
2007-03-19 07:32:36 +00:00
Ken Hughes
819fc06a80 Fixing a few more gcc warnings by adding pointer casts. 2007-03-19 05:40:42 +00:00
Campbell Barton
4f5065ac98 addad e new macro - BASE_SELECTABLE for checking if an object is selectable (restrict visible and restrict selected are off and its in the current view layer)
Made "Select Grouped" functions and "Select Linked" use BASE_SELECTABLE macro so they wont select objects they shouldent.
Made "Select Grouped" push an undo

Made "Select Grouped" and "Select Linked" only push add an UNDO if they make a change to the selection.

Fix for own bug. "Select Group" -> Hooks option could crash blender if an objetc hook was in another scene.
2007-03-19 05:09:56 +00:00
Campbell Barton
9477a7bc5c added mesh skin to the face key menu and added a python slot here. 2007-03-19 03:22:42 +00:00
Campbell Barton
8eb0544f08 [ #4227 ] Determine the "real" current filename via Python
applied. tested and this is how "filename" should work, so changed Blender.Get("filename") to return None instead of the last opened file.
2007-03-19 01:51:54 +00:00
Martin Poirier
5297123de1 === View Orbit Around Active ===
Changed to Orbit around Selection, using transform code to calculate the selection center (using Median center method).
2007-03-18 18:21:24 +00:00
Martin Poirier
31f79cf5b4 === Constraints ===
Patch by Juho Vepsäläinen (bebraw)
[ #5850 ] Inverted axis' buttons to Copy Rotation and Copy Location constraints

This patch adds the options to invert the value being copied from each axis of the Copy Rot/Copy Loc constraints.


This commit also includes some slight code sanitization and tool tips cleanup (for the two track constraints, the tool tips were really unuseful).
2007-03-18 14:53:17 +00:00
Ben Batt
7170f9ec2d == Edgesplit modifier speed improvements ==
Speed improvements to the Edgesplit modifier (changed the data structures
and memory management to avoid using slow GHash functions and large numbers
of small mallocs). In my tests, this makes the modifier approximately twice
as fast.
2007-03-18 14:20:24 +00:00
Ben Batt
77cd80e1b5 == Mirror modifier upgrade ==
Upgraded the Mirror modifier to support mirroring of UV coordinates in the
faces created by the modifier.
2007-03-18 13:46:26 +00:00
Ben Batt
0b55cac34c == Array modifier upgrade ==
Upgraded the Array modifier to allow the user to specify start and end
cap objects. This makes arrays more flexible and more useful for creating
subsurf cages. The cap objects are added at the start and end of the array,
and will be auto-merged with the rest of the array if the 'Merge' button is
on.

Examples at:
- http://members.optusnet.com.au/~bbatt/tentacle01-endcaps.blend
- http://members.optusnet.com.au/~bbatt/arraytest06.blend
- http://members.optusnet.com.au/~bbatt/arraytest07.blend
2007-03-18 13:26:53 +00:00