blender-staging.git
13 years agoBugfix #6183
Ton Roosendaal [Mon, 12 Mar 2007 13:31:47 +0000 (13:31 +0000)]
Bugfix #6183

Option "Align view to selected face(s)" (shift+v) did not work for non-
uniform scaled objects.

13 years agoBugfix #6173
Ton Roosendaal [Mon, 12 Mar 2007 10:30:39 +0000 (10:30 +0000)]
Bugfix #6173

Dupliverts + shaded mode did not work; patch provided by Riku Palomäk
(tonttu)

13 years agopython api
Campbell Barton [Mon, 12 Mar 2007 06:21:58 +0000 (06:21 +0000)]
python api
removed most custom add_*data* wrappers from Main.c
removed makeCurrent() from Text.c (was never in a release), use "bpy.texts.active = text" now
clamp new image sizes
made add_empty_action accept a string rather then a blocktype since the blocktype was only being used to choose one of 3 strings anyway.

13 years agoadded no-xtile and no-ytile to the images realtime properties and python api.
Campbell Barton [Mon, 12 Mar 2007 01:43:11 +0000 (01:43 +0000)]
added no-xtile and no-ytile to the images realtime properties and python api.

13 years agoFix for bug #6127:
Brecht Van Lommel [Mon, 12 Mar 2007 00:30:46 +0000 (00:30 +0000)]
Fix for bug #6127:
Import scripts could create meshes with old style edgecodes.

13 years agoPython API
Ken Hughes [Sun, 11 Mar 2007 18:20:55 +0000 (18:20 +0000)]
Python API
----------
Fixed some broken/disabled Texture attributes after Image refactor.
Added texture.autoRefresh attribute.

13 years agoRemove gcc compiler warnings from various files.
Ken Hughes [Sun, 11 Mar 2007 17:31:27 +0000 (17:31 +0000)]
Remove gcc compiler warnings from various files.

13 years agomade all data adding functions accept a name such as add_mesh or add_curve, previousl...
Campbell Barton [Sun, 11 Mar 2007 16:25:17 +0000 (16:25 +0000)]
made all data adding functions accept a name such as add_mesh or add_curve, previously only some datatypes adding functions accepted a name.
also updated the Bpy.py epydocs

13 years agoDocumentation for the new automatically imported "bpy" module. (was Blender.Main)
Campbell Barton [Sun, 11 Mar 2007 12:35:01 +0000 (12:35 +0000)]
Documentation for the new automatically imported "bpy" module. (was Blender.Main)

13 years ago=Cineon Bug=
Joseph Eagar [Sun, 11 Mar 2007 12:27:57 +0000 (12:27 +0000)]
=Cineon Bug=

In my attempts to get cinepaint's cineon code to work with files in memory,
I accidently rewrote something that should have been left as it is.  This
causes images whose image buffers didn't start right after the cineon header to
become "shifted" to the left.

The DPX code looks correct, though.

13 years agoBugfix #6201
Ton Roosendaal [Sun, 11 Mar 2007 12:14:50 +0000 (12:14 +0000)]
Bugfix #6201

Shape key drivers were not copied correctly, when choosing the option
"ADD NEW Scene -> Full copy".

13 years agoAction Editor - Remove unused code.
Joshua Leung [Sun, 11 Mar 2007 04:39:19 +0000 (04:39 +0000)]
Action Editor - Remove unused code.

Nothing ever called that part of code, and that code was
'not implemented' anyway.

13 years agomoved python functions that deal with blender libdata into gen_library.c from gen_uti...
Campbell Barton [Sun, 11 Mar 2007 04:05:45 +0000 (04:05 +0000)]
moved python functions that deal with blender libdata into gen_library.c from gen_utils and BPY_interface
small cleanup, removed unused functions and explicetly cast pointers..

