blender.git
14 years agopy api
Campbell Barton [Tue, 27 Mar 2007 14:49:37 +0000 (14:49 +0000)]
py api
bpy.*libBlickSeq*.new() - name is now an optiona arg.
moved some more scripts to bpy.* api.

14 years agoPyAPI
Campbell Barton [Tue, 27 Mar 2007 11:37:54 +0000 (11:37 +0000)]
PyAPI
curve - added curve_type() to return the curve type
BPyModule & gen_library - works with text3d now, can also make new text3d through bpy.curves.new
Added Draw.Label() so scripts can draw can using freetype.
widgetwizard - use Draw.Label

14 years ago=== SCons ===
Nathan Letwory [Tue, 27 Mar 2007 10:50:03 +0000 (10:50 +0000)]
=== SCons ===

Bugfix #6168

* instead of compiling mallocn manually for makesdna, use the bf_guardedalloc lib
 that was already created looooooong time ago.

14 years ago=== OpenEXR ===
Nathan Letwory [Tue, 27 Mar 2007 10:13:57 +0000 (10:13 +0000)]
=== OpenEXR ===

* fix [ #6105 ] Blender crashes when opening multilayer with node in compositor
  - Mem_IStream membuf was allocated on the stack, so it caused major troubles when
 out of the function scope. Now allocate it on the heap and let OpenEXR deal with
 freeing it.
  - moved + added delete file;'s for completeness

14 years agoBugfix #6453
Ton Roosendaal [Tue, 27 Mar 2007 09:13:18 +0000 (09:13 +0000)]
Bugfix #6453

Panel name of "transform properties" can change based on mode. This was
not drawn correct when panel minimized.

14 years agoFixed bug #6421, Layout of "Sculpt Properties" panel is broken in CVS
Nicholas Bishop [Tue, 27 Mar 2007 03:52:34 +0000 (03:52 +0000)]
Fixed bug #6421, Layout of "Sculpt Properties" panel is broken in CVS

* Removed overlapping buttons (texture controls) from the floating palette for Sculpt Mode.

14 years agoBugfix #6293
Ton Roosendaal [Mon, 26 Mar 2007 20:35:56 +0000 (20:35 +0000)]
Bugfix #6293

Multires Meshes crashed badly when joined.
Added check in join code to escape with a warning.

14 years agopy api
Campbell Barton [Mon, 26 Mar 2007 19:44:44 +0000 (19:44 +0000)]
py api
* stopped bpy from importing automaticaly as decieded in the meeting.
* removed Blender.Main, since we agree it will be called bpy, renamed files also.
* updated epydocs from this and last commit.
* updated scripts to use bpy.*, and bugfix's for widgetwizard

14 years agoUninitialized variable fix. Might fix bug #6431, error in rendering of
Ton Roosendaal [Mon, 26 Mar 2007 19:44:21 +0000 (19:44 +0000)]
Uninitialized variable fix. Might fix bug #6431, error in rendering of
irregular shadowbuffers.

Found by valgrind session, provided by Mathias 'Lynx3d' Wein

14 years ago==== MSVC 7.1 projectfiles ====
Andrea Weikert [Mon, 26 Mar 2007 18:34:25 +0000 (18:34 +0000)]
==== 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.

14 years ago=== Export UV Layout ===
Martin Poirier [Mon, 26 Mar 2007 15:55:23 +0000 (15:55 +0000)]
=== 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.

14 years agoChanged node type definitions to use a dynamic list.
Ton Roosendaal [Mon, 26 Mar 2007 15:07:38 +0000 (15:07 +0000)]
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.

14 years agoBugfix: function new_id() was allowed to be called with NULL.
Ton Roosendaal [Mon, 26 Mar 2007 13:02:43 +0000 (13:02 +0000)]
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.

14 years agoremoved commenst from space.c
Campbell Barton [Mon, 26 Mar 2007 11:24:52 +0000 (11:24 +0000)]
removed commenst from space.c
removed .load() from bpy.*dataseq* - Use .new(filename='') instead as discussed at the meeting.

14 years agoMatthew Chadwick's update to the mesh unfolder, minor tidyups and stopped an error...
Campbell Barton [Mon, 26 Mar 2007 08:54:03 +0000 (08:54 +0000)]
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.

14 years agocorrected text for mesh.rename*Layer and added note for mesh.active*Layer
Campbell Barton [Mon, 26 Mar 2007 08:33:31 +0000 (08:33 +0000)]
corrected text for mesh.rename*Layer and added note for mesh.active*Layer

14 years agocheck curarea isnt NULL, blender would crash switching scenes in the outliner while...
Campbell Barton [Mon, 26 Mar 2007 03:36:46 +0000 (03:36 +0000)]
check curarea isnt NULL, blender would crash switching scenes in the outliner while fullscreen, then going into un-fullscree view.

14 years agoApplied patch #5247 by scabootssca. This adds an instant replace mesh feature.
Charlie Carley [Mon, 26 Mar 2007 03:35:01 +0000 (03:35 +0000)]
Applied patch #5247 by scabootssca. This adds an instant replace mesh feature.

14 years agoPython API
Campbell Barton [Mon, 26 Mar 2007 02:10:24 +0000 (02:10 +0000)]
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)

