blender-staging.git
14 years agoAdded IlmThread to the list of OpenEXR libs for WIN32 by request of
Chris Want [Thu, 4 Jan 2007 01:56:31 +0000 (01:56 +0000)]
Added IlmThread to the list of OpenEXR libs for WIN32 by request of
Eugene Riley. Untested, and I hope the capitalization is correct
-- please test!

14 years ago== Compositor ==
Matt Ebb [Thu, 4 Jan 2007 01:56:21 +0000 (01:56 +0000)]
== Compositor ==
* Ported Math node from shader nodes to composite nodes too

It's a good general purpose utility node and also allows stupid stuff
like this more easily :)

http://mke3.net/blender/etc/math-spiral-h264.mov
http://mke3.net/blender/etc/stupidmath.blend.zip

14 years ago== Armatures - Path Drawing Bugfix ==
Joshua Leung [Wed, 3 Jan 2007 23:22:58 +0000 (23:22 +0000)]
== Armatures - Path Drawing Bugfix ==

Now, when several highlighted points on the path occur at the same place
(i.e. when there is a pause) only the first frame number when this is the case
is drawn. This results in less overlapping frame numbers (causing an unreadable
blob of digits)

14 years agoI commited a dumb little icon for Sculpt mode since we didn't have anything.
Kent Mein [Wed, 3 Jan 2007 21:12:56 +0000 (21:12 +0000)]
I commited a dumb little icon for Sculpt mode since we didn't have anything.
If anyone has anything better feel free to blow this one away.
I was going for a chunk of marble and a chisel if anyone is going wtf?

Kent

14 years agoBugfix #5515
Ton Roosendaal [Wed, 3 Jan 2007 13:45:03 +0000 (13:45 +0000)]
Bugfix #5515

Having splitted a screen almost into 128 subwindows gives crashes when you
try to make a 'full window'. Code was missing NULL pointer checks for when
new window failed to open...

14 years agoFixed crashes in the Action Editor when keys for shapekeys were displayed
Joshua Leung [Wed, 3 Jan 2007 09:13:42 +0000 (09:13 +0000)]
Fixed crashes in the Action Editor when keys for shapekeys were displayed
and user tries to snap keyframes to frame(s) or mirror keyframes.

14 years agoModified the multires loading code so that it always checks for a NULL edge flag...
Nicholas Bishop [Wed, 3 Jan 2007 07:21:04 +0000 (07:21 +0000)]
Modified the multires loading code so that it always checks for a NULL edge flag array.

14 years agoadded sharp edge theme color
Campbell Barton [Wed, 3 Jan 2007 05:50:17 +0000 (05:50 +0000)]
added sharp edge theme color

14 years ago== 'Smarter' Keyframing Bugfixes ==
Joshua Leung [Wed, 3 Jan 2007 05:13:40 +0000 (05:13 +0000)]
== 'Smarter' Keyframing Bugfixes ==

'Smarter' keyframing tools ('needed' option for manual and auto keyframing)
now work better than before, with more cases handled in an predictable
manner. There are still a few cases it still doesn't handle well yet. Those will be
fixed in the next few days.

See comments in code for rules in place now. Also, I've changed the code
to use the IS_EQ macro instead of my clumsy sqrt((a-b)*(a-b)) calculations.

14 years agoSculptmode propset bugfix: texture angle should be ignored if there's no texture...
Nicholas Bishop [Tue, 2 Jan 2007 22:53:44 +0000 (22:53 +0000)]
Sculptmode propset bugfix: texture angle should be ignored if there's no texture enabled.

14 years agoMultires bugfix: when deleting lower levels, edge flags should be subdivided to the...
Nicholas Bishop [Tue, 2 Jan 2007 22:40:45 +0000 (22:40 +0000)]
Multires bugfix: when deleting lower levels, edge flags should be subdivided to the next level.

14 years agoAdded undo push for retopo all.
Nicholas Bishop [Tue, 2 Jan 2007 20:33:11 +0000 (20:33 +0000)]
Added undo push for retopo all.

14 years agoAnother multires loading fix: if edge_flags is null, allocate a new array
Nicholas Bishop [Tue, 2 Jan 2007 19:28:54 +0000 (19:28 +0000)]
Another multires loading fix: if edge_flags is null, allocate a new array

