14 years agofixed remaining sqrtf into btSqrt
Erwin Coumans [Thu, 28 Dec 2006 19:02:31 +0000 (19:02 +0000)]
fixed remaining sqrtf into btSqrt

14 years agowas missing getColorLayerNames and getUVLayerNames from docs.
Campbell Barton [Thu, 28 Dec 2006 12:56:00 +0000 (12:56 +0000)]
was missing getColorLayerNames and getUVLayerNames from docs.

14 years agoBugfix #5541
Ton Roosendaal [Thu, 28 Dec 2006 12:07:11 +0000 (12:07 +0000)]
Bugfix #5541

Composite: Scale Node didn't correctly pass on 1-channel buffers when no
scaling happened, resulting in crashes.

14 years agoBugfix #5540
Ton Roosendaal [Thu, 28 Dec 2006 11:31:22 +0000 (11:31 +0000)]
Bugfix #5540

Datbrowse return event was accidentally cleared, so browsing did not work.
(Commit of last week for image refactor).

14 years agoPreview render in 3D window used wrong clipping...
Ton Roosendaal [Thu, 28 Dec 2006 11:14:08 +0000 (11:14 +0000)]
Preview render in 3D window used wrong clipping...

14 years agomade scn.objects more flexible... you can now things like...
Campbell Barton [Thu, 28 Dec 2006 11:09:36 +0000 (11:09 +0000)]
made scn.objects more flexible... you can now things like...

scn.objects.selected = [] # deselect all
scn.objects.selected = scn.objects # select all
scn.objects.context = [ob1, ob2...]

Added epydoc examples and updates importer scripts to use this de-select-all method.

14 years agoAdded numerical input for sculptmode propset
Nicholas Bishop [Thu, 28 Dec 2006 08:24:37 +0000 (08:24 +0000)]
Added numerical input for sculptmode propset

14 years agoHolding control while using sculptmode propset now snaps to multiples of 10
Nicholas Bishop [Thu, 28 Dec 2006 07:49:08 +0000 (07:49 +0000)]
Holding control while using sculptmode propset now snaps to multiples of 10

14 years agoFixed bug #5533, was allocating memory by totvert rather than totface
Nicholas Bishop [Thu, 28 Dec 2006 07:33:39 +0000 (07:33 +0000)]
Fixed bug #5533, was allocating memory by totvert rather than totface

14 years agoAdded numerical display of sculptmode propset in preperation for numerical input
Nicholas Bishop [Thu, 28 Dec 2006 07:04:05 +0000 (07:04 +0000)]
Added numerical display of sculptmode propset in preperation for numerical input

14 years agomesh skin was flipping the skin between 2 loops because of an error in AngleBetweenVe...
Campbell Barton [Thu, 28 Dec 2006 06:51:44 +0000 (06:51 +0000)]
mesh skin was flipping the skin between 2 loops because of an error in AngleBetweenVecs python function that always returned 180d

14 years agoMade it possible to copy modifiers from the python API
Campbell Barton [Thu, 28 Dec 2006 06:47:56 +0000 (06:47 +0000)]
Made it possible to copy modifiers from the python API
ob1.modifiers = ob2.modifiers

14 years agoMech cleanup use new edge_keys
Campbell Barton [Thu, 28 Dec 2006 05:00:35 +0000 (05:00 +0000)]
Mech cleanup use new edge_keys
continual script stuff, minor stuff..

fix for bad return in group.
Added back group.objects.append/remove but print deprectaed warning. also some epydoc changes.

14 years ago=== Bug Fix ===
Martin Poirier [Thu, 28 Dec 2006 03:11:21 +0000 (03:11 +0000)]
=== Bug Fix ===