13 years agoPyApi: fix for own bad bug, obdata was having a user removed when the object was...
Campbell Barton [Sat, 10 Mar 2007 12:37:03 +0000 (12:37 +0000)]
PyApi: fix for own bad bug, obdata was having a user removed when the object was removed with (scene.objects.unlink(ob))

13 years agoremoved python oops access, (was unreliable and nobody used it)
Campbell Barton [Sat, 10 Mar 2007 11:47:24 +0000 (11:47 +0000)]
removed python oops access, (was unreliable and nobody used it)
oops data access need to be done differently.

Blender.sys fix for win32 path bug 6193

13 years agoMain
Campbell Barton [Sat, 10 Mar 2007 09:43:43 +0000 (09:43 +0000)]
Main
* Added bpy.*.new() - works for all except sound and font types
* Added bpy.*.load() - works for sound, font and image types

Text3d - removed unneeded check.

13 years agoadded "bpy" as a module imported by default to replace Blender.Main as a new way...
Campbell Barton [Sat, 10 Mar 2007 06:33:19 +0000 (06:33 +0000)]
added "bpy" as a module imported by default to replace Blender.Main as a new way to access blender data
gen_utils was missing some type checks that made assigning a objects DupGroup and meshes texcomesh not work.

13 years agoPython API
Ken Hughes [Fri, 9 Mar 2007 22:21:23 +0000 (22:21 +0000)]
Python API
----------
Added Image.source attribute, so image type can be get/set for still, movie,
sequence or generated images.

13 years agoPython API
Ken Hughes [Fri, 9 Mar 2007 21:48:47 +0000 (21:48 +0000)]
Python API
----------
Rearrange includes, remove dead code to fix gcc warnings.

13 years ago-> Fix for bug #6150
Geoffrey Bantle [Fri, 9 Mar 2007 19:54:05 +0000 (19:54 +0000)]
-> Fix for bug #6150

Missing call to update despgraph caused merge tools to crash
when called from toolbox or header menus.

13 years ago-> Small bug fix for modifiers and info header stats
Geoffrey Bantle [Fri, 9 Mar 2007 15:36:21 +0000 (15:36 +0000)]
-> Small bug fix for modifiers and info header stats

Small but very annoying issue with  modifiers meant that G.totvert/totedge/totface
were updated to reflect the effects of a subsurf modifier in object mode but all other
modifier types were ignored. This was not only inconsistent, but also made it very
difficult to keep track of poly budgets. Now in order to obtain accurate counts
object_handle_update is called immediatly after adding a modifier and precedes  a call
to countall() which has been modified to query the final derived mesh directly
using dm->getNumVerts/Edges/Faces callbacks. Editmode behaviour is unchanged.

13 years ago* Visualise material 'Shadeless' a bit better in the 3D View solid mode.
Matt Ebb [Fri, 9 Mar 2007 04:19:59 +0000 (04:19 +0000)]
* Visualise material 'Shadeless' a bit better in the 3D View solid mode.
  Now it draws as if Ref = Emit = 1.0 - not as accurate as shaded mode,
  but it's better than before, and at least it allows transparency.

13 years agoPython API
Ken Hughes [Fri, 9 Mar 2007 00:11:02 +0000 (00:11 +0000)]
Python API
----------
Fix bug with variable declaration in middle of function.

13 years agoBPython API
Campbell Barton [Thu, 8 Mar 2007 14:37:34 +0000 (14:37 +0000)]
BPython API
added a function - GenericLib_assignData for assigning blender data, to assign an ipo to a camera or world to a scene for instance.
Using this function removed ~300 lines of code.
also fixes user count error in some places that didnt check.

also made it possible to clear the colorband by setting it to []

13 years agobugfix, material copy wasnt increasing the lighting groups user count, but removing...
Campbell Barton [Thu, 8 Mar 2007 13:43:59 +0000 (13:43 +0000)]
bugfix, material copy wasnt increasing the lighting groups user count, but removing the lighting group decreased it.