14 years agoFix for a multires crash: when loading dverts, extra call needed to relink them.
Nicholas Bishop [Tue, 2 Jan 2007 19:23:55 +0000 (19:23 +0000)]
Fix for a multires crash: when loading dverts, extra call needed to relink them.

14 years agoDisabled interaction between multires and shape keys. Attempting to add a shape key...
Nicholas Bishop [Tue, 2 Jan 2007 18:42:41 +0000 (18:42 +0000)]
Disabled interaction between multires and shape keys. Attempting to add a shape key on a multires mesh will give an error, and attempting to add multires to a mesh with shape keys will give the user an okee before deleting shape keys. (This isn't an optimal solution to the multires/shapekey situation, but a real fix is non-trivial.)

14 years agoThe combine HSVA node was missing, now all the color space seperators
Robert Holcomb [Tue, 2 Jan 2007 14:45:59 +0000 (14:45 +0000)]
The combine HSVA node was missing, now all the color space seperators
and combiners are available.

14 years ago== Compositor ==
Matt Ebb [Tue, 2 Jan 2007 14:15:41 +0000 (14:15 +0000)]
== Compositor ==
* Added patch 5251 X/Y Offset to Split Viewer node, by Juho
(with some modifications from the patch version).

Also various small tweaks to compositor drawing & buttons.

14 years agoimproved z-locking (would previously still try to rotate about the view axis and...
Campbell Barton [Tue, 2 Jan 2007 13:54:24 +0000 (13:54 +0000)]
improved z-locking (would previously still try to rotate about the view axis and then right it).
also added error messages for libdata and dont allow views with object locking to fly.

14 years agoweightpaint_envelope_assign - was making an error checking a null vgroup
Campbell Barton [Tue, 2 Jan 2007 13:12:23 +0000 (13:12 +0000)]
weightpaint_envelope_assign - was making an error checking a null vgroup
API_intro - changed URL from elysuin
others - added __copy__() docs.

14 years ago== Armatures - Bone Paths ==
Joshua Leung [Mon, 1 Jan 2007 22:48:09 +0000 (22:48 +0000)]
== Armatures - Bone Paths ==

* Shuffled a few bone-path buttons in the Armature Visualisation panel.

* Added a new option for bone-paths drawing: Calculate/show the path
travelled by the 'head' (fat end) of bone. By default, this option is off.

* Also, I forgot to mention in last commit that I had added an option which
specified the time-difference between each highlighted point on the curve.

14 years agobugfix for #5552, please check this is as you expect (argunda)
Campbell Barton [Mon, 1 Jan 2007 15:27:47 +0000 (15:27 +0000)]
bugfix for #5552, please check this is as you expect (argunda)

Also added ease in/out for roll correction and a small lag for directional changes to motion shouldnt be jurky.

If people are serious about using this to record camera path IPOs then we should have a panel for motion settings (roll correction speed x and z and motion lag for eg.)

14 years agoCorrected IThread.lib to IlmThread.lib.. thanks Stephane :)
Simon Clitherow [Mon, 1 Jan 2007 12:01:41 +0000 (12:01 +0000)]
Corrected IThread.lib to IlmThread.lib.. thanks Stephane :)

14 years agoUpdating scons VC config to OpenEXR 1.4.0
Simon Clitherow [Mon, 1 Jan 2007 11:48:17 +0000 (11:48 +0000)]
Updating scons VC config to OpenEXR 1.4.0

14 years agoSmall change to keep MSVC happy -- defined variable at the start of a conditional...
Simon Clitherow [Mon, 1 Jan 2007 11:30:47 +0000 (11:30 +0000)]
Small change to keep MSVC happy -- defined variable at the start of a conditional block.

14 years ago-> Fix for bug #5472
Geoffrey Bantle [Mon, 1 Jan 2007 09:41:10 +0000 (09:41 +0000)]
-> Fix for bug #5472

Vertex snapping now works with backbuffered selection modes. Previously
backbuffer sampling had no way to check whether or not the indices that
it retrieved were selected or not. To resolve this I added two optional
arguments to sample_backbuf_rect in drawview.c. The first argument tells
the function that some additional testing  of the retrieved index values
needs to be done and the second argument is a pointer to a function to
do the testing. findnearestvert() in editmesh_mods.c now makes use of this
and passes sample_backbuf_rect() the appropriate argument when being used
for vertex snapping.

