blender.git
12 years agoBMesh Branch
Joseph Eagar [Thu, 24 May 2007 02:44:57 +0000 (02:44 +0000)]
BMesh Branch
=Typo Fix=
Case error in spelling of BLI_GHash.h, should be BLI_ghash.h.

12 years agoBMesh Branch
Joseph Eagar [Thu, 24 May 2007 01:08:08 +0000 (01:08 +0000)]
BMesh Branch
=Drawing Updates=

Bmesh editmode now draws solid faces and (non-selectable) vertex points.  Object mode now draws correctly.  There's still some bugs though, especially in the conversion of vertex normals.

12 years agoDidn't realize that the editmesh*** files in src/ were still there.
Joseph Eagar [Wed, 23 May 2007 19:09:36 +0000 (19:09 +0000)]
Didn't realize that the editmesh*** files in src/ were still there.

12 years agoPart two of branch creation: add new files
Joseph Eagar [Tue, 22 May 2007 20:03:24 +0000 (20:03 +0000)]
Part two of branch creation: add new files

12 years agoCreation of BMesh branch. Note: this is NOT usable. It does compile, but the massiv...
Joseph Eagar [Tue, 22 May 2007 19:57:11 +0000 (19:57 +0000)]
Creation of BMesh branch.  Note: this is NOT usable.  It does compile, but the massive derivedmesh/mesh DNA changes have just begun, and wacky things may befall the uninitiated :) .

Current status: Editmesh code is now completely gone.  All references to editmesh functions have either been rewritten or commented out with //EDITBMESHGREP to enable easy grepping of things left to do.

Mesh DNA has been changed to handle ngons with two new structures, MLoop and MPoly (MFace is deprecated).  Old files are converted on load in do_versions(), however this is a little buggy.

Changes to DerivedMesh have also been made; all the MFace functions are still there, but in addition functions for dealing with MPolys and MLoops has been added.

No functionality for bmesh have been made other then the bare basic derivedmesh/conversion stuff, and even those are still incomplete/buggy.

12 years ago(no commit message)
Ken Hughes [Sat, 19 May 2007 16:13:20 +0000 (16:13 +0000)]

12 years agoDisable copying plugins, et al, to the CMake bin directory -- the
Chris Want [Fri, 18 May 2007 15:57:40 +0000 (15:57 +0000)]
Disable copying plugins, et al, to the CMake bin directory -- the
.svn directory would get copied and it has some files that are
write protected, which means that the build would fail the second
time you run make. Needs a better solution.

12 years agoFixed a few typos in the documentation for Draw module of Python API.
Joshua Leung [Fri, 18 May 2007 11:50:04 +0000 (11:50 +0000)]
Fixed a few typos in the documentation for Draw module of Python API.

12 years agoPlumifero's wishlist:
Chris Want [Thu, 17 May 2007 21:28:33 +0000 (21:28 +0000)]
Plumifero's wishlist:

* When duplicating bones that have constraints (edit mode),
duplicate them too with TARGET field updated.

This is code that I wrote a few years ago before the armature
refactor. It is simple code that compiles and seems to work fine,
but should be checked by Ton or somebody else with better knowledge
of the current armature system.

Usage description, (stolen from the first time this code was
committed):

"Duplicating bones in edit mode now also duplicates the constraints
associated with that bone ... if the constraint subtarget bone is
also duplicated the new constraint points to this new bone as it's
subtarget."

12 years agoAdded highlighting of non-existant names and autocomplete for
Brecht Van Lommel [Thu, 17 May 2007 17:15:22 +0000 (17:15 +0000)]
Added highlighting of non-existant names and autocomplete for
specifying the uv layer name in a material.

Also added generic autocomplete_begin/do_name/end functions,
this code was copied five times.

12 years agoDisable SSS better for preview rendering, so it does not slow down
Brecht Van Lommel [Thu, 17 May 2007 16:51:09 +0000 (16:51 +0000)]
Disable SSS better for preview rendering, so it does not slow down
other preview renders at all.

Also added a flag to enable/disable SSS per scene. There is no
button for it yet, the Render panel has no space left .. will find
a place for it later.

The subversion number was also increased to enable the flag for
older .blends.

12 years ago== Constraints Code ==
Joshua Leung [Thu, 17 May 2007 06:45:16 +0000 (06:45 +0000)]
== Constraints Code ==