13 years agoBugfix #6176
Ton Roosendaal [Thu, 8 Mar 2007 12:22:50 +0000 (12:22 +0000)]
Bugfix #6176

Matrix cache for particles was read out of bounds. Fix found by Ken Hughes.

13 years agoBugfix #6190
Ton Roosendaal [Thu, 8 Mar 2007 12:05:34 +0000 (12:05 +0000)]
Bugfix #6190

Composite: renderlayer nodes were not tagged 'changed' when rerendered,
causing a composite to skip them. (only for nodes having another scene)

13 years agoAdded python access to material and texture colorbands.
Campbell Barton [Thu, 8 Mar 2007 06:35:01 +0000 (06:35 +0000)]
Added python access to material and texture colorbands.
mat.colorbandDiffuse
mat.colorbandSpecular
tex.colorband

gen_utils - removed unused func

13 years ago== Multires ==
Nicholas Bishop [Thu, 8 Mar 2007 05:54:39 +0000 (05:54 +0000)]
== Multires ==

Fixed bug #6153, Blender Crash during rendering (internal) with object selected in edit mode.

* Added a render parameter to several of multires's functions. If render==true, multires won't push data onto the undo stack, and regular Mesh data is always used (as opposed to EditMesh data.)

13 years agoWas missing a define for intern_pos_update, somehow GCC didnt complain but MSVC did.
Campbell Barton [Thu, 8 Mar 2007 03:04:17 +0000 (03:04 +0000)]
Was missing a define for intern_pos_update, somehow GCC didnt complain but MSVC did.

13 years agoAdded a guard to prevent more than one texture to be generated per image.
Charlie Carley [Thu, 8 Mar 2007 03:00:33 +0000 (03:00 +0000)]
Added a guard to prevent more than one texture to be generated per image.

13 years agomade alloc_sequence accept a linkedList so it can be used from Python.
Campbell Barton [Wed, 7 Mar 2007 14:58:29 +0000 (14:58 +0000)]
made alloc_sequence accept a linkedList so it can be used from Python.
the start/end points for new strips were not set properly.

13 years agoBugfix (forum report):
Brecht Van Lommel [Wed, 7 Mar 2007 14:57:01 +0000 (14:57 +0000)]
Bugfix (forum report):
Texture space copy (ctrl+c) crashed.

13 years agoCompositor/assorted nodes fixes:
Matt Ebb [Wed, 7 Mar 2007 11:09:03 +0000 (11:09 +0000)]
Compositor/assorted nodes fixes:

* Auto-create compbufs for first socket of alphaover and set alpha nodes.
This allows you to eg. plug something into the second socket of an
alphaover node, and choose a solid colour in the first empty socket for
the image to be superimposed over.

Previously I had to create a bunch of extra nodes to (for example) mix
100% black over my render, just to get a black compbuf of the right size
that I could plug in. Not nice.

The Mix node already works this way, and these two should have, but
didn't.

* Allow the 'Fac' value to be used on RGB curves when there is no input
image. This lets you easily fade the changes in and out to check it
against the original, or to tone down the effect of the colour correction.

13 years agoDNA_meta_types.h - had a max element type defined that wasnt used anywhere, and some...
Campbell Barton [Wed, 7 Mar 2007 09:53:40 +0000 (09:53 +0000)]
DNA_meta_types.h - had a max element type defined that wasnt used anywhere, and some metaballs alredy use more then 1024 elements.
Metaball - added metaball.update attribute and constants Mataball.Update.ALWAYS, NEVER, HALFRES and NEVER

13 years agoType header_seq.c - Reassing Inputs -> Reassign Inputs
Campbell Barton [Wed, 7 Mar 2007 08:53:26 +0000 (08:53 +0000)]
Type header_seq.c - Reassing Inputs -> Reassign Inputs

Mesh.c added new function to mesh - mesh.pointInside(vec)