14 years agoNeed nodes libs before imbuf lib when linking blenderplayer
Chris Want [Mon, 26 Mar 2007 00:22:37 +0000 (00:22 +0000)]
Need nodes libs before imbuf lib when linking blenderplayer

14 years agoFind missing node includes.
Chris Want [Mon, 26 Mar 2007 00:11:45 +0000 (00:11 +0000)]
Find missing node includes.

14 years agoAll UI code reverted to drawnode.c
Robert Holcomb [Sun, 25 Mar 2007 23:54:39 +0000 (23:54 +0000)]
All UI code reverted to drawnode.c

14 years agoCompiles and links for the blender executable. Somebody else can
Chris Want [Sun, 25 Mar 2007 20:17:32 +0000 (20:17 +0000)]
Compiles and links for the blender executable. Somebody else can
deal with stubs/linking for blenderplayer (I wish people would plan
these 'libraries' better).

14 years agoMakefiles for nodes. Compiles but doesn't link, but I'm late for noodles.
Chris Want [Sun, 25 Mar 2007 16:47:31 +0000 (16:47 +0000)]
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.

14 years agoReverting my fix for nodes. This is a bigger task... now scons should work
Ton Roosendaal [Sun, 25 Mar 2007 16:05:46 +0000 (16:05 +0000)]
Reverting my fix for nodes. This is a bigger task... now scons should work
again.

Robert promised to work on fixes for makefile today!

14 years agoFixing Makefiles for new nodes module, part 1:
Ton Roosendaal [Sun, 25 Mar 2007 13:54:07 +0000 (13:54 +0000)]
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!

14 years agoRunning Blender in debug mode now prints the subversion of .blend files.
Ton Roosendaal [Sun, 25 Mar 2007 13:50:51 +0000 (13:50 +0000)]
Running Blender in debug mode now prints the subversion of .blend files.

14 years agohad 1 char missing
Campbell Barton [Sun, 25 Mar 2007 12:15:06 +0000 (12:15 +0000)]
had 1 char missing

14 years agoRemoved tablet sensitivity for number sliding
Ton Roosendaal [Sun, 25 Mar 2007 11:34:22 +0000 (11:34 +0000)]
Removed tablet sensitivity for number sliding
Tablet code has design issues, report goes to the bf-committers list.

14 years agoadded options to this script to
Campbell Barton [Sun, 25 Mar 2007 10:27:37 +0000 (10:27 +0000)]
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.

14 years ago== Sequencer ==
Peter Schlaile [Sun, 25 Mar 2007 09:03:24 +0000 (09:03 +0000)]
== Sequencer ==

