14 years agoMade new Defocus node compile happily in MSVC
Ton Roosendaal [Thu, 21 Dec 2006 18:23:30 +0000 (18:23 +0000)]
Made new Defocus node compile happily in MSVC

14 years agoDefocus Composite Node, by Alfredo de Greef
Ton Roosendaal [Thu, 21 Dec 2006 18:11:07 +0000 (18:11 +0000)]
Defocus Composite Node, by Alfredo de Greef


An incredible quality composite effect, might be slow but worth waiting

14 years agoPython API
Ken Hughes [Thu, 21 Dec 2006 16:05:43 +0000 (16:05 +0000)]
Python API
Silence gcc warnings in Mesh API code.

14 years agoPython API
Ken Hughes [Thu, 21 Dec 2006 16:05:01 +0000 (16:05 +0000)]
Python API
Bugfix: didn't check string inputs correctly.

14 years agoFix for threads usage. This solves the hanging 'render baking', cauused
Ton Roosendaal [Thu, 21 Dec 2006 15:44:46 +0000 (15:44 +0000)]
Fix for threads usage. This solves the hanging 'render baking', cauused
by yesterdays commit.

Now a designater LOCK_IMAGE is used for all image write/read.

14 years agoPicker buttons: the 'sample' option crashed. Caused by yesterdays commit.
Ton Roosendaal [Thu, 21 Dec 2006 15:30:43 +0000 (15:30 +0000)]
Picker buttons: the 'sample' option crashed. Caused by yesterdays commit.

Reason: I had to make the "BUT" type in Blender to use callbacks *after* the
uiBlock was freed, because in Blender several of these callbacks invoke
drawing, which isn't possible while a block is being evaluated.

14 years agoFix compile error for last commit.
Brecht Van Lommel [Thu, 21 Dec 2006 14:25:52 +0000 (14:25 +0000)]
Fix compile error for last commit.

14 years agoUnPack data fix:
Ton Roosendaal [Thu, 21 Dec 2006 14:00:18 +0000 (14:00 +0000)]
UnPack data fix:

Now uses original filename for unpacking, instead of the Blender ID name.
That latter was a nice idea, but because of its 20 char maxname limit
not working well.

14 years agoAdded names to UV and vertex color layers, and display them as a list.
Brecht Van Lommel [Thu, 21 Dec 2006 13:47:27 +0000 (13:47 +0000)]
Added names to UV and vertex color layers, and display them as a list.

Added support for multiple UVs in the render engine. This also involved
changing the way faces are stored, to allow data to be added optionally
per 256 faces, same as the existing system for vertices.

A UV layer can be specified in the Map Input panel and the Geometry node
by name. Leaving this field blank will default to the active UV layer.

Also added sharing of face selection and hiding between UV layers, and at
the same time improved syncing with editmode selection and hiding.

Still to do:
- Multi UV support for fastshade.
- Multires and NMesh preservation of multiple UV sets.

14 years agoPacking Images fix:
Ton Roosendaal [Thu, 21 Dec 2006 13:39:02 +0000 (13:39 +0000)]
Packing Images fix:

- a 'procedural image' like 'UV Test Grid' now can be directly packed,
  it does ask first for confirming to pack it as PNG

14 years agoremoved the WKey "Split font" option. It doesnt work and corrupts memory
Ton Roosendaal [Thu, 21 Dec 2006 12:36:25 +0000 (12:36 +0000)]
removed the WKey "Split font" option. It doesnt work and corrupts memory
(saved files cannot read back, they crash).

The implementation of this option was plain accident that it even worked
once... you cannot use the API in blender that way.

14 years agoMultiLayer images: added support for choosing compression type.
Ton Roosendaal [Thu, 21 Dec 2006 10:41:43 +0000 (10:41 +0000)]
MultiLayer images: added support for choosing compression type.

Without setting anything, it uses ZIP now as default, which gives the best
lossless compression and works nice fast.

14 years agoUV Image Window:
Ton Roosendaal [Thu, 21 Dec 2006 07:52:20 +0000 (07:52 +0000)]
UV Image Window:
Brought back the old "image properties" panel, which actually only showed
options for real-time textures. Available in pulldown menu as "Real-time