13 years agoTools
Ken Hughes [Wed, 7 Mar 2007 06:19:15 +0000 (06:19 +0000)]
Tools
-----
Bugfix #6174: files larger than (2^31)-1 bytes were reported with negative
sizes in file manager windows.  Added a cast to unsigned int before doing
conversions for the UI.

13 years agoPython API
Ken Hughes [Wed, 7 Mar 2007 00:56:09 +0000 (00:56 +0000)]
Python API
----------
Add some missing Py_DECREF() calls.

13 years agoPython API
Ken Hughes [Tue, 6 Mar 2007 18:55:35 +0000 (18:55 +0000)]
Python API
----------
Converted CurNurb module to tp_getseters.
Added patch #5761 to provide read access to NURB knot vectors.

13 years agoPython API
Ken Hughes [Tue, 6 Mar 2007 18:35:03 +0000 (18:35 +0000)]
Python API
----------
Bugfix #6166: Mesh.getFromObject() didn't accept three parameters.

13 years agoPython API
Ken Hughes [Tue, 6 Mar 2007 16:50:58 +0000 (16:50 +0000)]
Python API
----------
Forgot to put sentinel at end of Curve_getseters, probably the cause of
crashes on OSX (thanks Stephen!).  Also add doc strings for attributes, add
missing "taperob" attribute to python docs.

13 years agoUses the bglFlush() and is_a_really_crappy_intel_card() hacks to give
Ed Halley [Tue, 6 Mar 2007 03:39:15 +0000 (03:39 +0000)]
Uses the bglFlush() and is_a_really_crappy_intel_card() hacks to give
better support on low-end Macintoshes with integrated Intel graphics
chipsets.  Patch received from "UncleZiev" on #blendercoders, but I
adjusted it so other video chipsets and platforms are unaffected.

The only visual difference is that on MacBook and iMac machines, the box
select outline is drawn with solid, not dashed lines like other platforms
and not invisible as they were previously.

13 years agoextra space in CCFLAGS was causing problems on some systems.
Kent Mein [Mon, 5 Mar 2007 20:50:36 +0000 (20:50 +0000)]
extra space in CCFLAGS was causing problems on some systems.
reported on irc... by bdiego

Kent

13 years agoSmall silly feature: menus in blender now scroll with mouse wheel. :)
Ton Roosendaal [Mon, 5 Mar 2007 20:49:04 +0000 (20:49 +0000)]
Small silly feature: menus in blender now scroll with mouse wheel. :)
Note that activiting it works as if you used arrow keys, not with mouse.

13 years agobugfix #6163
Ton Roosendaal [Mon, 5 Mar 2007 20:47:59 +0000 (20:47 +0000)]
bugfix #6163

Dupligroup: the recursive option did not check for the button (flag) to
be set, only for the pointer ->dupli_group

13 years agoadding experemental sequencer module, This may change or be removed before next release.
Campbell Barton [Mon, 5 Mar 2007 15:26:03 +0000 (15:26 +0000)]
adding experemental sequencer module, This may change or be removed before next release.
scene.sequence - This is an iterator that loops over strips, metastrips are intern iterable.
currently has support for dealing with scene strips and metastrips, generic strip options and moving strips about.

13 years agomesh_skin - syntax error stopped ths script from working.
Campbell Barton [Mon, 5 Mar 2007 13:07:31 +0000 (13:07 +0000)]
mesh_skin - syntax error stopped ths script from working.

svg2obj.py update from JMS
 - Exec was removed from the collect_ATTRIBUTS function .
 - Other uses was evaluated.

13 years ago=== SCons ==
Nathan Letwory [Mon, 5 Mar 2007 06:38:30 +0000 (06:38 +0000)]
=== SCons ==
* fix by Malcolm Tredinnick for #6148
* some other misc changes by myself.

13 years agoTools
Ken Hughes [Mon, 5 Mar 2007 04:36:48 +0000 (04:36 +0000)]
Tools
-----
Bugfix #6156: Fluid simulation crashed on meshes with no vertices.  Add a
check for mesh->totvert==0 and print a message in that case.