Relatively harmless removal of useless code. Also formatted things in a few places.

12 years agoAdded Menu entries for Object Mode Show/Hide hotkeys
Matt Ebb [Thu, 17 May 2007 01:18:12 +0000 (01:18 +0000)]
Added Menu entries for Object Mode Show/Hide hotkeys

12 years agoThis commit sets Python version to 2.5 for Windows/Cygwin/GCC builds.
Chris Burt [Thu, 17 May 2007 01:09:52 +0000 (01:09 +0000)]
This commit sets Python version to 2.5 for Windows/Cygwin/GCC builds.

12 years ago== Action Editor ==
Joshua Leung [Thu, 17 May 2007 00:23:24 +0000 (00:23 +0000)]
== Action Editor ==

Hiding bones in the 3d-view with the (HKEY) now hides the corresponding Action Channels too.

12 years ago'Copy Images' option for the .obj exporter would fail.
Chris Want [Wed, 16 May 2007 22:30:20 +0000 (22:30 +0000)]
'Copy Images' option for the .obj exporter would fail.

Changing Material ==> Blender.Material fixed it.

12 years agoFixed editmode post-modifier normal calculation for the case where there are
Ben Batt [Wed, 16 May 2007 17:20:02 +0000 (17:20 +0000)]
Fixed editmode post-modifier normal calculation for the case where there are
only deform modifiers in the stack. This was an old bug: a typo caused quad
face normals to be calculated using the same vertex twice, giving bad normals.

12 years agoFixed the "Enable modifier during editmode" button for the case when there are
Ben Batt [Wed, 16 May 2007 15:19:54 +0000 (15:19 +0000)]
Fixed the "Enable modifier during editmode" button for the case when there are
only deform modifiers in the stack. The code that copied the cage mesh to the
final mesh didn't check for vertex coordinates; I have added this check.

12 years agoPython bugfix reported by reD_Fox1
Campbell Barton [Wed, 16 May 2007 12:26:17 +0000 (12:26 +0000)]
Python bugfix reported by reD_Fox1
ob1.shareFrom(ob2) - didnt work with the new type/realtype method of making sure all new objects were emptys until they were linked to data and the realtype is used.

12 years agoTest-commit/Bugfix #6698:
Joshua Leung [Wed, 16 May 2007 05:03:33 +0000 (05:03 +0000)]
Test-commit/Bugfix #6698:
Wrong hotkey given in for the Remove Doubles entry in the 3d-view toolbox->edit->vertices menu.

12 years agoTest commit: Changes to CMake for Python 2.5 under windows
Chris Want [Tue, 15 May 2007 21:24:19 +0000 (21:24 +0000)]
Test commit: Changes to CMake for Python 2.5 under windows
from Eugene.

12 years ago=== SCons ===
Nathan Letwory [Tue, 15 May 2007 12:53:44 +0000 (12:53 +0000)]
=== SCons ===

* cvs->svn conversion: handle properly also release/scripts .svn dir (= skip it!)

12 years agoSecond commit, now it should not bother me with passwords, according
Ton Roosendaal [Mon, 14 May 2007 19:52:21 +0000 (19:52 +0000)]
Second commit, now it should not bother me with passwords, according
to some person... :)

12 years agoTesting commit to see how it goes...
Ton Roosendaal [Mon, 14 May 2007 19:50:33 +0000 (19:50 +0000)]
Testing commit to see how it goes...

12 years ago* handle move CVS->SVN, skip .svn administrative directories
Nathan Letwory [Sat, 12 May 2007 14:11:27 +0000 (14:11 +0000)]
* handle move CVS->SVN, skip .svn administrative directories

12 years agoShowstoppper... mballs didn't get remade correct after render... it was v2.44
Ton Roosendaal [Thu, 10 May 2007 17:27:40 +0000 (17:27 +0000)]
Showstoppper... mballs didn't get remade correct after render... it was
showing the orcos (size usally smaller).

12 years agoPart 2 of release 2.44 commit
Ton Roosendaal [Thu, 10 May 2007 09:54:05 +0000 (09:54 +0000)]
Part 2 of release 2.44 commit