14 years agoUpdated to use face.edge_keys,
Campbell Barton [Thu, 21 Dec 2006 04:20:07 +0000 (04:20 +0000)]
Updated to use face.edge_keys,
fixed problem with merging islands not detecting an island in an island (wrong offset)
better island merging from user input

14 years agoOnly include the header openexr_multi.h when WITH_OPENEXR is defined.
Chris Want [Thu, 21 Dec 2006 01:16:25 +0000 (01:16 +0000)]
Only include the header openexr_multi.h when WITH_OPENEXR is defined.
This header defines function stubs for builds without OpenEXR.
A quote from openexr_multi.h:

/* ugly... but we only use it on pipeline.c, render module, now */

No longer true! Function definitions should never be in header files,
I say.

14 years agoTurn of partial visibility in sculptmode when applying modifiers
Nicholas Bishop [Thu, 21 Dec 2006 00:42:43 +0000 (00:42 +0000)]
Turn of partial visibility in sculptmode when applying modifiers

14 years agoPython API
Ken Hughes [Thu, 21 Dec 2006 00:17:30 +0000 (00:17 +0000)]
Python API
Bug fix for SurfNurb.flagU and SurfNurb.flagV setters: makeknots() was not
being called with correct arguments.

14 years agoPython API
Ken Hughes [Wed, 20 Dec 2006 23:26:14 +0000 (23:26 +0000)]
Python API
Undo for part of previous commit.  Campbell reminded me that UV texture faces
aren't "users" like other objects, so removing the code which changes them.

14 years agoApplying subsurf in sculptmode should do a sculptmode undo_push
Nicholas Bishop [Wed, 20 Dec 2006 23:25:29 +0000 (23:25 +0000)]
Applying subsurf in sculptmode should do a sculptmode undo_push

14 years agoPython API
Ken Hughes [Wed, 20 Dec 2006 22:56:58 +0000 (22:56 +0000)]
Python API
Bugfix/enhancement: allow image of mesh's UV faces to be removed/cleared by
"del f.image" or "f.image = None", and handle image user counts correctly
when assigning/clearing images.

14 years agoBugfix:
Ton Roosendaal [Wed, 20 Dec 2006 22:41:44 +0000 (22:41 +0000)]
For "Render to Image window": On re-render, the 32 bits display buffer of
a RenderResult was not freed, so it looked as if the rendered image was
not changed.

14 years agoBug in new "generated image": when you save it, it didn't set the type to
Ton Roosendaal [Wed, 20 Dec 2006 22:03:06 +0000 (22:03 +0000)]
Bug in new "generated image": when you save it, it didn't set the type to
'non generated' correctly.

Also: tooltip fix for radio pass.

14 years agoGame Player links again, added new functions in the stubs
Ton Roosendaal [Wed, 20 Dec 2006 21:51:08 +0000 (21:51 +0000)]
Game Player links again, added new functions in the stubs

(image.c: prototype fix)

14 years agoFunction returned no '1', causing multilayer files to not read, except
Ton Roosendaal [Wed, 20 Dec 2006 21:34:20 +0000 (21:34 +0000)]
Function returned no '1', causing multilayer files to not read, except
for me of course :)

14 years ago==== MSVC 7 project files ====
Andrea Weikert [Wed, 20 Dec 2006 20:52:39 +0000 (20:52 +0000)]
==== MSVC 7 project files ====
- small bullet maintenance for added btAlignedAllocator

14 years ago=== Transform Snap ===
Martin Poirier [Wed, 20 Dec 2006 19:47:12 +0000 (19:47 +0000)]
=== Transform Snap ===

(Implementing Matt's idea)

Grid and Snap are now exclusively controlled by the Control key (pun intented).

You can switch to Snap by selecting the snap option in the Transform menu (this option is only available in edit mode on a mesh. this option is per 3D view) (NOTE: There is currently no hotkey for that, anyone should feel free to add one).

When Snap is selected, holding down Ctrl during translations (grab) snaps to vertex.

All other situations which have no snapping code yet defaults to Grid.

14 years agoGamePlayer: now uses new Image API calls too, so it compiles.
Ton Roosendaal [Wed, 20 Dec 2006 19:29:37 +0000 (19:29 +0000)]
GamePlayer: now uses new Image API calls too, so it compiles.

14 years agoTwo bugfixes for Image commit:
Ton Roosendaal [Wed, 20 Dec 2006 19:23:57 +0000 (19:23 +0000)]
Two bugfixes for Image commit:

- Jkey press without a render crashed
- UV FaceSelect, assign/view image,  crashed all over... :)