13 years agoPython API
Ken Hughes [Mon, 5 Mar 2007 03:44:48 +0000 (03:44 +0000)]
Python API
----------
Conversion of Curve module to tp_getseters.

13 years agoPython API
Ken Hughes [Mon, 5 Mar 2007 03:38:41 +0000 (03:38 +0000)]
Python API
----------
Removed prototype for recently-removed Blender_RemoveFakeuser().

13 years agoPython API
Ken Hughes [Mon, 5 Mar 2007 03:34:40 +0000 (03:34 +0000)]
Python API
----------
Fix potential problem with tex.evaluate(); calling multitex_ext() with
non-zero integers instead of pointers.  Campbell, double-check that this fix
is correct, otherwise take another look at what it should do.

13 years agomade it possible to set a modifiers object to None to remove the object
Campbell Barton [Sun, 4 Mar 2007 11:48:37 +0000 (11:48 +0000)]
made it possible to set a modifiers object to None to remove the object
added initial support for the displacement modifier

13 years agoAdded functions to Text3d that allow modifying of text frames
Campbell Barton [Sat, 3 Mar 2007 14:05:36 +0000 (14:05 +0000)]
Added functions to Text3d that allow modifying of text frames
* .addFrame()
* .removeFrame(index)

getseters
* .activeFrame
* .totalFrames
* .frameWidth
* .frameHeight
* .frameX
* .frameY

13 years ago==== MSVC 7.1 project files ====
Andrea Weikert [Sat, 3 Mar 2007 11:28:15 +0000 (11:28 +0000)]
==== MSVC 7.1 project files ====
- fix for 3DPlugin compile
- cleanup of bullet path
- removed PHY_ODE project from 3D plugin too, not used anymore

Now all configurations should build again, let me know of any problems!

Not been able to test if the 3DPlugin is actually working,is job for another day ;)
Also the 3DPlugin is compiled without OpenExr, this needs to be looked into once too.

13 years agoBugfx #6138
Ton Roosendaal [Sat, 3 Mar 2007 10:40:44 +0000 (10:40 +0000)]
Bugfx #6138

Raytraced transparent shadow: did not respect lamp option "Layer".

13 years agoPose.c - added option not to update IPO's when adding a keyframe to a bone.
Campbell Barton [Sat, 3 Mar 2007 01:29:22 +0000 (01:29 +0000)]
Pose.c - added option not to update IPO's when adding a keyframe to a bone.
bvh_import.py
- delaying IPO updates gives a significant speedup.
- IPO's use linear interpolation now
- Added an option to loop the animation.
- fix for own bug, importing to empties never worked.

13 years ago* Compo:
Matt Ebb [Fri, 2 Mar 2007 22:02:40 +0000 (22:02 +0000)]
* Compo:
Added the curve options buttons (clipping, vector handles, etc)
to the time node

13 years agoInterface:
Willian Padovani Germano [Fri, 2 Mar 2007 18:15:41 +0000 (18:15 +0000)]
Interface:
  Added option "Load Factory Settings" in the "File" menu.

With this, users don't have to remove .B.blend if they want to load the default data stored in Blender. Thanks Ton for ok'ing it and suggesting a better place in the menu (I had put it as "New (factory defaults)").

13 years agovector.c - bugfix, vec.w accessed vec[4] not vec[3]! (probably my fault)
Campbell Barton [Fri, 2 Mar 2007 09:48:04 +0000 (09:48 +0000)]
vector.c - bugfix, vec.w accessed vec[4] not vec[3]! (probably my fault)
Texture.c - added "val = tex.evaluate(vec)" so you can find the color/intensity at a given loaction for a texture.

13 years agoBugfix:
Joshua Leung [Fri, 2 Mar 2007 07:30:52 +0000 (07:30 +0000)]
Bugfix:

Removed the ability to change the name of a constraint or vertex group
to "" as it was causing problems. Anyway, it shouldn't be allowed.

13 years agomade libdata iterator types use existing function from BPY_interface - ID_asPyObject...
Campbell Barton [Fri, 2 Mar 2007 05:47:14 +0000 (05:47 +0000)]
made libdata iterator types use existing function from BPY_interface - ID_asPyObject(*id)

13 years agovarious warnings fixes - mostly casting and initialization issues
Joseph Gilbert [Thu, 1 Mar 2007 21:30:48 +0000 (21:30 +0000)]
various warnings fixes - mostly casting and initialization issues

13 years agoupdating vc7 projectfiles to link to python2.5
Joseph Gilbert [Thu, 1 Mar 2007 20:49:44 +0000 (20:49 +0000)]
updating vc7 projectfiles to link to python2.5

13 years agoown error, missing braces.
Campbell Barton [Thu, 1 Mar 2007 15:40:13 +0000 (15:40 +0000)]
own error, missing braces.

13 years agoScene.c - world could not be set to None, added "cursor" attribute.
Campbell Barton [Thu, 1 Mar 2007 13:22:26 +0000 (13:22 +0000)]
Scene.c - world could not be set to None, added "cursor" attribute.
Scene.py - added docs for new scen attributes.
meshtools.c - typo

13 years agoadded face sorting from the distance to cursor. (near to far and far to near)
Campbell Barton [Thu, 1 Mar 2007 10:51:28 +0000 (10:51 +0000)]
added face sorting from the distance to cursor. (near to far and far to near)

13 years ago* Fix for Bug #6091:
Matt Ebb [Thu, 1 Mar 2007 10:22:16 +0000 (10:22 +0000)]
* Fix for Bug #6091:
Ambient Occlusion baking uses hidden objects

13 years agonew script seams from islands, adds seams at the boundries of existing UV islands.
Campbell Barton [Thu, 1 Mar 2007 05:32:06 +0000 (05:32 +0000)]
new script seams from islands, adds seams at the boundries of existing UV islands.

uvcalc_smart_project - needed to import Main

13 years ago=== SCons ===
Nathan Letwory [Thu, 1 Mar 2007 05:00:24 +0000 (05:00 +0000)]
=== SCons ===

Copy the Python 2.5 dll on windows, not 2.4. Also commented out the copying of the
 python24.zip and zlib.pyd. I'm under the impression there is a concensus we want
 users to install py25 if they want to use it.

13 years agoquake map exporter, supports lamps, cubes as brushes, complex meshes face per brush...
Campbell Barton [Thu, 1 Mar 2007 02:25:20 +0000 (02:25 +0000)]
quake map exporter, supports lamps, cubes as brushes, complex meshes face per brush, nurbs surfaces as a patch
texture mapping dosnt work yet.

13 years agofixes to this script pointed out by JMS
Campbell Barton [Wed, 28 Feb 2007 22:49:20 +0000 (22:49 +0000)]
fixes to this script pointed out by JMS

13 years ago=== Misc ===
Martin Poirier [Wed, 28 Feb 2007 22:04:37 +0000 (22:04 +0000)]
=== Misc ===

Removing leftover debugging printfs.