14 years ago== Armature Ghost and Path Drawing ==
Joshua Leung [Mon, 1 Jan 2007 08:32:11 +0000 (08:32 +0000)]
== Armature Ghost and Path Drawing ==

The Plumiferos Team have requested some improvements to the
ghost and path drawing tools for armatures. These changes make
these more useful, with more customisable settings. A new panel in
the editing panels for armatures has been added to house these
settings.

-> Ghosts
In addition to the existing method of showing ghosts either side of the
current frame, it is now possible to show ghosts from a given frame range.
This is useful for visualising how the poses in another part of the animation
changed, while editing another part. The colour of ghosts goes from light
(earlier on) to darker (later on).

-> Paths
Several new options for path drawing have been added.
* It is now possibly specify a frame range in which to calculate paths too.
This offers speedups for longer timelines as a shorter span of time can be
sampled.
* Keyframes from the active action/action strip can be shown in a different
colour (in the default theme, this is yellow) on the path.
* Frame numbers for the highlighted positions on the path can be drawn.

Two notes of caution:
* For ghost range: keep the frame ranges relatively small (20-50 frames),
otherwise you will experience a slowdown.
* For path frame numbers: if you have a graphics card which is picky about
text in the 3d-view (like x,y,z labels on empty), this may cause issues.

14 years agoAdded support for load/save of multires edge flags
Nicholas Bishop [Mon, 1 Jan 2007 07:53:14 +0000 (07:53 +0000)]
Added support for load/save of multires edge flags

14 years ago->Fix for bug #5542
Geoffrey Bantle [Mon, 1 Jan 2007 01:05:40 +0000 (01:05 +0000)]
->Fix for bug #5542

Missing a check for non-manifold edges in new alt-j code. Fixed now.

14 years ago== Action Editor ==
Joshua Leung [Mon, 1 Jan 2007 00:56:16 +0000 (00:56 +0000)]
== Action Editor ==

Little cleanup to the drawing-internals removing the need for a little
hack I put in for drawing keyframes in the NLA editor for active action
strip.

14 years agoFixed bug #5557, retopo - toggling fullscreen shifts painted lines
Nicholas Bishop [Sun, 31 Dec 2006 22:18:21 +0000 (22:18 +0000)]
Fixed bug #5557, retopo - toggling fullscreen shifts painted lines

14 years agoAdded Ctrl+FKey shortcut for rotating the brush texture. Also improved the drawing...
Nicholas Bishop [Sun, 31 Dec 2006 21:55:12 +0000 (21:55 +0000)]
Added Ctrl+FKey shortcut for rotating the brush texture. Also improved the drawing of rotated brushes in propset mode.

14 years agoFixed bug #5556, sculpt - rotated texture is shown unrotated in the brush image
Nicholas Bishop [Sun, 31 Dec 2006 19:49:59 +0000 (19:49 +0000)]
Fixed bug #5556, sculpt - rotated texture is shown unrotated in the brush image

14 years ago== Sequencer ==
Peter Schlaile [Sun, 31 Dec 2006 15:38:14 +0000 (15:38 +0000)]
== Sequencer ==

Bugfixes:
* The speed controller changes now dynamically the IPO-curve range to
  it's needs. (Frame matching and negative velocities didn't work...
  Obviously nobody tried ;-)
* Fixed some redraw bugs. The IPO window is correctly updated if one pushes
  the IPO Frame locking button.

14 years agoExtended the brush texture rotate option to work with Tile mode.
Nicholas Bishop [Sun, 31 Dec 2006 11:31:39 +0000 (11:31 +0000)]
Extended the brush texture rotate option to work with Tile mode.

14 years agoBugfix for sculptmode texture tiling: tile size should not be affected by brush size.
Nicholas Bishop [Sun, 31 Dec 2006 11:17:57 +0000 (11:17 +0000)]
Bugfix for sculptmode texture tiling: tile size should not be affected by brush size.

14 years agoPrevent user from applying editmode operations that will be ignored by multires.
Nicholas Bishop [Sun, 31 Dec 2006 10:51:21 +0000 (10:51 +0000)]
Prevent user from applying editmode operations that will be ignored by multires.

14 years agoAdded propagation of the edge seam flag for multires. Note that the flag is only...
Nicholas Bishop [Sun, 31 Dec 2006 10:36:48 +0000 (10:36 +0000)]
Added propagation of the edge seam flag for multires. Note that the flag is only stored for level 1.