Fix for bug [ #5522 ] inaccurate rotation

Entering very high/low values using numeric input in a rotation (+/- 360000 and more/less) resulted in incorrect rotations. Fixed by clamping the actual rotation between -180 and 180 before converting to radians (just to be clear, the clamping already happened and is inevitable, now, it just happens earlier).

14 years agoA few little cleanups in keyframing code
Joshua Leung [Thu, 28 Dec 2006 03:04:54 +0000 (03:04 +0000)]
A few little cleanups in keyframing code
* Added a few missing undo-pushes for a few keyframing options
* Made inserting visual rotation keyframes for objects use Mat4ToEul

14 years ago== Armature Centering Tools ==
Joshua Leung [Wed, 27 Dec 2006 23:30:59 +0000 (23:30 +0000)]
== Armature Centering Tools ==

After all these years, it is now possible to (re)center armatures like you
can do with meshes and curves.

At the moment, you can only access this functionality from the menus
(Spacebar->Transform) as the armature button panels are pretty

14 years agoMinor code cleanups of posemode bone snapping code
Joshua Leung [Wed, 27 Dec 2006 21:56:00 +0000 (21:56 +0000)]
Minor code cleanups of posemode bone snapping code

14 years agoAdded checks in sculptmode for mirror modifiers with Do Clipping enabled, this now...
Nicholas Bishop [Wed, 27 Dec 2006 21:41:25 +0000 (21:41 +0000)]
Added checks in sculptmode for mirror modifiers with Do Clipping enabled, this now works as expected for all brushes

14 years agoWhen calculating brush size, pressure should be ignored for grab brush
Nicholas Bishop [Wed, 27 Dec 2006 20:21:07 +0000 (20:21 +0000)]
When calculating brush size, pressure should be ignored for grab brush

14 years agoSwitching editmode on then off again with multires enabled should update the edge...
Nicholas Bishop [Wed, 27 Dec 2006 20:08:29 +0000 (20:08 +0000)]
Switching editmode on then off again with multires enabled should update the edge visibility

14 years agoPython API
Ken Hughes [Wed, 27 Dec 2006 18:39:39 +0000 (18:39 +0000)]
Python API
Bugfix. Refactor from a few months ago broke ob.loc; it only accepted a tuple
of 3 floats instead of a list.  Make it accept both types now.

14 years agoAdded a function to BPyMesh - getFaceLoopEdges(faces, seams=[])
Campbell Barton [Wed, 27 Dec 2006 15:21:34 +0000 (15:21 +0000)]
Added a function to BPyMesh - getFaceLoopEdges(faces, seams=[])
returns all face loops as a list of their edge keys

Used this in uvcalc_follow_active_coords to speed it from 5.53sec to 0.098 on a 1000 face mesh.

14 years agoadded Draw.Normal() for the normal rotating sphere button, mostly the same as the...
Campbell Barton [Wed, 27 Dec 2006 11:58:03 +0000 (11:58 +0000)]
added Draw.Normal() for the normal rotating sphere button, mostly the same as the ColorPicker in code and syntax.

14 years agoBugfix #5430
Ton Roosendaal [Wed, 27 Dec 2006 10:21:33 +0000 (10:21 +0000)]
Bugfix #5430

"Delete object" didn't correctly clear all pointers in Object NLA modifiers

14 years agoFix for bug #5523:
Brecht Van Lommel [Wed, 27 Dec 2006 10:20:29 +0000 (10:20 +0000)]
Fix for bug #5523:
A crash on rendering with multiple UV layers, layer names weren't always
getting copied correct.

14 years ago== Editmode Bone Snapping ==
Joshua Leung [Wed, 27 Dec 2006 10:02:27 +0000 (10:02 +0000)]
== Editmode Bone Snapping ==

I've often found it very annoying that with both ends of a bone selected,
they would both get snapped to the snapping point. This means that the bone
becomes zero-length, hence disappears from view and gets deleted upon
leaving editmode.

Now, when both ends of the bone are selected, only the head of the bone gets
snapped to the snapping point. The tail will get offset by the same amount
that the head gets offset by, thus preventing zero-length bones.

14 years agoweightpaint_clean, option to clean all vgroups
Campbell Barton [Wed, 27 Dec 2006 09:31:28 +0000 (09:31 +0000)]
weightpaint_clean, option to clean all vgroups
weightpaint_envelope_assign - can update active vgroup only
weightpaint_normalize - fixups
BKE_plugin_types - made the max length 32 ratehr then 16 so you can fill the text space in pupBlock

14 years agoChecking the sculptmode state should include the sculpt session
Nicholas Bishop [Wed, 27 Dec 2006 07:43:48 +0000 (07:43 +0000)]
Checking the sculptmode state should include the sculpt session

14 years ago== PoseMode Bone Snapping ==
Joshua Leung [Wed, 27 Dec 2006 05:48:49 +0000 (05:48 +0000)]
== PoseMode Bone Snapping ==

Bugfix for my previous snapping commit. In some cases, bones still
didn't snap correctly (parentless 'root' bones). That was because those
cases assumed that constraints had no effect on those bones.

14 years agoPython API
Ken Hughes [Wed, 27 Dec 2006 05:30:32 +0000 (05:30 +0000)]
Python API
Perform better param checking on Curve bevel and taper objects so that an
curve can't use its own object.  Also stick a big warning in the docs for
Curve.setTotcol(), which seems to be an extremely dangerous method.

14 years agorenameing datablocks was imposing a name limit on the python side.
Campbell Barton [Wed, 27 Dec 2006 05:04:20 +0000 (05:04 +0000)]
renameing datablocks was imposing a name limit on the python side.
This isnt needed because the limit is alredy being set by rename_id()
some other minor changed- use None returning maro

14 years ago== Copy Rotation Constraint - Bugfix #5519 ==
Joshua Leung [Wed, 27 Dec 2006 05:00:43 +0000 (05:00 +0000)]
== Copy Rotation Constraint - Bugfix #5519 ==

Now, when only one axis toggle is on and click on it, all of the other
toggles will not be turned on.

For this to work, I've moved the version patches in the drawing/evaluation
code for this constraint to the file-reading code.

14 years agonormalize hitnormal
Erwin Coumans [Tue, 26 Dec 2006 23:03:36 +0000 (23:03 +0000)]
normalize hitnormal

14 years ago-fixes in player: draw physics debugging, only render frames when actually updated...
Erwin Coumans [Tue, 26 Dec 2006 22:02:31 +0000 (22:02 +0000)]
-fixes in player: draw physics debugging, only render frames when actually updated, fix with hierarchies not properly build (causing crashes)

14 years agoPython API
Ken Hughes [Tue, 26 Dec 2006 21:12:34 +0000 (21:12 +0000)]
Python API
Bugfix: make Constant mp_subscript method return key error if key not found
in dictionary.

14 years agoPython API
Ken Hughes [Tue, 26 Dec 2006 19:47:34 +0000 (19:47 +0000)]
Python API
Bugfix: fix my own over-optimization in insertIpoKey(), allow IPOKEY_LOCROT
and IPOKEY_LOCROTSIZE to again set rotation and size Ipo curves.

14 years agoPython API
Ken Hughes [Tue, 26 Dec 2006 19:13:13 +0000 (19:13 +0000)]
Python API
Bugfix for at least one annoying "DeprecationWarning: integer argument
expected, got float" followed by garbage printed to the console.  The message
happens when PyArg_Parse() is called to parse an integer but is passed a
float.  This happens in a few other places, bun unfortunately I can't fix
them all right now.

14 years agoPython API
Ken Hughes [Tue, 26 Dec 2006 15:07:49 +0000 (15:07 +0000)]
Python API
Correct some typos in Ipo API documentation.

14 years agoLittle commit to curb a tiny bit of the complaining about how easy
Roland Hess [Tue, 26 Dec 2006 12:51:55 +0000 (12:51 +0000)]
Little commit to curb a tiny bit of the complaining about how easy
it is to accidentally quit Blender and "lose" your work.

Even though there is quit.blend, Ton said he had no problem
with at least removing plain of 'q' for quit.

Quit Blender hotkey is now Ctrl-Q.

14 years agoBugfixes #5314 and #5424
Ton Roosendaal [Tue, 26 Dec 2006 11:26:10 +0000 (11:26 +0000)]
Bugfixes #5314 and #5424

- removed the "\" from pulldown menu, and replaced with readable "or"
  (makes it for translation systems easier to parse)
- the theme menu, area type chooseer menu, "Timeline" didnt draw in the
  button due to bad pupmenu_col() code with using 'seperators'. Fixed it
  by just adding another separator for now.

Both fixes reviewed and provided by Juho. Thanks!

14 years agoBugfix #5498
Ton Roosendaal [Tue, 26 Dec 2006 10:18:38 +0000 (10:18 +0000)]
Bugfix #5498

Textbutton: SHIFT+Arrow selections did not work proper when the amount of
text in a button was more than its width could display. Now still doesn't
work OK 100% (when selection itself goes outside of button view).

Also: removed the very bad SELWIDTH define (but->selend - but->selsta).
That's not making readable code!

14 years agoAncient bug: when subdividing the screen many times, it gives a crash when
Ton Roosendaal [Tue, 26 Dec 2006 09:19:19 +0000 (09:19 +0000)]
Ancient bug: when subdividing the screen many times, it gives a crash when
the amount of subwindows reaches 128 (64 areas+headers).

Added a warning instead of crash!

14 years agoBugfix #5487
Ton Roosendaal [Tue, 26 Dec 2006 08:46:58 +0000 (08:46 +0000)]
Bugfix #5487

New glDrawArrays() code used an array size of '1' for drawing Surface
curves/polys. Seems to crash in Linux...

14 years agoCamera.c refactor, moved to getsetattrs. deprecated get/set functions. and added...
Campbell Barton [Tue, 26 Dec 2006 07:00:32 +0000 (07:00 +0000)]
Camera.c refactor, moved to getsetattrs. deprecated get/set functions. and added access to all camera settings.
cam.type now uses 'ortho' and 'persp' rather then 0 and 1

group.c and object.c, minor cleanup

14 years ago-> Further work to improve triangle conversion tool:
Geoffrey Bantle [Tue, 26 Dec 2006 02:00:56 +0000 (02:00 +0000)]
-> Further work to improve triangle conversion tool:

The improved triangle to quad conversion is now better integrated
into Blender in several respects. First of all the code makes distinctions
between 'simple' pairs and 'complex' pairs. Simple pairs are an island of
exactly two selected triangles that are joined by an edge. These simple pairs
are subject to the old 2.42 rules for joining triangles. Complex pairs are part
of larger islands of selected triangles and their conversion is controlled by
several parameters that can be individually tweaked via new buttons located
in the "Mesh Tools" panel of the editing buttons. Furthermore the tool deals
with any arbitrary combination of simple and complex islands in a consistent and
logcial way.

The code has also been drasitcally cleaned up and should address the open
bugs in the tracker regarding alt-j. However as part of cleanup the tool has
been made somewhat slower to insure a consistent mesh structure. This is a
limitation of the exist_face() function in editmesh and will have to be adressed
at a later date.

14 years agoobject_cookie_cutter - use edge keys
Campbell Barton [Tue, 26 Dec 2006 01:45:58 +0000 (01:45 +0000)]
object_cookie_cutter - use edge keys

widgetwizard - made a mistake in last commit, works and also dosnt creash with bug.
Can others test so we can close?

Object_join was messing up object usercounts

14 years agoFixed a number of crashes occuring when loading saved files with sculpt mode active...
Nicholas Bishop [Mon, 25 Dec 2006 23:52:17 +0000 (23:52 +0000)]
Fixed a number of crashes occuring when loading saved files with sculpt mode active. (mostly missing checks for a sculpt session.)

14 years agoUpdate sculpt object when switching mesh shapes in the IPO editor
Nicholas Bishop [Mon, 25 Dec 2006 23:16:22 +0000 (23:16 +0000)]
Update sculpt object when switching mesh shapes in the IPO editor

14 years agomesh_skin updated to use ed.key, other minor cleanups.
Campbell Barton [Mon, 25 Dec 2006 23:14:48 +0000 (23:14 +0000)]
mesh_skin updated to use ed.key, other minor cleanups.
updated the url in other scripts

14 years agoPython API
Ken Hughes [Mon, 25 Dec 2006 21:15:53 +0000 (21:15 +0000)]
Python API
Add .materials attribute to BPy Curve API.  Also clean up Mesh.materials

14 years agominor fix in Bullet internals
Erwin Coumans [Mon, 25 Dec 2006 19:54:17 +0000 (19:54 +0000)]
minor fix in Bullet internals

14 years agoSculptmode now works properly with shape keys (Merry Christmas.) Fixes bug #5499...
Nicholas Bishop [Mon, 25 Dec 2006 19:11:20 +0000 (19:11 +0000)]
Sculptmode now works properly with shape keys (Merry Christmas.) Fixes bug #5499, Sculpt mode don't works correctly with Shape Key.

14 years agoPython API
Ken Hughes [Mon, 25 Dec 2006 15:07:16 +0000 (15:07 +0000)]
Python API
Change "requiresd" to "required" in getChildren() documentation.

14 years agosomehow pasted some text by mistake that raised an error.
Campbell Barton [Mon, 25 Dec 2006 10:53:00 +0000 (10:53 +0000)]
somehow pasted some text by mistake that raised an error.

14 years agoPyAPI driverExpression:
Campbell Barton [Mon, 25 Dec 2006 10:44:28 +0000 (10:44 +0000)]
PyAPI driverExpression:
added "ipocurve.driver = 2" to set the curve to use driver python expressions.
added ipocurve.driverExpression - the string to run.

14 years agomodified scripts from using older/depricated Python API commands, deprecated scn...
Campbell Barton [Mon, 25 Dec 2006 09:17:23 +0000 (09:17 +0000)]
modified scripts from using older/depricated Python API commands, deprecated scn.getChildren() in the docs.

14 years agoCleanup of the SDNA SculptData struct. Moved a lot of data that isn't saved into...
Nicholas Bishop [Mon, 25 Dec 2006 08:52:57 +0000 (08:52 +0000)]
Cleanup of the SDNA SculptData struct. Moved a lot of data that isn't saved into a separate SculptSession struct (outside of SDNA.)

14 years agoprevent crashes: some python scripts keep 'global variable' access to destroyed game...
Erwin Coumans [Mon, 25 Dec 2006 04:11:39 +0000 (04:11 +0000)]
prevent crashes: some python scripts keep 'global variable' access to destroyed game objects.

14 years agofixing some issues: force needs to wake up objects, property sensor issue, island...
Erwin Coumans [Mon, 25 Dec 2006 02:02:13 +0000 (02:02 +0000)]
fixing some issues: force needs to wake up objects, property sensor issue, island activation issue

14 years agoAttempt to fix mouse-look in game engine on OS X: setCursorPosition. Thanks Malachy...
Erwin Coumans [Sun, 24 Dec 2006 21:21:49 +0000 (21:21 +0000)]
Attempt to fix mouse-look in game engine on OS X: setCursorPosition. Thanks Malachy for the fix, it seem to work on MacOS Intel.

14 years agoI think this might be a safer way of dealing with the non-OpenEXR
Chris Want [Sun, 24 Dec 2006 20:19:56 +0000 (20:19 +0000)]
I think this might be a safer way of dealing with the non-OpenEXR
compilation of image.c -- Ton: please check.

14 years agoSome more duct tape to make sure that blender[player] still builds
Chris Want [Sun, 24 Dec 2006 16:03:31 +0000 (16:03 +0000)]
Some more duct tape to make sure that blender[player] still builds
when compiled without OpenEXR.

14 years agoadded CustomData_add_layer_named, same as CustomData_add_layer but accepts a name...
Campbell Barton [Sun, 24 Dec 2006 11:15:54 +0000 (11:15 +0000)]
added CustomData_add_layer_named, same as CustomData_add_layer but accepts a name. saves Mesh.c having to look up the data after adding (just to rename it)

14 years agoinitial python support for dealing with multires meshes.
Campbell Barton [Sun, 24 Dec 2006 10:51:31 +0000 (10:51 +0000)]
initial python support for dealing with multires meshes.

Can only change levels and values at the moment. adding and removing is still needed.

multires: bool
multiresLevelCount: int
multiresDrawLevel: int
multiresEdgeLevel: int
multiresPinLevel: int
multiresRenderLevel: int

14 years agoUncommitted the stub again.
Alexander Ewering [Sun, 24 Dec 2006 10:29:05 +0000 (10:29 +0000)]
Uncommitted the stub again.

Can anyone who knows more than me add a correct stub for this?
Blenderplayer doesn't link for me because it can't find that

14 years agoFixed bug #5506 retopo - ctrl-click extrude doesn't work for the first vertice.
Nicholas Bishop [Sun, 24 Dec 2006 09:45:49 +0000 (09:45 +0000)]
Fixed bug #5506 retopo - ctrl-click extrude doesn't work for the first vertice.

14 years agoreplaced id->us++ with id_us_plus(id); so any indirect libdata isnt lost on reload.
Campbell Barton [Sun, 24 Dec 2006 03:25:53 +0000 (03:25 +0000)]
replaced id->us++ with id_us_plus(id); so any indirect libdata isnt lost on reload.
added camera.dofDist to the python camera module

14 years agoAdded CustomData_get_named_layer_index to customdata to get a layer index by name...
Campbell Barton [Sat, 23 Dec 2006 23:33:03 +0000 (23:33 +0000)]
Added CustomData_get_named_layer_index to customdata to get a layer index by name, only used in Mesh.c at the moment.
cleanup Mesh.c, updated the epydocs

14 years agoPython API
Ken Hughes [Sat, 23 Dec 2006 18:16:20 +0000 (18:16 +0000)]
Python API
Bugfix submitted through bf-committers: Ipo.getNBezPoints() could cause
segfault due to incorrect check for end-of-list.

14 years agoSelect Grouped editdata- minor fix in the menu.
Campbell Barton [Sat, 23 Dec 2006 17:07:02 +0000 (17:07 +0000)]
Select Grouped editdata- minor fix in the menu.

Updated Python Mesh API to support UV and Color layers with names.
Similar to vertex group's

renamed a function in customdata.c CustomData_free_layers -> CustomData_free_layers_active and made CustomData_free_layers accept an index, this is needed so python could free layers that arnt active.

14 years agoPython API
Ken Hughes [Sat, 23 Dec 2006 15:30:50 +0000 (15:30 +0000)]
Python API
Bugfix #5492: correctly distinguish curves and surfaces in Curve iterator.

14 years agoAddition to last imagepaint fix. Not only can image be NULL, but also
Brecht Van Lommel [Sat, 23 Dec 2006 14:26:08 +0000 (14:26 +0000)]
Addition to last imagepaint fix. Not only can image be NULL, but also
it cannot be assumed that an image window exists, when doing 3d texture

14 years agoBugfix #5444
Ton Roosendaal [Sat, 23 Dec 2006 12:58:25 +0000 (12:58 +0000)]
Bugfix #5444

Additions in passrendering broke Baking a bit; what did not work was having
a full render + AO. Was missing a new flag initialize...

14 years agoBugfix, irc collection:
Ton Roosendaal [Sat, 23 Dec 2006 12:40:20 +0000 (12:40 +0000)]
Bugfix, irc collection:

ImagePaint crashed with using the new Brushes, NULL pointer check needed

14 years agoAdd a stub for IMB_exr_close() so blenderplayer compiles again
Alexander Ewering [Sat, 23 Dec 2006 12:19:18 +0000 (12:19 +0000)]
Add a stub for IMB_exr_close() so blenderplayer compiles again

(I hope I did this right - works for me at least)

14 years agoBugfix #5476
Ton Roosendaal [Sat, 23 Dec 2006 11:56:22 +0000 (11:56 +0000)]
Bugfix #5476

Lattice deforming a Particle system only supported regular parent relation-
ship, not modifiers.

14 years agoBugfix #5497
Ton Roosendaal [Sat, 23 Dec 2006 11:22:20 +0000 (11:22 +0000)]
Bugfix #5497

Imagewindow: new Jkey (swap render rects) feature didn't correctly support
the Curves panel.

14 years agoadding this script that makes surrounding quads follow the mapping of the active...
Campbell Barton [Sat, 23 Dec 2006 10:42:34 +0000 (10:42 +0000)]
adding this script that makes surrounding quads follow the mapping of the active face.
Added a new mode that generaly gives better results. "Loop Average" -
It gives good results for mapping roads that are more then just 1 quad wide.
Thanks LucidMonkey for pointing this out.

See the bottom of these docs.

14 years agoPreserve multiple UV and vertex color layers in NMesh.
Brecht Van Lommel [Sat, 23 Dec 2006 10:37:50 +0000 (10:37 +0000)]
Preserve multiple UV and vertex color layers in NMesh.

14 years agoBugfix #5481
Ton Roosendaal [Sat, 23 Dec 2006 09:50:07 +0000 (09:50 +0000)]
Bugfix #5481

After an ESC or render error, the render buffers in compositor were not
tagged to be released. Causing crashers.

14 years agoAdded two menu items to sculpt mode for controlling how much tablet pressure affects...
Nicholas Bishop [Sat, 23 Dec 2006 05:40:58 +0000 (05:40 +0000)]
Added two menu items to sculpt mode for controlling how much tablet pressure affects brush strength and brush size.

14 years ago=== Transform Snap ===
Martin Poirier [Sat, 23 Dec 2006 01:55:13 +0000 (01:55 +0000)]
=== Transform Snap ===

==== Rotation Snap ====

Bug fixes. "Should learn to test properly" * 100

It works ok now, not just when rotating around the Y axis...

14 years agoAdded Draw.BeginAlign(), Draw.EndAlign()
Campbell Barton [Sat, 23 Dec 2006 00:56:40 +0000 (00:56 +0000)]
Added Draw.BeginAlign(), Draw.EndAlign()
added align to a few scripts where it looks nice.

14 years ago=== Transform Snap ===
Martin Poirier [Sat, 23 Dec 2006 00:52:34 +0000 (00:52 +0000)]
=== Transform Snap ===

==== Rotation Snap ====

Snap is no longer limited to Translation, it works in Rotation too.

There's some bugs left with rotation snap when using constraints, I'll be ironing that next.

==== Bug Fixes ====

* Fix manipulators to always use Grid.
* Fix initialization bug (took two transform call to do a correct snap init when changing between Grid and Snap)

14 years agoFix for bug #5372, multires - adding new multires level in Edit Mode causes odd behaviour
Nicholas Bishop [Fri, 22 Dec 2006 23:02:10 +0000 (23:02 +0000)]
Fix for bug #5372, multires - adding new multires level in Edit Mode causes odd behaviour

Also fixed a memory leak with multires+deformverts in editmode.

14 years agosetting/getting mcol by index was flipping red/blue. works now.
Campbell Barton [Fri, 22 Dec 2006 22:57:05 +0000 (22:57 +0000)]
setting/getting mcol by index was flipping red/blue. works now.

14 years agoPython API
Ken Hughes [Fri, 22 Dec 2006 22:05:06 +0000 (22:05 +0000)]
Python API
Obligatory Englishization of BPy API documents. :-)