12 years agoPart one of 2.44 release commit.
Ton Roosendaal [Thu, 10 May 2007 09:52:44 +0000 (09:52 +0000)]
Part one of 2.44 release commit.

12 years agoBugfix #6674:
Joshua Leung [Thu, 10 May 2007 06:51:08 +0000 (06:51 +0000)]
Bugfix #6674:

Action Editor: editing of action-channel keys is impossible if shapekeys are present
for that object.

Also, after toggling the 'swimmer' icon in the IPO editor header,on and then off again, then trying to expand/collapse/select/deselect the 'Shape' action channel, Blender would crash.

Not really a showstopper, but still nice to fix. ;-)

12 years agoFixed the hotkey of "Hide Selected" found in the menu activated by space.
Juho Vepsalainen [Thu, 10 May 2007 05:44:44 +0000 (05:44 +0000)]
Fixed the hotkey of "Hide Selected" found in the menu activated by space.

12 years agoBug reported on irc:
Brecht Van Lommel [Wed, 9 May 2007 21:34:35 +0000 (21:34 +0000)]
Bug reported on irc:

Border select in face select mode was broken.

12 years agobugfix #6672
Ton Roosendaal [Wed, 9 May 2007 16:38:04 +0000 (16:38 +0000)]
bugfix #6672

Object with object-action:
Crash after unlinking an Ipo, and then inserting new key positions in 3d
window.

12 years agoFix preview rendering for SSS to not show preprocessing pass that
Brecht Van Lommel [Wed, 9 May 2007 16:25:58 +0000 (16:25 +0000)]
Fix preview rendering for SSS to not show preprocessing pass that
leads to flickering, and a bug that would display parts of the
preview render as black for interrupted preview renders.