14 years ago== Bugfix #5550 ==
Joshua Leung [Sun, 31 Dec 2006 07:26:23 +0000 (07:26 +0000)]
== Bugfix #5550 ==

* UV and Radiosity passes are now visible in Outliner (like for other passes)

* Changed tooltip of overwrite material to:
"Name of Material to use as Materials instead"

* Also, fixed Reflection and Refraction passes in the Outliner - flags were
mixed up, so turning on Reflection turned on Refraction and vica-versa.

14 years ago== Compositor ==
Matt Ebb [Sun, 31 Dec 2006 00:28:46 +0000 (00:28 +0000)]
== Compositor ==
* Added a new top-level add menu category for compositing nodes: Distort

It currently contains Translate, Rotate, Scale, Flip, Displace and Map UV

Also did some cleaning up of the ordering of add node menu items to be a
bit better organised.

14 years agoPython API:
Willian Padovani Germano [Sat, 30 Dec 2006 18:28:49 +0000 (18:28 +0000)]
Python API:

-Added missing access to Node win theme (thanks MickaĆ«l Le-bihan for pointing) and also options group and group_active.
-Added Node space to Window.Types dict.
-Tiny update to the save theme script version numbers (keeping 2.42 for now to avoid popups, but should change to 2.43 right before release).

BTW: Happy New Year everyone :).

14 years ago=== Code Fixes ===
Martin Poirier [Sat, 30 Dec 2006 16:35:46 +0000 (16:35 +0000)]
=== Code Fixes ===

Adding missing define for displace node (Matt can change the number when he gets back, this is just to fix compilation)

Removing "#pragma mark" from node.c. IIRC, that's XCode leaving crap around, so be sure to remove them when you commit (it outputs warnings on other compilers).

14 years ago== Compositor ==
Matt Ebb [Sat, 30 Dec 2006 14:47:03 +0000 (14:47 +0000)]
== Compositor ==
* Displace Node

Displaces an input image's pixels based on an input vector mask. This can be
useful for a lot of things, like hot air distortion, quick-and-dirty compo
refraction, compositing live footage behind refracting objects, and more!

The amount of displacement in the X and Y directions is determined by:
* The value of the mask's channels
  - (red) channel 1's value determines displacement along the positive or
  negative X axis
  - (green) channel 2's value determines displacement along the positive or
  negative Y axis

If both the channel's values are equal (i.e. a greyscale image) the input
image will be displaced equally in both X and Y directions, also according to:
* The X scale and Y scale buttons
  - These act as multipliers to increase or decrease the strength of the
  displacement along their respective axes. They need to be set to non-zero
  values for the node to have any effect.

Because of this, you can use the displace node in two ways, with a greyscale
mask(easy to paint, or take from a procedural texture), or with a vector
channel or RGB image, such as a normal pass, which will displace the pixels
based on the normal direction.

A quick practical example:
http://mke3.net/blender/etc/displace-desert-h264.mov
http://mke3.net/blender/etc/displace-desert.blend.zip

And some techie examples:

Using a greyscale mask
http://mke3.net/blender/etc/displace-bw-h264.mov
http://mke3.net/blender/etc/displace-bw.png

Using a vector mask
http://mke3.net/blender/etc/displace-vec-h264.mov
http://mke3.net/blender/etc/displace-vec.png

14 years agouse new edge/face keys ittributes
Campbell Barton [Sat, 30 Dec 2006 09:40:05 +0000 (09:40 +0000)]
use new edge/face keys ittributes

14 years ago* theme save script now saves iconThemes and supports string types.
Campbell Barton [Sat, 30 Dec 2006 07:32:58 +0000 (07:32 +0000)]
* theme save script now saves iconThemes and supports string types.
* added .iconTheme variable
* bugfix. drawType was not being saved because Py_BuildValue and __members__ was missing an "s"
* added Blender.Get('icondir')

14 years agoA few little tweaks for compiling purposes.
Joshua Leung [Sat, 30 Dec 2006 05:38:54 +0000 (05:38 +0000)]
A few little tweaks for compiling purposes.

14 years ago* Fix for bug #5555 Numpad zoom does not recognize that the
Matt Ebb [Sat, 30 Dec 2006 05:37:45 +0000 (05:37 +0000)]
* Fix for bug #5555 Numpad zoom does not recognize that the
transform properties window is collapsed.