14 years agoArnaure.Get() now raises an error when the name dosnt exist. added warning in docs.
Campbell Barton [Fri, 22 Dec 2006 21:23:27 +0000 (21:23 +0000)]
Arnaure.Get() now raises an error when the name dosnt exist. added warning in docs.
Image - added img.fields, img.fields_odd, img.antialias, also updated the docs. replaced Py_BuildValue with faster list creation for getPixel functions.

14 years agoBugfix #5491
Ton Roosendaal [Fri, 22 Dec 2006 12:43:40 +0000 (12:43 +0000)]
Bugfix #5491

Ztransp Mask issue: now I did all this work to solve the exceptions, but
forgot the most simple case: regular alpha-over :)

This solves for example AA issues in ztransp-hair over solid faces.

14 years ago== Snap Bones To Location in PoseMode ==
Joshua Leung [Fri, 22 Dec 2006 09:05:37 +0000 (09:05 +0000)]
== Snap Bones To Location in PoseMode ==

Now the Snap To Location (Shift S) tools for bones in pose-mode
work correctly. Previously, only one of these tools was implemented,
but it only worked in some cases.

This fixes item #4874 in Todo Tracker. Was patch #5012.

14 years agoBugfix #5489
Ton Roosendaal [Fri, 22 Dec 2006 08:30:19 +0000 (08:30 +0000)]
Bugfix #5489