(sorry for the late fix, i've triple checked the code ..)

12 years agoanother coverity issue.
Kent Mein [Wed, 9 May 2007 15:32:33 +0000 (15:32 +0000)]
another coverity issue.
scriptlinks_pupmenu(ScriptLink *slink) could get passed null and
did not check for it.

Kent

12 years agoAnother small cleanup of dead code thanks to coverity.
Kent Mein [Wed, 9 May 2007 14:57:26 +0000 (14:57 +0000)]
Another small cleanup of dead code thanks to coverity.

Kent

12 years agoBugfix #6663 yesterday, error: forgot to put back in if() for freeing data
Ton Roosendaal [Wed, 9 May 2007 14:12:29 +0000 (14:12 +0000)]
Bugfix #6663 yesterday, error: forgot to put back in if() for freeing data

12 years agoIn very rare cases, an offset-bone could not exist, whilst the action
Ton Roosendaal [Wed, 9 May 2007 11:16:32 +0000 (11:16 +0000)]
In very rare cases, an offset-bone could not exist, whilst the action
channel does. Then it crashes...

This commit adds a NULL test, but now trying to solve how this case
can happen.

12 years agohad debugging test enabled.
Campbell Barton [Wed, 9 May 2007 07:03:05 +0000 (07:03 +0000)]
had debugging test enabled.

12 years agoBugfix [ #6593 ] Texture panel does not appear as soon as expected
Juho Vepsalainen [Tue, 8 May 2007 19:31:39 +0000 (19:31 +0000)]
Bugfix [ #6593 ] Texture panel does not appear as soon as expected

Texture paint mode toggles were missing some redraws.

12 years agoBugfix #6663
Ton Roosendaal [Tue, 8 May 2007 18:51:40 +0000 (18:51 +0000)]
Bugfix #6663

Metaballs, when in editmode, didnt show correct after a render (it was
drawing render resol then).

The code here was confused some... this works, although it will take a
bit more cpu cycles when render resol = display resol. No biggie.

12 years agoanother little coverity fix.
Kent Mein [Tue, 8 May 2007 16:31:51 +0000 (16:31 +0000)]
another little coverity fix.
unused var doredraw  removed and the call to do a redraw, since
its never called I figured we can remove it and if we need it later
put it back in.  (this is in function winqreadbutspace)

Kent

12 years agoFirst fix from coverity, removing one line of dead code.
Kent Mein [Tue, 8 May 2007 16:00:13 +0000 (16:00 +0000)]
First fix from coverity, removing one line of dead code.
The if statement above this line makes it so this line will never be
true, so its not needed.

Kent

12 years agoBugfix #6658
Ton Roosendaal [Tue, 8 May 2007 10:26:55 +0000 (10:26 +0000)]
Bugfix #6658

Node UI for Image sequences also allows negative offset value, so you can
have first image be 0000 too (3dsmax)

12 years agoSSS fixes:
Brecht Van Lommel [Tue, 8 May 2007 10:15:51 +0000 (10:15 +0000)]
SSS fixes:
- Radius R, G, B sliders had too small number increase on clicking.
- Preview render now renders with higher SSS error setting to speed it up a
  bit.
- bug #6664: 3d preview render had artifacts. re->viewdx/dy wasn't set then,
  which is needed to estimate the area of each point. Have set this now, not
  in the nicest way, there is some bit duplicated code, but I don't want to
  refactor existing code with the chance of breaking it at this point.
- bug #6665: grid like artifacts with parts rendering. The two extra pixels
  around parts used for filtering were used as well, leading to double points.

12 years agoMade it so blenderplayer is stripped if it exists as well as just blender.
Kent Mein [Mon, 7 May 2007 21:11:21 +0000 (21:11 +0000)]
Made it so blenderplayer is stripped if it exists as well as just blender.
(I skipped it on OSX not sure where blenderplayer is in that
instance, someone on the platform should be able to figure it out though.)

Kent

12 years agotwo minor changes, hopefully before release:
Erwin Coumans [Mon, 7 May 2007 17:10:44 +0000 (17:10 +0000)]
two minor changes, hopefully before release:

- reset randseed, which should make simulations more predictable
- re-activate substeps (for more accurate simulations)

12 years agothanks venomgfx for picking up on this one, reset didnt work - my mface/tface selecti...
Campbell Barton [Mon, 7 May 2007 16:34:57 +0000 (16:34 +0000)]
thanks venomgfx for picking up on this one, reset didnt work - my mface/tface selection switchover mistake.

12 years ago== Action Editor - Bugfix #6660 ==
Joshua Leung [Mon, 7 May 2007 11:59:43 +0000 (11:59 +0000)]
== Action Editor - Bugfix #6660 ==

When trying to expand the IPO-curves for Shapekey Action Channels, Blender crashed due to that being a previously un-handled case.

For some reason, the names of IPO curve channels are still not drawing on some machines.

I've also disabled the display of shapekey channels when there is an action as the two used to overlap and muck up the drawing matrices of each other.

12 years agobug #6656, caused by two problems, one of which was that when the old
Alfredo de Greef [Mon, 7 May 2007 05:08:41 +0000 (05:08 +0000)]
bug #6656, caused by two problems, one of which was that when the old
node_composite.c file was split into separate files for each node, it didn't
include a recent defocus node commit.
For the other half of the problem, see comments in code.

12 years ago=== FFMPEG on Win32 ===
Nathan Letwory [Sun, 6 May 2007 22:13:38 +0000 (22:13 +0000)]
=== FFMPEG on Win32 ===

* rebuilt ffmpeg libraries. h264 now actually works.

12 years agocheck_for_dupid() was checking wrong variables for on name changes; could
Ken Hughes [Sun, 6 May 2007 21:42:43 +0000 (21:42 +0000)]
check_for_dupid() was checking wrong variables for on name changes; could
allow IDs will null names ("") to be entered into listbases multiple times.

12 years agoupdates from JMS. scripts assumed new data would be last in the list.
Campbell Barton [Sun, 6 May 2007 20:03:18 +0000 (20:03 +0000)]
updates from JMS. scripts assumed new data would be last in the list.

12 years agoAdded a check to installer for runtime dlls required to run blender. If
Simon Clitherow [Sun, 6 May 2007 16:43:50 +0000 (16:43 +0000)]
Added a check to installer for runtime dlls required to run blender. If
not found on their system, it will open a browser window to point them
at the download site.

DEV NOTES: Anyone building the NSIS installer will need the Moreinfo
plugin - http://nsis.sourceforge.net/MoreInfo_plug-in

12 years agoScripts:
Willian Padovani Germano [Sun, 6 May 2007 15:47:07 +0000 (15:47 +0000)]
Scripts:
- Scripts config editor was not working due to changes in module BPyRegistry.py.
- AC3D exporter: a little cleanup + small improvements like sorting objects.

12 years agocorrected wrong variabel name
Campbell Barton [Sun, 6 May 2007 09:54:17 +0000 (09:54 +0000)]
corrected wrong variabel name

12 years agoAssorted SSS fixes:
Brecht Van Lommel [Sun, 6 May 2007 05:04:07 +0000 (05:04 +0000)]
Assorted SSS fixes:
- Bug #6652: SSS artifacts with ray shadow.
- Bug #6643: AO + SSS crash. couldn't redo this crash myself, but did find a
             bug that may cause a crash, please test.
- Tweak backscattering to avoid thin surfaces rendering too dark.

12 years agomany 3ds files would not open in other applications because of the 12 character limit...
Campbell Barton [Sun, 6 May 2007 02:19:43 +0000 (02:19 +0000)]
many 3ds files would not open in other applications because of the 12 character limit of names and filenames in 3ds files.
fixed this and optimized dictionary access some.

12 years agomad logic in tface to mface commit from a while ago. non UV meshes didnt render in...
Campbell Barton [Sat, 5 May 2007 14:48:45 +0000 (14:48 +0000)]
mad logic in tface to mface commit from a while ago. non UV meshes didnt render in textured view.

12 years agoBugfix: SSS render crashed with option "Save buffers".
Ton Roosendaal [Sat, 5 May 2007 13:14:10 +0000 (13:14 +0000)]
Bugfix: SSS render crashed with option "Save buffers".

Apparently brecht wanted to disable it... but enabling it works just OK.
Gives at least uniform code for now.

12 years ago==== MSVC 7.1 projectfiles ====
Andrea Weikert [Sat, 5 May 2007 10:15:07 +0000 (10:15 +0000)]
==== MSVC 7.1 projectfiles ====
- small maintenance, added sss.c and sss.h
(does not affect release build)

12 years ago== IPO Editor ==
Joshua Leung [Sat, 5 May 2007 10:07:05 +0000 (10:07 +0000)]
== IPO Editor ==

Ctrl-Click to add a keyframe in the active ipo-curve only made sense when showkeys
 was off. Otherwise the drawmode would change from keys to curves then back to keys when some other tool was used.

12 years agoBugfix (reported on BA forums):
Joshua Leung [Sat, 5 May 2007 09:31:01 +0000 (09:31 +0000)]
Bugfix (reported on BA forums):

Blender crashed when the Armature Modifier was supplied with the name of a Vertex
Group which did not have any verts assigned to it.

12 years agomore epy doc updates
Campbell Barton [Sat, 5 May 2007 06:09:03 +0000 (06:09 +0000)]
more epy doc updates
added a constant dict "Blender.Object.IpoKeyTypes" to pass to ob.insertIpoKey(keytype), previously these constants were not documented well and added to Blender.Object directly

12 years agoAutoKey Avail was also not working correctly for Object with ObActions.
Joshua Leung [Sat, 5 May 2007 05:10:35 +0000 (05:10 +0000)]
AutoKey Avail was also not working correctly for Object with ObActions.

12 years agoQuite a few bugfixes:
Joshua Leung [Sat, 5 May 2007 04:46:47 +0000 (04:46 +0000)]
Quite a few bugfixes:

* Constraint sliders in Action Editor didn't update buttons window

* Homekey in IPO Editor didn't respect scaling.

* With Preview Range set, using the SKEY and EKEY hotkeys in the Timeline
to change the extents of it, resulted to the NLA editor not being
refreshed. (Note: I haven't actually seen this happening)

* Keyframing options 'Avail' and 'Needed' didn't work for Objects
when they had an ObAction. The problem was that the code assumed
that the object had an ipo-block associated with it, but that is
not the case when you have an Object Action for that object.

12 years agoupdated epydocs
Campbell Barton [Sat, 5 May 2007 03:35:12 +0000 (03:35 +0000)]
updated epydocs

12 years agoFix gcc warning about implicit declaration of function ‘object_data_is_libdata'
Ken Hughes [Fri, 4 May 2007 16:59:01 +0000 (16:59 +0000)]
Fix gcc warning about implicit declaration of function ‘object_data_is_libdata'

12 years agoFix for bug #6629 - modifiers and vertex-parenting
Ben Batt [Fri, 4 May 2007 16:36:39 +0000 (16:36 +0000)]
Fix for bug #6629 - modifiers and vertex-parenting

I have changed the vertex parenting code to use the derivedFinal mesh rather
than derivedDeform; this gives the result after all modifiers have been
applied, rather than the result up to the first non-deforming modifier as it
did before. Since the derivedFinal mesh can have more than one vertex
corresponding to a single vertex in the base mesh, the average of all such
vertices is used.

12 years agoStupid fix... Back when I introduced new env vars for what
Kent Mein [Fri, 4 May 2007 15:58:20 +0000 (15:58 +0000)]
Stupid fix...  Back when I introduced new env vars for what
targets to build, the definitions file had different names from the
Makefiles, so these two were broken.
WITH_BF_BLENDERGAMEENGINE
WITH_BF_BLENDERPLAYER

Fixed now.

Kent

12 years agoPython API
Ken Hughes [Fri, 4 May 2007 13:53:06 +0000 (13:53 +0000)]
Python API
----------
Correct some typos.

12 years agoCurves in Editmode:
Joshua Leung [Fri, 4 May 2007 11:35:37 +0000 (11:35 +0000)]
Curves in Editmode:

HKEY and Shift HKEY are used to change the handle type of curve control points in the IPO and Action Editors, and also for curves in the 3d view until recently.

This commit reverses the hotkey changes in:
http://projects.blender.org/pipermail/bf-blender-cvs/2007-May/009879.html

For curves, I've changed the show/hide points hotkeys to:
* Ctrl Alt HKEY  == Hide Point(s)
* Alt HKEY == Show All Points

These aren't optimal, but at least there are usable hotkeys for this for now. Before, there had been a long-standing hotkey conflict. Better hotkeys can be designed as part of 2.5 work.

12 years agoFix SSS panel docking. Didn't seen to go well with a clean .B.blend.
Brecht Van Lommel [Fri, 4 May 2007 09:17:46 +0000 (09:17 +0000)]
Fix SSS panel docking. Didn't seen to go well with a clean .B.blend.
Replace the R,G,B sliders with a color button, patch by Matt, thanks!

12 years agoHopefullly this commit shall resolve the issues drawing issues I saw with the Action
Joshua Leung [Fri, 4 May 2007 07:26:57 +0000 (07:26 +0000)]
Hopefullly this commit shall resolve the issues drawing issues I saw with the Action
Editor IPO-Curve channel names on a computer with an Intel G965 Express graphics card.

12 years agoadded access to SSS settings in Python
Campbell Barton [Fri, 4 May 2007 03:23:40 +0000 (03:23 +0000)]
added access to SSS settings in Python
buttons_shading.c - 2 tooltips elaborated

12 years agoSubsurface scattering:
Brecht Van Lommel [Thu, 3 May 2007 21:37:52 +0000 (21:37 +0000)]
Subsurface scattering:

Documentation on the settings, known limitations and implementation
info can be found here:
http://www.blender.org/development/current-projects/changes-since-243/subsurface-scattering/

12 years ago== Sculpt Mode ==
Nicholas Bishop [Thu, 3 May 2007 19:39:23 +0000 (19:39 +0000)]
== Sculpt Mode ==

Fixed bug #6631, Sculpt Tool don't works correctly on a mesh with Armature modifier

* Modified the calculation of projected (2D) vertex locations to use deformed vertex locations when appropriate

12 years ago== Sculpt Mode ==
Nicholas Bishop [Thu, 3 May 2007 19:11:54 +0000 (19:11 +0000)]
== Sculpt Mode ==

Fixed bug #6639 ] Sculpt mode clearing brush texture causes a crash (null pointer)

* Added code to clear the brush texture preview (used for propset) when deleting a brush texture
* Added a check in tex_strength() for an empty (NULL) texture slot to prevent the crash

12 years ago== UV/Image Editor ==
Juho Vepsalainen [Thu, 3 May 2007 15:10:44 +0000 (15:10 +0000)]
== UV/Image Editor ==

Patch #6570.

This patch adds color and alpha selectors to Image -> "New..." dialog.

12 years ago== Insert-Key Menu for Textures ==
Joshua Leung [Thu, 3 May 2007 10:50:51 +0000 (10:50 +0000)]
== Insert-Key Menu for Textures ==

Two minor naming tweaks:
* Cloud -> Clouds
* DistNoise -> DistortedNoise

12 years agoArmature Drawing Tweak:
Joshua Leung [Thu, 3 May 2007 10:31:20 +0000 (10:31 +0000)]
Armature Drawing Tweak:

I've always found it hard to see the armature bones in 'Line' mode that don't have any constraints/ik/keyframes/etc. colour indications as they were set to the colour of the background. This tweak makes these particular bones draw slightly darker than
the minor-gridlines in the 3d-view, but not as dark as the major gridlines.

12 years ago== IPO Editor - Scaled IPOs ==
Joshua Leung [Thu, 3 May 2007 10:19:37 +0000 (10:19 +0000)]
== IPO Editor - Scaled IPOs ==

Last few bits and pieces - transforms should now work correctly with scaled IPO's
now.

12 years ago== IPO Editor - IPO Scaling ==
Joshua Leung [Thu, 3 May 2007 07:26:38 +0000 (07:26 +0000)]
== IPO Editor - IPO Scaling ==

Cleanups of code for this. Just removed un-necesarry checks.

12 years agoBugfix #6624:
Joshua Leung [Thu, 3 May 2007 06:55:34 +0000 (06:55 +0000)]
Bugfix #6624:

When the databrowser was used for displaying available IPO-blocks, when called from the IPO-editor header, only Object IPO blocks were shown. This bug has apparently been around for quite a few releases, probably due to few people using
this feature (it only occurs on files with > 60 IPO-blocks of one type, and only
when you try to reassign ipo-blocks too).

12 years agoUpdate to svg import from JMS
Campbell Barton [Thu, 3 May 2007 00:06:07 +0000 (00:06 +0000)]
Update to svg import from JMS

     0.5.9d : - 2007/4/5
              -  when a svg file containts several curves they can be imported in
                 separate object.
              -  managment of paths' name when paths are imported as separate curves.
              -  a menu was added to select between separate or joined curves
              -  management of colors

     0.5.9e : - 2007/4/7
              - corrected a scale problem that only appears when one uses beveldepth
              - in separate curve option, name is also given to the curve data
              - added the list of svg's color names (147) and modified the color's method
                to work with.

     0.5.9h : - 2007/5/2
              - script was updated with the modifs by cambo
              - removed all debug statements
              - correction of a zero division error in the calc_arc function.

12 years agobug fixed when calculating animation bone offsets
Campbell Barton [Wed, 2 May 2007 23:45:09 +0000 (23:45 +0000)]
bug fixed when calculating animation bone offsets

12 years agoOrtho type of camera is now also controlled by CAM_LENS ipo.
Nathan Letwory [Wed, 2 May 2007 16:45:13 +0000 (16:45 +0000)]
Ortho type of camera is now also controlled by CAM_LENS ipo.

12 years agorewrote most of this script.
Campbell Barton [Wed, 2 May 2007 03:33:49 +0000 (03:33 +0000)]
rewrote most of this script.
* Export edges instead of faces
* dont export fgon edges
* export all objects (not just active) including Dupli Objects and static particles
* use PupBlock rather then a gui that uses a window.
* write the file normaly rather then redirecting stdout

12 years agomissed out with 2 active layers that should be active_rnd
Campbell Barton [Wed, 2 May 2007 01:40:27 +0000 (01:40 +0000)]
missed out with 2 active layers that should be active_rnd

12 years agoPyAPI, Mesh.c - added renderColorLayer and renderUVLayer to the mesh
Campbell Barton [Wed, 2 May 2007 00:49:41 +0000 (00:49 +0000)]
PyAPI, Mesh.c - added renderColorLayer and renderUVLayer to the mesh
buttons_editing.c - use icons for mesh viewport layer/render layer

12 years agoMade it so blender has an active render layer for Uv and Vertex color mesh layers.
Campbell Barton [Wed, 2 May 2007 00:01:23 +0000 (00:01 +0000)]
Made it so blender has an active render layer for Uv and Vertex color mesh layers.

This means changing the active UV/VCol layers wont change what renders.
needed to adjust the minor version so old files will copy the active layer to the render-uv/vcol layer.

boxpack2d.py - redoen in C now, dont need python version.

12 years ago== Bug Fixes ==
Martin Poirier [Tue, 1 May 2007 23:03:17 +0000 (23:03 +0000)]
== Bug Fixes ==

[ #6620 ] Problems to select faceloops in Select Only Visible mode
[ #6131 ] Vertex snapping broken in shaded face + edge select mode

Second bug was already "fixed", but that caused the other problem. Forced me to look more deeply into it find the real cause. So, faceloop problem is fixed by revert, the other is fixed by drawing vertice selection colors when in transform (previously was only when vert select was on).

12 years agoLog:
Juho Vepsalainen [Tue, 1 May 2007 14:37:59 +0000 (14:37 +0000)]
Log:
This commit fixes following issues:
* Undo push of "deselect" does not work correctly with curves. [#6632]
* Hotkey (h) does not work correctly with curves. [#6633]
* If control points are hidden partially (not all are hidden at once),
curve object is not hidden. [#6633]

Issue regarding the way curve objects are shown in the object mode
when they are hidden remains to be solved. [#6633]

First commit!

12 years agouvcalc_smart_project.py - fixed error in rare cases.
Campbell Barton [Tue, 1 May 2007 09:40:10 +0000 (09:40 +0000)]
uvcalc_smart_project.py - fixed error in rare cases.
xfig_export.py - NMesh to Mesh, minor improvements/cleanup.
unweld.py - fixed error when a vert had no faces, also some small speedups and changes.

12 years agoheader_filesel - pressing buttons made the file select header title change color.
Campbell Barton [Tue, 1 May 2007 06:57:20 +0000 (06:57 +0000)]
header_filesel - pressing buttons made the file select header title change color.
scripttemplate_object_edit.py - new script template for objects.

12 years agofix for adding a 0,0,0 dummy vertex, pointed out in [ #6607 ]
Campbell Barton [Tue, 1 May 2007 00:30:48 +0000 (00:30 +0000)]
fix for adding a 0,0,0 dummy vertex, pointed out in [ #6607 ]

12 years agotweaks to fly mode.
Campbell Barton [Tue, 1 May 2007 00:01:20 +0000 (00:01 +0000)]
tweaks to fly mode.
* acceleration made it a bit fast. halved the speed.
* holding shift make mouse wheel effect 1/10th as well as MMB mouse panning.

12 years agoown mistake, typo in checking mface's selection
Campbell Barton [Mon, 30 Apr 2007 23:06:07 +0000 (23:06 +0000)]
own mistake, typo in checking mface's selection

12 years agoReally minor updates related to code I wrote for the Cast modifier:
Willian Padovani Germano [Mon, 30 Apr 2007 19:20:43 +0000 (19:20 +0000)]
Really minor updates related to code I wrote for the Cast modifier:

- modifier.c: moved a check out of a loop, removed an unneeded var, made a couple cosmetic changes.

- DNA_modifier_types.h: added parentheses to cast and smooth modifier defines that used bit-shifting (like 1<<1, etc.).

Note: realized they were needed when I tried to use "flag &= ~MOD_CAST_Z" in modifier.c. Since MOD_CAST_Z is #defined as 1<<3, ~MOD_CAST_Z ended up as ~1<<3 while I wanted ~(1<<3). There are other places in that header file and others in Blender where it'd be safer to add the parentheses...

- Updated the epydoc documentation for the features added by Ben Batt to the cast modifier; fixed small typo in API_intro.py.

BTW, thanks Ben Batt (artificer) for checking, improving with a couple features and committing these modifiers :).

12 years agoPatch #6192 - Wave Modifier Option to move verts along normals
Ben Batt [Mon, 30 Apr 2007 16:49:12 +0000 (16:49 +0000)]
Patch #6192 - Wave Modifier Option to move verts along normals

This patch adds an option to the wave modifier to displace along the normals
of the base mesh, rather than in the local Z direction.

Thanks to Michael Fox (mfoxdoggg) for the patch!

12 years agoPatch #6582 - Weight groups in the wave modifier
Ben Batt [Mon, 30 Apr 2007 15:20:05 +0000 (15:20 +0000)]
Patch #6582 - Weight groups in the wave modifier

This patch adds vertex group functionality to the wave modifier, allowing the
user to specify a vertex group with which to modulate the wave deformation.

Thanks to Michael Fox (mfoxdoggg) for the patch!