Just checks now to see if the floating panel is collapsed or not
and where the mouse is before zooming.

14 years ago* Redraw the node editor when render passes are enabled or disabled
Matt Ebb [Sat, 30 Dec 2006 05:36:22 +0000 (05:36 +0000)]
* Redraw the node editor when render passes are enabled or disabled
in the outliner

14 years agoadded pose_bone.displayObject for getting/setting custom bones
Campbell Barton [Sat, 30 Dec 2006 01:04:19 +0000 (01:04 +0000)]
added pose_bone.displayObject for getting/setting custom bones

14 years agoHopefully fixed bug #5437, sculpt - seam selection flushing eats lots of ram on low...
Nicholas Bishop [Sat, 30 Dec 2006 00:51:26 +0000 (00:51 +0000)]
Hopefully fixed bug #5437, sculpt - seam selection flushing eats lots of ram on low multires level

This appears to have been caused by the excessive amount of memory that multires was eating up every time an edit operation pushed a new undo copy. Added a hack for multires that allows it to use the same multires data for multiple undo copies until the user actually changes levels (which is when multires data is actually updated.)

14 years agoAdded texture rotation for sculpt brush (only drag mode for now.)
Nicholas Bishop [Fri, 29 Dec 2006 23:14:34 +0000 (23:14 +0000)]
Added texture rotation for sculpt brush (only drag mode for now.)

14 years agoChanged Add/Sub sculpt menu items to a single Add toggle, shortcut is Vkey
Nicholas Bishop [Fri, 29 Dec 2006 22:09:05 +0000 (22:09 +0000)]
Changed Add/Sub sculpt menu items to a single Add toggle, shortcut is Vkey

14 years agoMore improvements to the sculpt brush panel. Texture scale can now be set independent...
Nicholas Bishop [Fri, 29 Dec 2006 21:53:52 +0000 (21:53 +0000)]
More improvements to the sculpt brush panel. Texture scale can now be set independently on the X/Y/Z axes for 3D textures and the X/Y axes for tiled brushes. The sizes can be locked together for 1:1 scaling.

14 years ago=IDProperties Python Test GUI Script update=
Joseph Eagar [Fri, 29 Dec 2006 21:17:57 +0000 (21:17 +0000)]
=IDProperties Python Test GUI Script update=

Another stupid little coding mistake, made switching
idblock types (like from object to scene) crash the
script.

14 years agoReorganized brush palette into three columns. Changed brush View slider to the range...
Nicholas Bishop [Fri, 29 Dec 2006 20:13:03 +0000 (20:13 +0000)]
Reorganized brush palette into three columns. Changed brush View slider to the range [0-10], since there's really no need to it to values like 93%, 90% is close enough.

14 years agorecord while in fly mode when record is enabled from the timeline.
Campbell Barton [Fri, 29 Dec 2006 18:09:05 +0000 (18:09 +0000)]
record while in fly mode when record is enabled from the timeline.
if play and record are enabled at the same time you can record the flight path.
adds a keyframe for every frame, dosnt support the Keying options in the user prefs.
If no rotation is being done on the camera, no rot keys are applied and same for location.

14 years agodraw the right pannel when weughtpaint+vcol modes are on at the same time.
Campbell Barton [Fri, 29 Dec 2006 13:13:17 +0000 (13:13 +0000)]
draw the right pannel when weughtpaint+vcol modes are on at the same time.
(was drawing the vcol panel in wp mode)
it may be good to not allow both modes at once.

14 years agoJMS's latest SVG importer with his compatibility fixes and optimizations.
Campbell Barton [Fri, 29 Dec 2006 11:09:29 +0000 (11:09 +0000)]
JMS's latest SVG importer with his compatibility fixes and optimizations.
http://blenderartists.org/forum/showthread.php?t=66207

14 years agoBug fix: if a file is saved with sculptmode on and a brush with a texture is enabled...
Nicholas Bishop [Fri, 29 Dec 2006 09:51:29 +0000 (09:51 +0000)]
Bug fix: if a file is saved with sculptmode on and a brush with a texture is enabled, the brush image must be loaded before it can be used.

14 years agoFixed case where sculpt brush texture is not set
Nicholas Bishop [Fri, 29 Dec 2006 09:32:57 +0000 (09:32 +0000)]
Fixed case where sculpt brush texture is not set