Bugfix: forgot to reset effectdata on speed effect duplicate (thereby
sharing temporary data across effect strips leading to segfaults on the
road...)

14 years agoupdated for nodes
Robert Holcomb [Sat, 24 Mar 2007 21:09:55 +0000 (21:09 +0000)]
updated for nodes

14 years agoupdated for nodes system
Robert Holcomb [Sat, 24 Mar 2007 21:06:23 +0000 (21:06 +0000)]
updated for nodes system

14 years ago=== Transform Snap ===
Martin Poirier [Sat, 24 Mar 2007 20:57:15 +0000 (20:57 +0000)]
=== 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).

14 years agonewline at end of file
Robert Holcomb [Sat, 24 Mar 2007 19:13:02 +0000 (19:13 +0000)]
newline at end of file

14 years agoReverted to previous version
Robert Holcomb [Sat, 24 Mar 2007 19:07:18 +0000 (19:07 +0000)]
Reverted to previous version

14 years agoThese gots to go.
Robert Holcomb [Sat, 24 Mar 2007 18:48:56 +0000 (18:48 +0000)]
These gots to go.

14 years agoHas the nodes in it. I'm not a windows guru, so please review.
Robert Holcomb [Sat, 24 Mar 2007 18:42:38 +0000 (18:42 +0000)]
Has the nodes in it.  I'm not a windows guru, so please review.

14 years agoScons build system. MSVC 7.1 in a moment.
Robert Holcomb [Sat, 24 Mar 2007 18:41:54 +0000 (18:41 +0000)]
Scons build system.  MSVC 7.1 in a moment.

14 years agoFollowup to Bugfix #6435 by Ton.
Martin Poirier [Sat, 24 Mar 2007 13:38:50 +0000 (13:38 +0000)]
Followup to Bugfix #6435 by Ton.

Added sensible way in calculateTransformCenter to report an error (including empty selection).

14 years agoBugfix #6433
Ton Roosendaal [Sat, 24 Mar 2007 12:44:55 +0000 (12:44 +0000)]
Bugfix #6433

Armature bones did not draw name in window corner anymore. Caused by patch
for drawing shape key names...

14 years agoBugfix #6435
Ton Roosendaal [Sat, 24 Mar 2007 11:56:10 +0000 (11:56 +0000)]
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.

14 years agoStill not part of the solution file, so shouln't affect the build. This version...
Robert Holcomb [Sat, 24 Mar 2007 07:18:26 +0000 (07:18 +0000)]
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)

14 years agoscons script initial commit. NOT TESTED yet, but I'm doing that.
Robert Holcomb [Sat, 24 Mar 2007 07:10:57 +0000 (07:10 +0000)]
scons script initial commit.  NOT TESTED yet, but I'm doing that.

14 years agoInitial commit. Not in build system so shouldn't interfere with anything at this...
Robert Holcomb [Sat, 24 Mar 2007 06:57:29 +0000 (06:57 +0000)]
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.

14 years agoFix gcc warnings (assignment makes integer from pointer without a cast).
Ken Hughes [Sat, 24 Mar 2007 05:10:03 +0000 (05:10 +0000)]
Fix gcc warnings (assignment makes integer from pointer without a cast).

14 years agoBugfix #6413: Select all (bones) doesn't work with keyed armature
Joshua Leung [Sat, 24 Mar 2007 03:34:28 +0000 (03:34 +0000)]
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)

14 years ago== Copy Location Constraint ==
Joshua Leung [Sat, 24 Mar 2007 03:00:54 +0000 (03:00 +0000)]
== 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')

14 years agoRemoved some more debug prints (regarding camera angle/lens stuff)
Joshua Leung [Sat, 24 Mar 2007 02:20:00 +0000 (02:20 +0000)]
Removed some more debug prints (regarding camera angle/lens stuff)