14 years agoConsolidated a few more memory allocs in multires
Nicholas Bishop [Wed, 20 Dec 2006 18:55:29 +0000 (18:55 +0000)]
Consolidated a few more memory allocs in multires

14 years agoWarning fixes for previous Image commit, also fixed verse_image.c
Ton Roosendaal [Wed, 20 Dec 2006 18:29:23 +0000 (18:29 +0000)]
Warning fixes for previous Image commit, also fixed verse_image.c

14 years agoPython API
Ken Hughes [Wed, 20 Dec 2006 18:07:39 +0000 (18:07 +0000)]
Python API
User documentation for scn.objects (SceneObjects class).  Documents what is
implemented right now; there still may be some minor changes prior to release.

14 years agoThe Big Image refactor!
Ton Roosendaal [Wed, 20 Dec 2006 17:57:56 +0000 (17:57 +0000)]
The Big Image refactor!

Please read:

Or in short:

- adding MultiLayer Image support
- recoded entire Image API
- better integration of movie/sequence Images

Was a whole load of work... went down for a week to do this. So, will need
a lot of testing! Will be in irc all evening.

14 years agoPython API
Ken Hughes [Wed, 20 Dec 2006 16:02:01 +0000 (16:02 +0000)]
Python API
Change to accept the string "Empty" instead of Python
None when creating new empty objects.

14 years agoModified sculptmode's vertex_users to use one large chunk of memory rather than many...
Nicholas Bishop [Wed, 20 Dec 2006 08:33:30 +0000 (08:33 +0000)]
Modified sculptmode's vertex_users to use one large chunk of memory rather than many small pieces.

14 years agoAs Brecht suggested, changed multires vert maps to use one big chunk of memory rather...
Nicholas Bishop [Wed, 20 Dec 2006 08:12:32 +0000 (08:12 +0000)]
As Brecht suggested, changed multires vert maps to use one big chunk of memory rather than many small ones.

14 years agoFixed bug #5443, Multires: crash when changing the level of edges to draw
Nicholas Bishop [Wed, 20 Dec 2006 07:04:40 +0000 (07:04 +0000)]
Fixed bug #5443, Multires: crash when changing the level of edges to draw

14 years agoEnable 'show physics visualization' in the Game Menu. Should help to locate problems...
Erwin Coumans [Wed, 20 Dec 2006 06:43:43 +0000 (06:43 +0000)]
Enable 'show physics visualization' in the Game Menu. Should help to locate problems with collision detection/physics (also useful when baking, and/or using the new rigidbody constraints).

14 years agoSeveral small fixes for sculptmode. First, corrected the fade formula for sculptmode...
Nicholas Bishop [Wed, 20 Dec 2006 06:09:32 +0000 (06:09 +0000)]
Several small fixes for sculptmode. First, corrected the fade formula for sculptmode to use pi rather than 3. Second, property set with the FKey now updates the screen immediately when activated. Third, the two propset modes are now offset to the left of the mouse so that small adjustments to strength and size are easier to make.

14 years ago=== Transform Snap ===
Martin Poirier [Tue, 19 Dec 2006 22:25:07 +0000 (22:25 +0000)]
=== Transform Snap ===

Draw a circle around the snapping point for visual aid.

Different snapping target method, switchable in the 3d view header menu in the Transform menu.

* Closest: Snaps the closest vertex to the point
* Median: Snaps the median of the selection to the point
* Center: Snaps the transform center to the point (this is different from median because you can use Cursor/Boundbox as center)

Fix a bug with constraints/snap handling.

14 years agoPrevent user from duplicating elements in edit mode while multires is active.
Nicholas Bishop [Tue, 19 Dec 2006 18:38:21 +0000 (18:38 +0000)]
Prevent user from duplicating elements in edit mode while multires is active.

14 years agoPython API
Ken Hughes [Tue, 19 Dec 2006 17:17:14 +0000 (17:17 +0000)]
Python API
Correcting typos in Object documentation.

14 years agoadding ob_arm.makeParentBone([ob1, ob2...], bonename)
Campbell Barton [Tue, 19 Dec 2006 09:41:45 +0000 (09:41 +0000)]
adding ob_arm.makeParentBone([ob1, ob2...], bonename)
ob.parentbonename is also settable now as long as it already has a bone parent