14 years agoScene.c - deprecation warning for getScene
Campbell Barton [Fri, 29 Dec 2006 08:57:33 +0000 (08:57 +0000)]
Scene.c - deprecation warning for getScene
bvh_import.py - use old slow method of adding keyframes. setting IPO's was having problems.

14 years agoSort-of-fix for bug #5382, sculpt - image/texture brush heavily distorted when not...
Nicholas Bishop [Fri, 29 Dec 2006 08:40:19 +0000 (08:40 +0000)]
Sort-of-fix for bug #5382, sculpt - image/texture brush heavily distorted when not sculpting flat relative to screen
Fix for bug #5248, sculpt - mirrored tiled texture odd results

Changed the algorithm used for projecting the brush texture onto the model. The old algorithm was never implemented properly, causing increasingly
wonky distortions of the brush as it got farther away from parallel to the screen. The new system uses the screen coords of vertices, the obvious
advantage being that 2D screen coords can be mapped quite easily to 2D texture coords. The main disadvantage of this method is that there are still
distortions in the brush as the surface beneath it becomes less parallel the screen. These distortions, however, are not as bad as the old ones
because they are predictable from the user's perspective. (It's analogous to a movie being projected onto a sphere; if the viewer is in front of the
sphere there is no apparent distortion, but from the side the movie appears stretched and distorted.)

This may still be worth revisiting after the release.

14 years ago* Patch #5337 from Juho: Ipo vertex size theme setting
Matt Ebb [Fri, 29 Dec 2006 06:58:39 +0000 (06:58 +0000)]
* Patch #5337 from Juho: Ipo vertex size theme setting

(with some small modifications)

14 years ago* Dynamic icon file loading and themeability
Matt Ebb [Fri, 29 Dec 2006 04:46:47 +0000 (04:46 +0000)]
* Dynamic icon file loading and themeability

This patch allows icon files (.png) to be loaded into Blender dynamically,
without having to go through the tedious and technical process of compiling
them in. It also makes them part of the theme settings so they can be
attached as part of a theme and saved in the default .B.blend.

Icon files should be stored in $HOME/.blender/icons/ . This really sucks on
Mac since it's hidden in the finder, but it's a separate issue. We need a
better system of finding things like this, python scripts etc, perhaps a
nice wrapped function something like BLI_getresourcedir(), then it's easy to
do platform specific stuff there, like using ~/Library/Application Data on Mac.

More info and docs in the patch tracker @
https://projects.blender.org/tracker/index.php?func=detail&aid=5334&group_id=9&atid=127

14 years agoadding this script that takes 3 clicks to set the selected faces projections.
Campbell Barton [Fri, 29 Dec 2006 00:25:56 +0000 (00:25 +0000)]
adding this script that takes 3 clicks to set the selected faces projections.
Will try to add visual guides to make this easier to understand before release.

http://mediawiki.blender.org/index.php/Scripts/Manual/UV_Calculate/Click_project_from_face

14 years agoFix for bug #5539, brush circle cursor is slow.
Nicholas Bishop [Thu, 28 Dec 2006 23:23:10 +0000 (23:23 +0000)]
Fix for bug #5539, brush circle cursor is slow.

14 years agoadded a call to mesh calcNormals so smooth faces look right
Campbell Barton [Thu, 28 Dec 2006 22:56:24 +0000 (22:56 +0000)]
added a call to mesh calcNormals so smooth faces look right

14 years ago=== Transform Snap ===
Martin Poirier [Thu, 28 Dec 2006 22:42:58 +0000 (22:42 +0000)]
=== Transform Snap ===

Fixed the bug where it would snap to a selected (moving) vertex.

Fixed a bug with Snap Closest with only one vertex selected.

=== Internals: EditMesh Mods ===

Modify and documented findnearestvert.

Added a new parameter to restrict the search to selected or unselected vert instead of just adding a bias to them (as previously). Currently, the "strict" method bypasses the openGL optimisation, people with more knowledge about that should feel invited to fix it.

=== Internals: EditMesh Tools ===

Adding missing newline at the end.

14 years agoThis just silences a compiler warning I got as a result of Nick's commit
Joshua Leung [Thu, 28 Dec 2006 22:08:33 +0000 (22:08 +0000)]
This just silences a compiler warning I got as a result of Nick's commit
last night.

warning: "struct View3D" declared inside parameter list

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

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.