14 years agoCommented out debug-print in Ton's commit from yesterday (camera angle)
Joshua Leung [Sat, 24 Mar 2007 01:25:11 +0000 (01:25 +0000)]
Commented out debug-print in Ton's commit from yesterday (camera angle)

14 years agoPatch #6408: Small bugfix in action editor when use ctrl+z
Joshua Leung [Sat, 24 Mar 2007 01:08:17 +0000 (01:08 +0000)]
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.

14 years agopatch 5341 by Juho
Ton Roosendaal [Fri, 23 Mar 2007 13:12:11 +0000 (13:12 +0000)]
patch 5341 by Juho

This adds option to show camera angle instead of camera lens value.
(Complete revised patch...)

14 years ago== Interface ==
Matt Ebb [Fri, 23 Mar 2007 05:41:58 +0000 (05:41 +0000)]
== 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.

14 years agoBugfix #6389:
Joshua Leung [Fri, 23 Mar 2007 04:45:17 +0000 (04:45 +0000)]
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.

14 years agoApplied patch #6102 submitted by Mal
Charlie Carley [Fri, 23 Mar 2007 02:20:12 +0000 (02:20 +0000)]
Applied patch #6102 submitted by Mal

14 years agoAdded "Pack Charts" function in the UV editor, using Campbell's new box
Brecht Van Lommel [Thu, 22 Mar 2007 20:32:20 +0000 (20:32 +0000)]
Added "Pack Charts" function in the UV editor, using Campbell's new box
packing code.

14 years agochange script to use the proper form of Scene.GetCurrent().
Stephen Swaney [Thu, 22 Mar 2007 20:08:10 +0000 (20:08 +0000)]
change script to use the proper form of Scene.GetCurrent().

14 years agoadded stdlib.h header, comments and all lines < 80 chars.
Campbell Barton [Thu, 22 Mar 2007 03:28:34 +0000 (03:28 +0000)]
added stdlib.h header, comments and all lines < 80 chars.

14 years ago* Added a slot for scripts to appear in the Render menu. The script category for
Matt Ebb [Thu, 22 Mar 2007 01:40:28 +0000 (01:40 +0000)]
* 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.

14 years agoSmall feature for Referenced Library debugging:
Ton Roosendaal [Wed, 21 Mar 2007 20:40:18 +0000 (20:40 +0000)]
Small feature for Referenced Library debugging:

In Outliner, shift+click on item with [Li] icon, gives name of Library file

14 years ago==== MSVC 7.1 projectfiles ====
Andrea Weikert [Wed, 21 Mar 2007 20:36:14 +0000 (20:36 +0000)]
==== MSVC 7.1 projectfiles ====
- added BLI_boxpack2d files

14 years agomissing x/y setting for the first box
Campbell Barton [Wed, 21 Mar 2007 17:11:25 +0000 (17:11 +0000)]
missing x/y setting for the first box

14 years agomoved the boxpacker from PyAPI's Geometry to BLI_boxpack2d
Campbell Barton [Wed, 21 Mar 2007 17:06:02 +0000 (17:06 +0000)]
moved the boxpacker from PyAPI's Geometry to BLI_boxpack2d

made LSCM UV Unwrapper use boxpack2d

14 years agofix compiler warning: implicit declaration of oldLibrary_Init()
Stephen Swaney [Wed, 21 Mar 2007 14:25:31 +0000 (14:25 +0000)]
fix compiler warning: implicit declaration of oldLibrary_Init()

14 years agoreplaced face sort by Z with randomize (Ctrl+F menu)
Campbell Barton [Wed, 21 Mar 2007 13:47:20 +0000 (13:47 +0000)]
replaced face sort by Z with randomize (Ctrl+F menu)

14 years ago== Multires ==
Nicholas Bishop [Wed, 21 Mar 2007 06:33:04 +0000 (06:33 +0000)]
== 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.