Variable "osatex" was hanging in cases, giving weird noisy results
in cases (like when you use extreme high frequency image texture).

14 years agoBugfix: UV texture layer without vertex color layer did not display correct
Brecht Van Lommel [Fri, 22 Dec 2006 08:23:25 +0000 (08:23 +0000)]
Bugfix: UV texture layer without vertex color layer did not display correct
in the game engine.

14 years agoAdded Vertex Color material node, making render engine support for multiple
Brecht Van Lommel [Fri, 22 Dec 2006 08:10:29 +0000 (08:10 +0000)]
Added Vertex Color material node, making render engine support for multiple
vertex color layers actually useful.

14 years agoFix: active face was lost switching between faceselect mode and editmode.
Brecht Van Lommel [Fri, 22 Dec 2006 07:45:01 +0000 (07:45 +0000)]
Fix: active face was lost switching between faceselect mode and editmode.

14 years agoDisallow applying modifiers that change mesh topology while multires is active
Nicholas Bishop [Fri, 22 Dec 2006 07:42:30 +0000 (07:42 +0000)]
Disallow applying modifiers that change mesh topology while multires is active

14 years agoMade multiple UV layers work with fastshade.
Brecht Van Lommel [Fri, 22 Dec 2006 07:41:29 +0000 (07:41 +0000)]
Made multiple UV layers work with fastshade.

