blender.git
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
symbol...

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
painting.

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.
http://mediawiki.blender.org/index.php/Scripts/Manual/UV_Calculate/Follow_active_quads

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

14 years agofilename was being copied into a string only the length of the max file.
Campbell Barton [Thu, 21 Dec 2006 22:30:30 +0000 (22:30 +0000)]
filename was being copied into a string only the length of the max file.

14 years agofix for bevel center as pointed out of the forums
Campbell Barton [Thu, 21 Dec 2006 22:13:14 +0000 (22:13 +0000)]
fix for bevel center as pointed out of the forums

14 years agoboxpack2d - python 2.3 compat fix, thanks brecht
Campbell Barton [Thu, 21 Dec 2006 21:56:11 +0000 (21:56 +0000)]
boxpack2d - python 2.3 compat fix, thanks brecht
gen_utils - needed to include BKE_library.h
off_import - use ed.key

14 years ago=== Transform Snap ===
Martin Poirier [Thu, 21 Dec 2006 20:45:57 +0000 (20:45 +0000)]
=== Transform Snap ===

The circle drawn around the snap point is now truely constant regardless of zoom and size of the window. That size if linearly proportional to the vertex size (bigger vertex -> bigger circle).

14 years agoAnother Image recode fix: the Composite backdrop option didn't work when
Ton Roosendaal [Thu, 21 Dec 2006 20:03:25 +0000 (20:03 +0000)]
Another Image recode fix: the Composite backdrop option didn't work when
no viewer images was generated before.

14 years ago"Save Buffers" fix: when you ESC from rendering, it now saves empty
Ton Roosendaal [Thu, 21 Dec 2006 19:37:53 +0000 (19:37 +0000)]
"Save Buffers" fix: when you ESC from rendering, it now saves empty
tiles in the file, that read back fast as black. This also solves
crashes on partial written files, when trying to read them.

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

Log:
http://www.blender3d.org/cms/Composite__Defocus.836.0.html

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

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: Scene.objects.new() 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
Properties".

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)]
Bugfix:
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:
http://www.blender3d.org/cms/Imaging.834.0.html

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 Scene.objects.new() 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.

<digression>
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.
</digression>

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.