14 years agoPython API
Ken Hughes [Wed, 21 Mar 2007 02:46:42 +0000 (02:46 +0000)]
Python API
----------
Roll back to previous version; didn't mean to commit changes with Py_GetVersion
just yet!

14 years agoPython API
Ken Hughes [Wed, 21 Mar 2007 02:23:28 +0000 (02:23 +0000)]
Python API
----------
Support for new bpy.libraries module, which is being proposed to replace
the Blender.Library module.

14 years agoPython API
Ken Hughes [Tue, 20 Mar 2007 18:45:05 +0000 (18:45 +0000)]
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!

14 years agoadded a null check for give_matarar with make_local, was crashing with some data
Campbell Barton [Tue, 20 Mar 2007 16:54:31 +0000 (16:54 +0000)]
added a null check for give_matarar with make_local, was crashing with some data

14 years agoThe function to get a Material didn't correctly check for object types.
Ton Roosendaal [Tue, 20 Mar 2007 15:34:00 +0000 (15:34 +0000)]
The function to get a Material didn't correctly check for object types.
(bug reported by Campbell via irc)

14 years agoStupid little fix, var == "str" bad.... !strcmp(var, "str") good...
Kent Mein [Tue, 20 Mar 2007 15:07:23 +0000 (15:07 +0000)]
Stupid little fix, var == "str" bad....  !strcmp(var, "str") good...

Thanks DripStone,

Kent

14 years agoBoxPack2D example in epydocs, small cleanup on Geometry.c
Campbell Barton [Tue, 20 Mar 2007 12:07:02 +0000 (12:07 +0000)]
BoxPack2D example in epydocs, small cleanup on Geometry.c

14 years agoNLA:
Joshua Leung [Tue, 20 Mar 2007 11:11:32 +0000 (11:11 +0000)]
NLA:

Some more action channel protection stuff

14 years ago== Action Editor - Collapsable Action Channels ==
Joshua Leung [Tue, 20 Mar 2007 11:04:47 +0000 (11:04 +0000)]
== 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).

14 years agoGeometry.c - rewrote my python box-packer algo in C,
Campbell Barton [Tue, 20 Mar 2007 07:23:09 +0000 (07:23 +0000)]
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.

14 years agoMinor modification of foreground processing code in the defocus node.
Alfredo de Greef [Tue, 20 Mar 2007 06:50:39 +0000 (06:50 +0000)]
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.

14 years agocleanup compiler warnings for
Stephen Swaney [Tue, 20 Mar 2007 04:19:30 +0000 (04:19 +0000)]
cleanup compiler warnings for
  missing virtual destructors
  out of order initializers

14 years ago==== blenlib ====
Andrea Weikert [Mon, 19 Mar 2007 19:34:04 +0000 (19:34 +0000)]
==== 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

14 years ago==== MSVC 7.1 projectfiles ====
Andrea Weikert [Mon, 19 Mar 2007 19:29:27 +0000 (19:29 +0000)]
==== MSVC 7.1 projectfiles ====
- added new file Config.c for Python API

14 years agoPatch #3126
Ton Roosendaal [Mon, 19 Mar 2007 15:48:24 +0000 (15:48 +0000)]
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.

14 years agoPatch #6123m by Leandro Inocencio
Ton Roosendaal [Mon, 19 Mar 2007 11:26:53 +0000 (11:26 +0000)]
Patch #6123m by Leandro Inocencio

Sound Window now has option "lock view to other 2d windows" too.

14 years agoPreview Range Bugfix:
Joshua Leung [Mon, 19 Mar 2007 10:15:13 +0000 (10:15 +0000)]
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.

14 years agoPatch by Juho V,
Ton Roosendaal [Mon, 19 Mar 2007 09:40:41 +0000 (09:40 +0000)]
Patch by Juho V,

Colorband: nodes now show an "Add" button too.

14 years ago== Preview Range ==
Joshua Leung [Mon, 19 Mar 2007 07:32:36 +0000 (07:32 +0000)]
== 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