14 years agoremoved typo from Render
Campbell Barton [Fri, 22 Dec 2006 07:07:20 +0000 (07:07 +0000)]
removed typo from Render
added extFromFormat to BPyRender to get the extension for a format

14 years agodocument render constants,
Campbell Barton [Fri, 22 Dec 2006 05:27:06 +0000 (05:27 +0000)]
document render constants,
these should NOT be set in the Module, very messy!
35 constants are stored in Blender.Scene.Render.* rather then there own dicts arranged by usage.

14 years agoadding ob.activeMaterial - allows you to get/set the active material for an object.
Campbell Barton [Fri, 22 Dec 2006 04:46:37 +0000 (04:46 +0000)]
adding ob.activeMaterial - allows you to get/set the active material for an object.

14 years agorewrote this script, it was the most out of date script and had some errors that...
Campbell Barton [Fri, 22 Dec 2006 00:19:45 +0000 (00:19 +0000)]
rewrote this script, it was the most out of date script and had some errors that are solved in the new script.
- moved to the weightpaint menu
- Use a group for envelope objects, no special names.
- Can use non mesh data for envalopes (anything that can be converted into a mesh - metaballs, text, surface)
- Dosnt rely on applying loc/size/rot for it to work properly
- Uses a good point-inside-mesh method (optimized with mesh and face bounding checks)
- uses Mesh instead of NMesh

todo, only update active vgroup