14 years ago== Action Editor - Column Select Tools ==
Joshua Leung [Tue, 19 Dec 2006 09:21:41 +0000 (09:21 +0000)]
== Action Editor - Column Select Tools ==

* 'On Selected Markers' and 'Between Selected Markers' now get a
correction for NLA action scaling .

* Bugfix for 'Between Selected Markers': now keyframes that occur
on and between the selected markers get selected.

* Bugfix for 'On Selected Markers': now it only considers selected
markers (it used to consider all markers)

14 years ago=== Transform Snap ===
Martin Poirier [Mon, 18 Dec 2006 23:48:32 +0000 (23:48 +0000)]
=== Transform Snap ===

Work in Progress: this adds vertex snapping capabilities to translations.

As before, use the menu or the hotkey (` during transform) to turn on snapping.

Currently, snapping is restricted to translation and only snap to verts. Also, it will snap the nearest moving vert to the snapping vert.

This also has a timeout period and refreshes the snapping point only every 0.25 seconds (assuming the timer is precise enough to do that) to mitigate the slowdown due to repeated calls to findnearestvert. Eventually, a faster method will have to be used.

Also, this uncovered a bug in findnearestvert which can manifest itself as jumps and lags in snapping. People are looking into it.

Still, with all those disclaimers, get the suggestions/critics pouring in.

14 years ago=== Bug Fix ===
Martin Poirier [Mon, 18 Dec 2006 23:40:35 +0000 (23:40 +0000)]
=== Bug Fix ===

There was a hotkey conflict between Preview Render and Push/Pull in object mode.

This is a temporary fix, assigning Push/Pull to Alt-Shift-P (only applies to Object Mode, the rest is Shift-P as before).

14 years ago== Scaling Constraints Working in Local-Space ==
Joshua Leung [Mon, 18 Dec 2006 10:17:40 +0000 (10:17 +0000)]
== Scaling Constraints Working in Local-Space ==

* Patch #5442: "Fix Bone SizeLimit" by Heriberto Mendez (gammarayq21)
'Limit Scale' constraint can now work on bone's local scaling too.

* I've also made the 'Copy Scale' constraint able to use the local scaling
of bones too.

14 years agoAdded support for undoing multires actions in sculptmode.
Nicholas Bishop [Mon, 18 Dec 2006 08:39:11 +0000 (08:39 +0000)]
Added support for undoing multires actions in sculptmode.

14 years agoUse degrees instead of radians for rigidbody constraint axis (euler angles). Radians...
Erwin Coumans [Mon, 18 Dec 2006 07:51:12 +0000 (07:51 +0000)]
Use degrees instead of radians for rigidbody constraint axis (euler angles). Radians can't specifiy 90-degree angles precisely, the input is only 3 decimals accurate...

14 years ago== NLA Editor ==
Joshua Leung [Mon, 18 Dec 2006 05:15:17 +0000 (05:15 +0000)]
== NLA Editor ==

Todo Tracker Item: #4754

Now the 'Convert Action to NLA Strip' command (CKEY) is able to
be found in the NLA editor's header in the Strip Menu. It now tries
to add a convert the active action of the active object (so it is no
longer dependant on mouse location).

14 years agoThe OpenEXR include path needed to be a bit more elaborate... oddly
Chris Want [Mon, 18 Dec 2006 01:22:38 +0000 (01:22 +0000)]
The OpenEXR include path needed to be a bit more elaborate... oddly
cmake always says OPENEXR_INC not found despite the fact that I have
the headers and it finds them correctly during building.

There seems to be some conflict between setting, configuring as an
option, and autofinding files for some of the dependencies, and I don't
know how to resolve this.

14 years ago== Action Editor ==
Joshua Leung [Mon, 18 Dec 2006 00:21:47 +0000 (00:21 +0000)]
== Action Editor ==

When the current action is the active strip in the nla editor and that strip
is scaled, snapping keys to the current frame didn't work correct. Now,
I've added a correction for snapping and mirroring keyframes in action
editor for such cases.

14 years ago== Long Keyframes ==
Joshua Leung [Sun, 17 Dec 2006 23:21:24 +0000 (23:21 +0000)]
== Long Keyframes ==

Removed a check that was not really useful, and seemed to cause
a few problems for some people when duplicating keyframes.

14 years ago== Transform Limiting Constraints ==
Joshua Leung [Sun, 17 Dec 2006 10:02:23 +0000 (10:02 +0000)]
== Transform Limiting Constraints ==

Two tweaks:
* Reduced the amount of empty space at the bottom of these constraints.
* When using the Add Constraint menu (Ctrl Alt C) to add new constraints,
an empty is no longer created when creating a "Limit *" constraint.

14 years agoMissing variable initialization from earlier Object.New() patch.
Ken Hughes [Sun, 17 Dec 2006 06:58:02 +0000 (06:58 +0000)]
Missing variable initialization from earlier Object.New() patch.

14 years agoPython API
Ken Hughes [Sun, 17 Dec 2006 05:55:56 +0000 (05:55 +0000)]
Python API
Bugfix #5447: bug in determining whether a Curve was a CurNurb or SurfNurb.

14 years agoprevent crash in case no polygons have collisions assigned
Erwin Coumans [Sun, 17 Dec 2006 05:54:45 +0000 (05:54 +0000)]
prevent crash in case no polygons have collisions assigned

14 years agoPython API
Ken Hughes [Sun, 17 Dec 2006 04:24:19 +0000 (04:24 +0000)]
Python API
Fixing various typos (hey guys, it's helpful to proofread the documentation
before you commit it :-) )

14 years agoRemoved double confirmation for deleting keys in action editor.
Joshua Leung [Sun, 17 Dec 2006 03:03:05 +0000 (03:03 +0000)]
Removed double confirmation for deleting keys in action editor.

14 years agoadded fakeUser and users to more pytypes
Campbell Barton [Sun, 17 Dec 2006 02:16:29 +0000 (02:16 +0000)]
added fakeUser and users to more pytypes

14 years ago=IDProperties Python Test GUI Script update=
Joseph Eagar [Sun, 17 Dec 2006 01:08:47 +0000 (01:08 +0000)]
=IDProperties Python Test GUI Script update=

Stupid typo in script, you couldn't go into
a subgroup if it was the first property in
the list.

Also, name collision code needed a little work.
This could result in overwriting properties
with the New button, which should instead
work as the rest of blender and add .XXX
to the name.

14 years ago=IDProperties Python update=
Joseph Eagar [Sun, 17 Dec 2006 00:58:23 +0000 (00:58 +0000)]
=IDProperties Python update=

Updated epydocs for next-to-latest
id properties commit.

14 years ago=IDProperties Python update=
Joseph Eagar [Sun, 17 Dec 2006 00:51:07 +0000 (00:51 +0000)]
=IDProperties Python update=

Added a test gui script for ID Properties.  To use,
just select ID Property Browser from the help menu.
You can browse, create and edit ID Properties
for several library block types.  Should be
fairly straightforward to use.

This is a test gui script; once an actual ID property
gui is implemented in blender it will be removed.  It
is *not* going to be in the release, obviously, so once
the real gui is implemented this script will be removed.
Also, this being a testing non-release script it seems to me
to be okay to add it without all the proper review stuff.  If
not, I can remove it.

I believe a test script is really, really needed to properly
test/review id properties, so I feel this is worth it.

14 years agoPython API
Ken Hughes [Sun, 17 Dec 2006 00:21:57 +0000 (00:21 +0000)]
Python API
A more robust attempt to avoid creating non-Empty objects with no data while
maintaining backward compatibility.

14 years agoUse ed.key and face.edge_keys to build connectivity data faster.
Campbell Barton [Sun, 17 Dec 2006 00:08:05 +0000 (00:08 +0000)]
Use ed.key and face.edge_keys to build connectivity data faster.

14 years ago=IDProperties Python update=
Joseph Eagar [Sat, 16 Dec 2006 23:54:45 +0000 (23:54 +0000)]
=IDProperties Python update=

Updated id properties interface as per
discussed in python meeting.  Basically,
id properties are now entirely accessed
through the dict-like interface if IDGroupType.
Also, tp_getsetters are used throughout the code

Using the dict interface allowed for a major cleanup
of the wrapping code.  The biggest change is that ID
properties are no longer wrapped in a structure with
.type .name and .data members; instead when you get
properties from the group it returns the direct value.
Ints, strings and floats return simple python types,
while arrays and groups return special wrappers though.

This means to detect the type of an ID property, you
have to use type().  For string and int types this is
easy; for group and array types (which of course have
their own wrappers) you use type() with Blender.IDGroupType
or Blender.IDArrayType.

Update of epydocs plus a temporary gui script will be
forthcoming; the gui script will be removed before release
as of course by then we'll have a built-in gui for id

14 years agoadding ed.key and face.edge_keys
Campbell Barton [Sat, 16 Dec 2006 23:46:43 +0000 (23:46 +0000)]
adding ed.key and face.edge_keys
avoids a lot of boiler place code in scripts that need to build connectivity.

14 years agoEnable/Disable DupFaces from the Python API.
Campbell Barton [Sat, 16 Dec 2006 22:04:21 +0000 (22:04 +0000)]
Enable/Disable DupFaces from the Python API.

Fixed a (own) bug in fakeUsers and added fakeUsers to Objects and Materials as well as Mesh.

14 years agofixed issue: rbHalfExtents was accidently named wrongly rbShapeBoundType
Erwin Coumans [Sat, 16 Dec 2006 21:14:36 +0000 (21:14 +0000)]
fixed issue: rbHalfExtents was accidently named wrongly rbShapeBoundType

14 years agomade editmode select grouped work with mixed selections - can show select grouped...
Campbell Barton [Sat, 16 Dec 2006 10:39:08 +0000 (10:39 +0000)]
made editmode select grouped work with mixed selections - can show select grouped items for vert/edges/faces all at once.

bad comment in Axiscopy and spelling fix in export_obj

14 years agocontribution from RCRuiz:
Erwin Coumans [Sat, 16 Dec 2006 05:50:38 +0000 (05:50 +0000)]
contribution from RCRuiz:
drawing of rigidbody constraint pivots, and allow passing of full constraint frame.

14 years agoSys.c was getting the path seperator out of the python dict and converting it to...
Campbell Barton [Sat, 16 Dec 2006 03:36:54 +0000 (03:36 +0000)]
Sys.c was getting the path seperator out of the python dict and converting it to a char for all path functions.
made DIRSEP a constant and refer to that directly.
Draw.c's PupBlock limit was 24, made 120 to match blenders internal limit.

14 years ago== Long Keyframes ==
Joshua Leung [Sat, 16 Dec 2006 00:07:14 +0000 (00:07 +0000)]
== Long Keyframes ==

Bugfix for an error reported by Bassam/slikdigit.
Sometimes, long keyframes could still get created where they aren't
supposed to be (only occuring in a few ipo-curves).

14 years agoupdate to Axiscopy, more error checking. basic functionality the same.
Campbell Barton [Fri, 15 Dec 2006 22:14:33 +0000 (22:14 +0000)]
update to Axiscopy, more error checking. basic functionality the same.
- Dont allow it to apply the matrix twice to a linked-dupe. (Same as Apply Loc/Size/Rot)
- Make sure that the source object is active, not just the first selected object.
- Use Mesh instead of NMesh.
- use mesh.transform(mat) rather then vert by vert vec*mat

Other scripts had pupBlock changes for better layout.

14 years agomade the hax height of the clever_numbers 8 rather then 5, was wrapping on too many...
Campbell Barton [Fri, 15 Dec 2006 20:22:59 +0000 (20:22 +0000)]
made the hax height of the clever_numbers 8 rather then 5, was wrapping on too many scripts.
bvh import was having errors on joints with no animation.
typo in uvcopy from my previous commit.

14 years agoCMake: Add scripts copy back into postbuild on Windows after accidentally removing...
Jacques Beuarain [Fri, 15 Dec 2006 10:40:37 +0000 (10:40 +0000)]
CMake: Add scripts copy back into postbuild on Windows after accidentally removing it when adding the plugins

14 years agoWasnt initializing a pointer as null, messed up making new object names
Campbell Barton [Fri, 15 Dec 2006 09:58:16 +0000 (09:58 +0000)]
Wasnt initializing a pointer as null, messed up making new object names

14 years agoremoving uvcalc_from_adjacent for review on Sunday's meeting.
Campbell Barton [Fri, 15 Dec 2006 09:25:57 +0000 (09:25 +0000)]
removing uvcalc_from_adjacent for review on Sunday's meeting.
image_dump2path is a stopgap util. We need to look into making Pack/Unpack use filenames, not IDnames. or have some other datamanagement utility.

14 years ago== Action Editor - 'Long' Keyframes ==
Joshua Leung [Fri, 15 Dec 2006 05:51:53 +0000 (05:51 +0000)]
== Action Editor - 'Long' Keyframes ==

When animating, it is often useful to be able to visually see where the
'pauses' are between keyframes. Long keyframes do this - linking two
keyframes in the same channel together.

Long keyframes are only drawn when the two keyframes have the exact
same values. This has to happen for every ipo-curve represented by the
keyframes shown for a long keyframe to be drawn.

I've added two new theme colours for the action editor. They are for
the selected and deselected colours of the long keyframes (currently
defaulted to be the same as the NLA strip selection colours).

14 years agoShift flips the current axis your draging.
Campbell Barton [Fri, 15 Dec 2006 04:49:06 +0000 (04:49 +0000)]
Shift flips the current axis your draging.
uv's and mocified vertex coords are now in a big list rather then stored be faces, should be faster

14 years agoUpdated, optimizations and cleanup.
Campbell Barton [Fri, 15 Dec 2006 04:14:09 +0000 (04:14 +0000)]
Updated, optimizations and cleanup.
* accurate mouse to mapping using ray intersect,
* right clicking cancels and returns original coords

Doc is here

14 years agoBugfix #5434: Animation (alt-a / timeline) will not play if Sta:
Joshua Leung [Thu, 14 Dec 2006 23:38:43 +0000 (23:38 +0000)]
Bugfix #5434: Animation (alt-a / timeline) will not play if Sta:
frame set higher than End: frame

The end frame should not be allowed to have a value less
than the start frame. This commit sets the minimum allowable
value of the end frame button in the Anim panel and the timeline
to the start frame value.

Ton/Matt - if there is a good reason to not do this, feel free to
revert it back.

14 years ago== Add Constraints Menu ==
Joshua Leung [Thu, 14 Dec 2006 23:20:47 +0000 (23:20 +0000)]
== Add Constraints Menu ==

Now, it is possible to add action constraints to the last selected bone
from the Add Constraint Menu (Ctrl Alt C)

14 years agoConstraints on bones working in 'local' mode, now obey the Enforce
Joshua Leung [Thu, 14 Dec 2006 22:58:22 +0000 (22:58 +0000)]
Constraints on bones working in 'local' mode, now obey the Enforce
value for constraints. Only Copy Rotation used to do so.

Note: only enforce values of 0.0 or 1.0 are useful/totally predictable

14 years agonew Uv-Calculation tool,
Campbell Barton [Thu, 14 Dec 2006 19:36:37 +0000 (19:36 +0000)]
new Uv-Calculation tool,
Click project, a nifty 3 click way to use a face to set a projection aurientation and then 2 more clicks for the U and V scales
with realtime updating as you move the mouse
should be faster then using view project all the time because you dont have to line the view up with the faces.

14 years agofaster sorting syntax in python, try/except for py 2.3 backwards compat
Campbell Barton [Thu, 14 Dec 2006 14:53:32 +0000 (14:53 +0000)]
faster sorting syntax in python, try/except for py 2.3 backwards compat

  ls.sort(key = lambda v:
rather then
  ls.sort(lambda a,b: cmp(,

14 years ago* reverted and tweaked UV calculation menu after IRC discussion with Cam
Matt Ebb [Thu, 14 Dec 2006 10:43:13 +0000 (10:43 +0000)]
* reverted and tweaked UV calculation menu after IRC discussion with Cam

14 years agofixed mouseViewRay in BPyWindow, was not applying the objects matrix to the mouse...
Campbell Barton [Thu, 14 Dec 2006 09:56:56 +0000 (09:56 +0000)]
fixed mouseViewRay in BPyWindow, was not applying the objects matrix to the mouse direction correctly.
VCol and Weight gradient work again.

14 years agoobject_apply_def - use new BPy Object API funcs, no error in localview
Campbell Barton [Thu, 14 Dec 2006 03:43:02 +0000 (03:43 +0000)]
object_apply_def - use new BPy Object API funcs, no error in localview
off_export - minor changes
uv_archimap - cleanup. slightly slower but less duplicate code
uv_from_adjacent - nothing

BPY_menus - renamed py slot UvCalculation to UVCalculation to be consistant

14 years ago== Action Editor ==
Joshua Leung [Thu, 14 Dec 2006 00:08:49 +0000 (00:08 +0000)]
== Action Editor ==

When the active action in the action editor is the active strip in the
NLA editor, translating (GKEY) the selected keys now shows the
'visual' time instead of the action's local time in the header.

14 years agoMake 'WITH_OPENAL' a configurable option. This is mostly cosmetic
Chris Want [Wed, 13 Dec 2006 18:31:54 +0000 (18:31 +0000)]
Make 'WITH_OPENAL' a configurable option. This is mostly cosmetic
because it gets set to one value or another on most platforms.
On windows, only link to DirectX if WITH_OPENAL is set to ON
(it isn't needed otherwise). This OpenAL stuff is pretty confusing!

14 years agoReverting IMAnames_to_pupstring to IDnames_to_pupstring
Kent Mein [Wed, 13 Dec 2006 15:37:59 +0000 (15:37 +0000)]
Reverting IMAnames_to_pupstring to IDnames_to_pupstring
until Ton changes it to whatever he was thinking ;)


14 years agoCMake: Fix reqular expression message on Windows from Apple framework detection by...
Jacques Beuarain [Wed, 13 Dec 2006 12:27:11 +0000 (12:27 +0000)]
CMake: Fix reqular expression message on Windows from Apple framework detection by using common OPENAL_INC variable instead of CMake detection var OPENAL_INCLUDE_DIR

14 years agoArmature Proxy bugfix: synchronizing the pose went wrong when the proxy
Ton Roosendaal [Wed, 13 Dec 2006 08:50:11 +0000 (08:50 +0000)]
Armature Proxy bugfix: synchronizing the pose went wrong when the proxy
had new dependencies added internally (like constraints), changing the
evaluation order for pose channels. My optimized code didn't like it, so
now it falls back to a reliable slower method.

Bug showed as totally messed up characters for proxies...

Also: increased range for 3D Window properties clip-start/end, this is
still a bad construct though...

14 years agopython multi UV support -
Campbell Barton [Wed, 13 Dec 2006 03:21:14 +0000 (03:21 +0000)]
python multi UV support -
active index was incorrect, removing layers after they had non was crashing blender, now raise an error.

14 years agoCMake: Give error on attempts to generate within the sources with
Jacques Beuarain [Wed, 13 Dec 2006 02:57:57 +0000 (02:57 +0000)]
CMake: Give error on attempts to generate within the sources with
instructions on how to do it out-of-source

14 years agoname changes from theeths suggestions
Campbell Barton [Wed, 13 Dec 2006 02:55:49 +0000 (02:55 +0000)]
name changes from theeths suggestions
totUvLayers -> totalUVLayers
addUvLayers -> addUVLayers

14 years agoCrude test so that if openal comes from apple framework stuff, use the
Chris Want [Wed, 13 Dec 2006 02:54:59 +0000 (02:54 +0000)]
Crude test so that if openal comes from apple framework stuff, use the
headers <al.h>, <alc.h>, and <alut.h> instead of <AL/al.h>, <AL/alc.h>,
and <AL/alut.h>

(cmake generated makefiles now work out of the box on my intel mac)

14 years agoSmall typo (-DNO_SOUND instead of -DNOSOUND).
Chris Want [Wed, 13 Dec 2006 02:11:11 +0000 (02:11 +0000)]
Small typo (-DNO_SOUND instead of -DNOSOUND).

14 years agoFixed bug #5402, retopo paint lines don't follow zoom level of 3d viewport. Retopo...
Nicholas Bishop [Wed, 13 Dec 2006 00:54:16 +0000 (00:54 +0000)]
Fixed bug #5402, retopo paint lines don't follow zoom level of 3d viewport. Retopo paint is now specific to one view (the first view you click in after activating retopo paint.)

14 years agoexposed CustomData_get_active_layer_index in BKE_customdata.h (needed by python to...
Campbell Barton [Wed, 13 Dec 2006 00:50:02 +0000 (00:50 +0000)]
exposed CustomData_get_active_layer_index in BKE_customdata.h (needed by python to get the active layer)

added python api stuff to deal with Color and UV/Image layers.

me.activeUvLayer - int
me.activeColorLayer - int
me.totUvLayers - int
me.totColorLayers - int


Variable names may need changing.