14 years agoFixing a few more gcc warnings by adding pointer casts.
Ken Hughes [Mon, 19 Mar 2007 05:40:42 +0000 (05:40 +0000)]
Fixing a few more gcc warnings by adding pointer casts.

14 years agoaddad e new macro - BASE_SELECTABLE for checking if an object is selectable (restrict...
Campbell Barton [Mon, 19 Mar 2007 05:09:56 +0000 (05:09 +0000)]
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.

14 years agoadded mesh skin to the face key menu and added a python slot here.
Campbell Barton [Mon, 19 Mar 2007 03:22:42 +0000 (03:22 +0000)]
added mesh skin to the face key menu and added a python slot here.

14 years ago[ #4227 ] Determine the "real" current filename via Python
Campbell Barton [Mon, 19 Mar 2007 01:51:54 +0000 (01:51 +0000)]
[ #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.

14 years ago=== View Orbit Around Active ===
Martin Poirier [Sun, 18 Mar 2007 18:21:24 +0000 (18:21 +0000)]
=== View Orbit Around Active ===

Changed to Orbit around Selection, using transform code to calculate the selection center (using Median center method).

14 years ago=== Constraints ===
Martin Poirier [Sun, 18 Mar 2007 14:53:17 +0000 (14:53 +0000)]
=== 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).

14 years ago== Edgesplit modifier speed improvements ==
Ben Batt [Sun, 18 Mar 2007 14:20:24 +0000 (14:20 +0000)]
== 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.

14 years ago== Mirror modifier upgrade ==
Ben Batt [Sun, 18 Mar 2007 13:46:26 +0000 (13:46 +0000)]
== Mirror modifier upgrade ==
Upgraded the Mirror modifier to support mirroring of UV coordinates in the
faces created by the modifier.

14 years ago== Array modifier upgrade ==
Ben Batt [Sun, 18 Mar 2007 13:26:53 +0000 (13:26 +0000)]
== 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

14 years agoexcellent mesh unolder script by Matthew Chadwick
Campbell Barton [Sun, 18 Mar 2007 12:08:51 +0000 (12:08 +0000)]
excellent mesh unolder script by Matthew Chadwick
http://celeriac.net/unfolder/

14 years ago== Action Editor ==
Joshua Leung [Sun, 18 Mar 2007 06:06:54 +0000 (06:06 +0000)]
== Action Editor ==

* When the mouse is over an Action or Constraint Channel, you can now
rename it by pressing NKEY (like for Shapekey channels). You can also set
the 'protection' status for the Action/Constraint channel in this way.

* Removed the double confirmation when deleting Action-Channels. Also,
markers are now not deleted when deleting action channels.

14 years agoadded bpy.config, more configuration options still need adding.
Campbell Barton [Sun, 18 Mar 2007 04:46:54 +0000 (04:46 +0000)]
added bpy.config, more configuration options still need adding.

14 years ago== Recently-Opened Files List (Patch #5708) ==
Joshua Leung [Sun, 18 Mar 2007 03:30:24 +0000 (03:30 +0000)]
== Recently-Opened Files List (Patch #5708) ==

In the past, this was limited to only having 10 items. Now you can set the
number of recently opened files that are remembered (ranging from 0 to 30
items).

Setting for this can be found under 'Auto-Save' in the Info window.

14 years ago== Sculpt Mode ==
Nicholas Bishop [Sat, 17 Mar 2007 20:11:50 +0000 (20:11 +0000)]
== Sculpt Mode ==

Added a #define for the number of vertices the flatten brush should sample when calculating the distance to flatten to.

14 years agosource/blender/src/buttons_editing.c:
Ken Hughes [Sat, 17 Mar 2007 15:00:11 +0000 (15:00 +0000)]
source/blender/src/buttons_editing.c:
    Fix C90 variable declaration in function body
source/blender/src/editaction.c:
    remove unused variable