13 years ago=== bugfix ===
Andrea Weikert [Wed, 28 Feb 2007 21:37:14 +0000 (21:37 +0000)]
=== bugfix ===
[ #6077 ] Scripts in sub-sub-folders of Blender's scripts folder won't run.
[ #5572 ] Scripts in sub-folders of Blender's scripts folder won't run
- I've added a function in blenlib to join two strings with a path separator in between.
- Willian, Campbell, please check if commit in BPY_menus is ok and test - thanks!

13 years ago== Sculpt Mode ==
Nicholas Bishop [Wed, 28 Feb 2007 21:10:41 +0000 (21:10 +0000)]
== Sculpt Mode ==

When switching scenes, turn Sculpt Mode off (same as for other special modes.)

13 years ago=== bugfix ===
Andrea Weikert [Wed, 28 Feb 2007 20:11:10 +0000 (20:11 +0000)]
=== bugfix ===
filename and path issues:
[ #6107 ] Animation crashes when ouput folder does not exist
- using the Windows drive as default and only then degrading to the
  Blender installation drive and then the first valid drive.
- in case of degrading added error message print to console to make it
  transparent
[ #6106 ] fluids - no default path
- setting the default path to U.tempdir where Blender stores temporary files

13 years agoFix for bug #6136:
Brecht Van Lommel [Wed, 28 Feb 2007 17:50:15 +0000 (17:50 +0000)]
Fix for bug #6136:
Yafray rendering with 2 or cameras linked crashes. Iterating over and
erasing from STL map at the same time wasn't being done correct.

13 years ago=== Transform Snap ===
Martin Poirier [Wed, 28 Feb 2007 17:16:17 +0000 (17:16 +0000)]
=== Transform Snap ===

Snapping to other meshes from edit mode.

This commit adds the capacity to snap to vertice of other selected meshes. (This is for sanity reasons, big scenes would kill the speed)
So, if you want to snap to another mesh, just add it to the selection and you're done.

NOTE: Priority is given to vertice inside the current mesh (if they overlap with outside verts)

13 years ago=== Transform Snap ===
Martin Poirier [Wed, 28 Feb 2007 15:29:18 +0000 (15:29 +0000)]
=== Transform Snap ===

[ #6131 ] Vertex snapping broken in shaded face + edge select mode

The problem was trying to use the OGL optimisation when vertex selection was turned off. Added a check for that in all the find_nearest functions (vert, edge, face) so nobody falls in that trap again.

The offshot is that snapping in shaded view without vertex select on can snap to occluded vertice.

13 years agoAdded a few extra defines for adding constraints. No new constraints added yet.
Joshua Leung [Wed, 28 Feb 2007 08:54:32 +0000 (08:54 +0000)]
Added a few extra defines for adding constraints. No new constraints added yet.

13 years ago=== SCons ===
Nathan Letwory [Wed, 28 Feb 2007 04:51:13 +0000 (04:51 +0000)]
=== SCons ===

Update configs to use Python 2.5. To quote from IRC:

07:17  * stivs waves his +5 Mouse of Power and authorizes jestie to update all of scons to py 2.5.
07:17 < stivs> let the screaming begin!

13 years agomis named Layer, should be Scene.Layers
Campbell Barton [Wed, 28 Feb 2007 04:50:39 +0000 (04:50 +0000)]
mis named Layer, should be Scene.Layers

13 years agoplumiferos request,
Campbell Barton [Wed, 28 Feb 2007 03:07:07 +0000 (03:07 +0000)]
plumiferos request,
Simple script to copy the active vertex group, also has the option to only copy the selected faces into the new group.

13 years ago== Sculpt Mode ==
Nicholas Bishop [Tue, 27 Feb 2007 23:54:55 +0000 (23:54 +0000)]
== Sculpt Mode ==

Added a SculptSession parameter to sculptmode_propset_end, to avoid propset_end creating a new session (propset_end is called when freeing the session, so this can cause a memory leak.)

13 years agodumb error with Lattice getseters, found with a python random testing script
Campbell Barton [Tue, 27 Feb 2007 15:59:25 +0000 (15:59 +0000)]
dumb error with Lattice getseters, found with a python random testing script

13 years agoadded wrong file.
Campbell Barton [Tue, 27 Feb 2007 12:55:48 +0000 (12:55 +0000)]
added wrong file.

13 years agoAdded 2 options to the object Ctrl+F menu - Sort faces by View axis (front to back...
Campbell Barton [Tue, 27 Feb 2007 11:15:38 +0000 (11:15 +0000)]
Added 2 options to the object Ctrl+F menu - Sort faces by View axis (front to back) and (back to front)
Use the build modifier to see it sort.

13 years agofix for own error, mixed decloration.
Campbell Barton [Tue, 27 Feb 2007 10:27:12 +0000 (10:27 +0000)]
fix for own error, mixed decloration.

13 years agoadded id_attributes.py, this containes ID doc strings, all datablocks that have use...
Campbell Barton [Tue, 27 Feb 2007 10:23:24 +0000 (10:23 +0000)]
added id_attributes.py, this containes ID doc strings, all datablocks that have use ID props import this docstring.

13 years agox3d_export.py - fix for bug 6120
Campbell Barton [Tue, 27 Feb 2007 06:39:48 +0000 (06:39 +0000)]
x3d_export.py - fix for bug 6120
Sound.c - moved to getseters

13 years ago== Sculpt Mode ==
Nicholas Bishop [Tue, 27 Feb 2007 06:22:41 +0000 (06:22 +0000)]
== Sculpt Mode ==

Removed special Sculpt Mode undo code. Sculpt Mode undo is no longer so useful, since in order to make it more correct it has gotten slower, so normal BIF_undo_push is used now. Fixes bug with Shape Keys, sculpting on a shape key wasn't doing undo properly.

13 years agoCode Cleanups for Constraints
Joshua Leung [Tue, 27 Feb 2007 04:35:05 +0000 (04:35 +0000)]
Code Cleanups for Constraints
* Removed some code which really wasn't needed

13 years agomoved Lattice to getseters. gen_utils.c - removed unused code fixed a warning.
Campbell Barton [Tue, 27 Feb 2007 04:28:15 +0000 (04:28 +0000)]
moved Lattice to getseters. gen_utils.c - removed unused code fixed a warning.

13 years ago== Sculpt Mode ==
Nicholas Bishop [Mon, 26 Feb 2007 21:28:46 +0000 (21:28 +0000)]
== Sculpt Mode ==

Followup to joeedh's commit, removed use of RenderInfo struct from Sculpt Mode.

13 years agoadd some comments about libalut and a BF_OPENAL_LIB line
Stephen Swaney [Mon, 26 Feb 2007 20:50:50 +0000 (20:50 +0000)]
add some comments about libalut and a BF_OPENAL_LIB line
to uncomment if necessary.

libalut is becoming problematic.  some distros have it, some do not.
At least one considers it deprecated, iirc.

13 years ago=NKey Panel Fix=
Joseph Eagar [Mon, 26 Feb 2007 20:36:03 +0000 (20:36 +0000)]
=NKey Panel Fix=

The weightgroup menu in the NKEY panel in
the 3D viewport was using a two-small string variable,
which could cause crashes on msvc compilers (which detects
stack mangling at runtime, nice!).

This should fix bug #6097, though it's hard for me to test
as my default compiler (gcc) is much more lenient :S

13 years agoBugfix #6115
Ton Roosendaal [Mon, 26 Feb 2007 19:58:20 +0000 (19:58 +0000)]
Bugfix #6115

Render crash: "Stars" render didn't survive scenes without a camera.

13 years ago=Armature Undo Fix=
Joseph Eagar [Mon, 26 Feb 2007 19:34:38 +0000 (19:34 +0000)]
=Armature Undo Fix=

I forgot a few hide functions that needed undo pushes, and misnamed
an undo push in one of them.

13 years ago=== Edit Mesh Bevel ===
Martin Poirier [Mon, 26 Feb 2007 17:24:22 +0000 (17:24 +0000)]
=== Edit Mesh Bevel ===

[ #6110 ] bevel tool contains a bug

Fix: Added missing initgrabz

13 years agoconsole.py
Campbell Barton [Mon, 26 Feb 2007 02:24:04 +0000 (02:24 +0000)]
console.py
* improved autocompleation
* faster dictionary usage

Types.c
* type(scene.getTimeLine()) # old bug, will crash blender