14 years agoStill not part of the solution file, so shouln't affect the build. This version...
Robert Holcomb [Sat, 24 Mar 2007 07:18:26 +0000 (07:18 +0000)]
Still not part of the solution file, so shouln't affect the build.  This version is complete, but won't compile until I commit the new BKE_node.h and drawnode.c files (plus a couple of others)

14 years agoscons script initial commit. NOT TESTED yet, but I'm doing that.
Robert Holcomb [Sat, 24 Mar 2007 07:10:57 +0000 (07:10 +0000)]
scons script initial commit.  NOT TESTED yet, but I'm doing that.

14 years agoInitial commit. Not in build system so shouldn't interfere with anything at this...
Robert Holcomb [Sat, 24 Mar 2007 06:57:29 +0000 (06:57 +0000)]
Initial commit.  Not in build system so shouldn't interfere with anything at this point.  Will commit modified versions of existing files once build system is tested.

14 years agoFix gcc warnings (assignment makes integer from pointer without a cast).
Ken Hughes [Sat, 24 Mar 2007 05:10:03 +0000 (05:10 +0000)]
Fix gcc warnings (assignment makes integer from pointer without a cast).

14 years agoBugfix #6413: Select all (bones) doesn't work with keyed armature
Joshua Leung [Sat, 24 Mar 2007 03:34:28 +0000 (03:34 +0000)]
Bugfix #6413:  Select all (bones) doesn't work with keyed armature

Silly little mixup (one case where one of the macros I added shouldn't be used)

14 years ago== Copy Location Constraint ==
Joshua Leung [Sat, 24 Mar 2007 03:00:54 +0000 (03:00 +0000)]
== Copy Location Constraint ==

I've added two new options for this constraint:
* Copy Bone Tip Location
* Apply owner's location on top of copied location ('Offset')

14 years agoRemoved some more debug prints (regarding camera angle/lens stuff)
Joshua Leung [Sat, 24 Mar 2007 02:20:00 +0000 (02:20 +0000)]
Removed some more debug prints (regarding camera angle/lens stuff)

14 years agoCommented out debug-print in Ton's commit from yesterday (camera angle)
Joshua Leung [Sat, 24 Mar 2007 01:25:11 +0000 (01:25 +0000)]
Commented out debug-print in Ton's commit from yesterday (camera angle)

14 years agoPatch #6408: Small bugfix in action editor when use ctrl+z
Joshua Leung [Sat, 24 Mar 2007 01:08:17 +0000 (01:08 +0000)]
Patch #6408: Small bugfix in action editor when use ctrl+z

A check is now performed to see if any markers were deleted before adding an undo-push, so you don't need to CTRL+Z twice to un-delete keys in the Action Editor if you didn't have any markers selected.

14 years agopatch 5341 by Juho
Ton Roosendaal [Fri, 23 Mar 2007 13:12:11 +0000 (13:12 +0000)]
patch 5341 by Juho

This adds option to show camera angle instead of camera lens value.
(Complete revised patch...)

14 years ago== Interface ==
Matt Ebb [Fri, 23 Mar 2007 05:41:58 +0000 (05:41 +0000)]
== Interface ==
* Tablet pressure sensitivity for number field dragging

Many of the number fields in Blender are very sensitive. With this addition,
softer tablet pressure causes the number field dragging to be more precise,
as if you're holding shift, but variable depending on how hard or soft
you're pressing. You can push hard for large adjustments or just lightly
stroke it for fine tuning.

P.S. There was a bug in the tracker regarding tablet support in sculpt mode that
never really got resolved. I don't know if it still exists, but number fields
are a pretty major part of Blender, so just in case this commit causes problems
for you, you can disable it (temporarily, this won't be left in) by changing
rt: to any value other than 0. If anyone has problems, please report them, and
we can get it sorted out properly.

14 years agoBugfix #6389:
Joshua Leung [Fri, 23 Mar 2007 04:45:17 +0000 (04:45 +0000)]
Bugfix #6389:

"Copy To Linked" option for VertexGroups copied the vertexgroups of the active mesh to all meshes in the scene, not just the ones that used the same mesh datablock.

14 years agoApplied patch #6102 submitted by Mal
Charlie Carley [Fri, 23 Mar 2007 02:20:12 +0000 (02:20 +0000)]
Applied patch #6102 submitted by Mal

14 years agoAdded "Pack Charts" function in the UV editor, using Campbell's new box
Brecht Van Lommel [Thu, 22 Mar 2007 20:32:20 +0000 (20:32 +0000)]
Added "Pack Charts" function in the UV editor, using Campbell's new box
packing code.

14 years agochange script to use the proper form of Scene.GetCurrent().
Stephen Swaney [Thu, 22 Mar 2007 20:08:10 +0000 (20:08 +0000)]
change script to use the proper form of Scene.GetCurrent().

14 years agoadded stdlib.h header, comments and all lines < 80 chars.
Campbell Barton [Thu, 22 Mar 2007 03:28:34 +0000 (03:28 +0000)]
added stdlib.h header, comments and all lines < 80 chars.

14 years ago* Added a slot for scripts to appear in the Render menu. The script category for
Matt Ebb [Thu, 22 Mar 2007 01:40:28 +0000 (01:40 +0000)]
* Added a slot for scripts to appear in the Render menu. The script category for
render scripts was already there, but strangely they were only accessible from
the script menu.

14 years agoSmall feature for Referenced Library debugging:
Ton Roosendaal [Wed, 21 Mar 2007 20:40:18 +0000 (20:40 +0000)]
Small feature for Referenced Library debugging:

In Outliner, shift+click on item with [Li] icon, gives name of Library file

14 years ago==== MSVC 7.1 projectfiles ====
Andrea Weikert [Wed, 21 Mar 2007 20:36:14 +0000 (20:36 +0000)]
==== MSVC 7.1 projectfiles ====
- added BLI_boxpack2d files

14 years agomissing x/y setting for the first box
Campbell Barton [Wed, 21 Mar 2007 17:11:25 +0000 (17:11 +0000)]
missing x/y setting for the first box

14 years agomoved the boxpacker from PyAPI's Geometry to BLI_boxpack2d
Campbell Barton [Wed, 21 Mar 2007 17:06:02 +0000 (17:06 +0000)]
moved the boxpacker from PyAPI's Geometry to BLI_boxpack2d

made LSCM UV Unwrapper use boxpack2d

14 years agofix compiler warning: implicit declaration of oldLibrary_Init()
Stephen Swaney [Wed, 21 Mar 2007 14:25:31 +0000 (14:25 +0000)]
fix compiler warning: implicit declaration of oldLibrary_Init()

14 years agoreplaced face sort by Z with randomize (Ctrl+F menu)
Campbell Barton [Wed, 21 Mar 2007 13:47:20 +0000 (13:47 +0000)]
replaced face sort by Z with randomize (Ctrl+F menu)

14 years ago== Multires ==
Nicholas Bishop [Wed, 21 Mar 2007 06:33:04 +0000 (06:33 +0000)]
== Multires ==

Added an option to choose between Catmull-Clark and simple subdivision when adding a level. This setting applies only to how the level is created; any changes to lower levels are still propagated to the top level using Catmull-Clark.

14 years agoPython API
Ken Hughes [Wed, 21 Mar 2007 02:46:42 +0000 (02:46 +0000)]
Python API
Roll back to previous version; didn't mean to commit changes with Py_GetVersion
just yet!

14 years agoPython API
Ken Hughes [Wed, 21 Mar 2007 02:23:28 +0000 (02:23 +0000)]
Python API
Support for new bpy.libraries module, which is being proposed to replace
the Blender.Library module.

14 years agoPython API
Ken Hughes [Tue, 20 Mar 2007 18:45:05 +0000 (18:45 +0000)]
Python API
Definition of default "bpy" module was decrementing reference count, which
caused assertion errors on Windows.  This fixes the problem on Linux; Win
developers please test!

14 years agoadded a null check for give_matarar with make_local, was crashing with some data
Campbell Barton [Tue, 20 Mar 2007 16:54:31 +0000 (16:54 +0000)]
added a null check for give_matarar with make_local, was crashing with some data

14 years agoThe function to get a Material didn't correctly check for object types.
Ton Roosendaal [Tue, 20 Mar 2007 15:34:00 +0000 (15:34 +0000)]
The function to get a Material didn't correctly check for object types.
(bug reported by Campbell via irc)

14 years agoStupid little fix, var == "str" bad.... !strcmp(var, "str") good...
Kent Mein [Tue, 20 Mar 2007 15:07:23 +0000 (15:07 +0000)]
Stupid little fix, var == "str" bad....  !strcmp(var, "str") good...

Thanks DripStone,


14 years agoBoxPack2D example in epydocs, small cleanup on Geometry.c
Campbell Barton [Tue, 20 Mar 2007 12:07:02 +0000 (12:07 +0000)]
BoxPack2D example in epydocs, small cleanup on Geometry.c

14 years agoNLA:
Joshua Leung [Tue, 20 Mar 2007 11:11:32 +0000 (11:11 +0000)]

Some more action channel protection stuff

14 years ago== Action Editor - Collapsable Action Channels ==
Joshua Leung [Tue, 20 Mar 2007 11:04:47 +0000 (11:04 +0000)]
== Action Editor - Collapsable Action Channels ==

Action Channels can now be collapsed/expanded to show/hide Constraint Channels, lessening clutter. In future, this could (will probably be) expanded to
show the show/hide individual transform channels.

User Notes:
* Expansion is off by default
* NKEY popup now features option to turn expansion on/off
* Changed behaviour of protection a bit - now if an action channel has protection
 on, constraint channels under it are also automagically protected

Developer Notes:
* I've gone through doing a lot of whitespace/linebreak tweaking to get the code looking more consistent with itself
* To save typing (and to make it easier to make future revisions), a set of macros
 is now used to check for some commonly-checked settings (i.e. selection, visibility,
 and protection).

14 years agoGeometry.c - rewrote my python box-packer algo in C,
Campbell Barton [Tue, 20 Mar 2007 07:23:09 +0000 (07:23 +0000)]
Geometry.c - rewrote my python box-packer algo in C,
packing 2400 rectanges is about 38x faster.

Use the C implimentation in uvcalc_lightmap and uvcalc_smart_project

Blender.c - filename returning None raises errors with existing scripts, just return "" so string functions on the filename dont raise an error.

14 years agoMinor modification of foreground processing code in the defocus node.
Alfredo de Greef [Tue, 20 Mar 2007 06:50:39 +0000 (06:50 +0000)]
Minor modification of foreground processing code in the defocus node.
Now uses a fixed value instead of a value based on the closest object.
Should eliminate sudden jumps in blur amount from frame to frame when used
in animations.

14 years agocleanup compiler warnings for
Stephen Swaney [Tue, 20 Mar 2007 04:19:30 +0000 (04:19 +0000)]
cleanup compiler warnings for
  missing virtual destructors
  out of order initializers

14 years ago==== blenlib ====
Andrea Weikert [Mon, 19 Mar 2007 19:34:04 +0000 (19:34 +0000)]
==== blenlib ====
- added replacement BLI_snprintf for snprintf to avoid MSVC specific #defines for snprintf.
- BLI_snprintf also ensures trailing zero, so helps preventing buffer overflows

14 years ago==== MSVC 7.1 projectfiles ====
Andrea Weikert [Mon, 19 Mar 2007 19:29:27 +0000 (19:29 +0000)]
==== MSVC 7.1 projectfiles ====
- added new file Config.c for Python API

14 years agoPatch #3126
Ton Roosendaal [Mon, 19 Mar 2007 15:48:24 +0000 (15:48 +0000)]
Patch #3126

Option to draw object name in 3d window corner, now also displays for
meshes the (pinned) shape key name.

Threads: warning fix, added (void) for function declaration.

14 years agoPatch #6123m by Leandro Inocencio
Ton Roosendaal [Mon, 19 Mar 2007 11:26:53 +0000 (11:26 +0000)]
Patch #6123m by Leandro Inocencio

Sound Window now has option "lock view to other 2d windows" too.

14 years agoPreview Range Bugfix:
Joshua Leung [Mon, 19 Mar 2007 10:15:13 +0000 (10:15 +0000)]
Preview Range Bugfix:

Removed some code that was causing problems and wasn't even needed.
Now, there are no more problems when setting the preview range from the Action Editor when it was displaying an action that was scaled in the NLA.

14 years agoPatch by Juho V,
Ton Roosendaal [Mon, 19 Mar 2007 09:40:41 +0000 (09:40 +0000)]
Patch by Juho V,

Colorband: nodes now show an "Add" button too.

14 years ago== Preview Range ==
Joshua Leung [Mon, 19 Mar 2007 07:32:36 +0000 (07:32 +0000)]
== Preview Range ==

Preview Range is a useful tool for animating (espcially on longer timelines). It allows you to only run through a limited set of frames to quickly preview the timing of a section of movement without going through the whole timeline. It means you don't have to set/reset start/end frame for rendering everytime you wish to only preview a region of frames.

Hi Ton,

Attached is a patch (I know you've already got lots of them in the tracker ;-) ) for a feature that I've sometimes wanted. It seems that this sort of thing is supported in other packages, but I can't be sure.

Note: I may have left in a few bits and pieces I didn't mean to in the patch (this is off a source tree which had quite a few revisions in it, all of which was experimental)

== Preview Range ==
Preview range is useful for animating (espcially on longer timelines). It allows you to only run through a limited set of frames to quickly preview the timing of a section of movement without going through the whole timeline. It means you don't have to set/reset start/end frame for rendering everytime you wish to only preview a region of frames.

* 'Ctrl P' in Action/NLA/Timeline sets preview range. Click+drag to form selection-box defining region of frames to preview
* 'Alt P' in Action/NLA/Timeline to clear preview range
* 'Pre' button beside Start/End fields in timeline toggles whether start/end fields refer to scene or preview
* 'Ctrl Rightarrow' and 'Ctrl Leftarrow' jump to start/end of preview region when it is set
* 'S' and 'E' set the start/end frames of preview region when it is set (just like normally) in Timeline only
* In Action/NLA editors, frames out of preview region are now drawn darkened when preview-region is set

See the following page for more info later:

14 years agoFixing a few more gcc warnings by adding pointer casts.
Ken Hughes [Mon, 19 Mar 2007 05:40:42 +0000 (05:40 +0000)]
Fixing a few more gcc warnings by adding pointer casts.

14 years agoaddad e new macro - BASE_SELECTABLE for checking if an object is selectable (restrict...
Campbell Barton [Mon, 19 Mar 2007 05:09:56 +0000 (05:09 +0000)]
addad e new macro - BASE_SELECTABLE for checking if an object is selectable (restrict visible and restrict selected are off and its in the current view layer)

Made "Select Grouped" functions and "Select Linked" use BASE_SELECTABLE macro so they wont select objects they shouldent.
Made "Select Grouped" push an undo

Made "Select Grouped" and "Select Linked" only push add an UNDO if they make a change to the selection.

Fix for own bug. "Select Group" -> Hooks option could crash blender if an objetc hook was in another scene.

14 years agoadded mesh skin to the face key menu and added a python slot here.
Campbell Barton [Mon, 19 Mar 2007 03:22:42 +0000 (03:22 +0000)]
added mesh skin to the face key menu and added a python slot here.

14 years ago[ #4227 ] Determine the "real" current filename via Python
Campbell Barton [Mon, 19 Mar 2007 01:51:54 +0000 (01:51 +0000)]
[ #4227 ] Determine the "real" current filename via Python
applied. tested and this is how "filename" should work, so changed Blender.Get("filename") to return None instead of the last opened file.

14 years ago=== View Orbit Around Active ===
Martin Poirier [Sun, 18 Mar 2007 18:21:24 +0000 (18:21 +0000)]
=== View Orbit Around Active ===

Changed to Orbit around Selection, using transform code to calculate the selection center (using Median center method).

14 years ago=== Constraints ===
Martin Poirier [Sun, 18 Mar 2007 14:53:17 +0000 (14:53 +0000)]
=== Constraints ===

Patch by Juho Vepsäläinen (bebraw)
[ #5850 ] Inverted axis' buttons to Copy Rotation and Copy Location constraints

This patch adds the options to invert the value being copied from each axis of the Copy Rot/Copy Loc constraints.

This commit also includes some slight code sanitization and tool tips cleanup (for the two track constraints, the tool tips were really unuseful).

14 years ago== Edgesplit modifier speed improvements ==
Ben Batt [Sun, 18 Mar 2007 14:20:24 +0000 (14:20 +0000)]
== Edgesplit modifier speed improvements ==
Speed improvements to the Edgesplit modifier (changed the data structures
and memory management to avoid using slow GHash functions and large numbers
of small mallocs). In my tests, this makes the modifier approximately twice
as fast.

14 years ago== Mirror modifier upgrade ==
Ben Batt [Sun, 18 Mar 2007 13:46:26 +0000 (13:46 +0000)]
== Mirror modifier upgrade ==
Upgraded the Mirror modifier to support mirroring of UV coordinates in the
faces created by the modifier.

14 years ago== Array modifier upgrade ==
Ben Batt [Sun, 18 Mar 2007 13:26:53 +0000 (13:26 +0000)]
== Array modifier upgrade ==
Upgraded the Array modifier to allow the user to specify start and end
cap objects. This makes arrays more flexible and more useful for creating
subsurf cages. The cap objects are added at the start and end of the array,
and will be auto-merged with the rest of the array if the 'Merge' button is

Examples at:

14 years agoexcellent mesh unolder script by Matthew Chadwick
Campbell Barton [Sun, 18 Mar 2007 12:08:51 +0000 (12:08 +0000)]
excellent mesh unolder script by Matthew Chadwick

14 years ago== Action Editor ==
Joshua Leung [Sun, 18 Mar 2007 06:06:54 +0000 (06:06 +0000)]
== Action Editor ==

* When the mouse is over an Action or Constraint Channel, you can now
rename it by pressing NKEY (like for Shapekey channels). You can also set
the 'protection' status for the Action/Constraint channel in this way.

* Removed the double confirmation when deleting Action-Channels. Also,
markers are now not deleted when deleting action channels.

14 years agoadded bpy.config, more configuration options still need adding.
Campbell Barton [Sun, 18 Mar 2007 04:46:54 +0000 (04:46 +0000)]
added bpy.config, more configuration options still need adding.

14 years ago== Recently-Opened Files List (Patch #5708) ==
Joshua Leung [Sun, 18 Mar 2007 03:30:24 +0000 (03:30 +0000)]
== Recently-Opened Files List (Patch #5708) ==

In the past, this was limited to only having 10 items. Now you can set the
number of recently opened files that are remembered (ranging from 0 to 30

Setting for this can be found under 'Auto-Save' in the Info window.

14 years ago== Sculpt Mode ==
Nicholas Bishop [Sat, 17 Mar 2007 20:11:50 +0000 (20:11 +0000)]
== Sculpt Mode ==

Added a #define for the number of vertices the flatten brush should sample when calculating the distance to flatten to.

14 years agosource/blender/src/buttons_editing.c:
Ken Hughes [Sat, 17 Mar 2007 15:00:11 +0000 (15:00 +0000)]
    Fix C90 variable declaration in function body
    remove unused variable

14 years agoFix various gcc warning, unused variables and incorrect type passed to
Ken Hughes [Sat, 17 Mar 2007 14:46:04 +0000 (14:46 +0000)]
Fix various gcc warning, unused variables and incorrect type passed to
*printf functions.

14 years agoMore fix various gcc warning, mainly related to signed/unsigned parameters
Ken Hughes [Sat, 17 Mar 2007 14:43:52 +0000 (14:43 +0000)]
More fix various gcc warning, mainly related to signed/unsigned parameters
passed in general.

14 years agoFix various gcc warning related to signed/unsigned parameters passed to
Ken Hughes [Sat, 17 Mar 2007 14:15:02 +0000 (14:15 +0000)]
Fix various gcc warning related to signed/unsigned parameters passed to
OpenGL functions.

14 years agoWhen pressing XKEY or DELETE in NLA/Action/IPO editors, you are no
Joshua Leung [Sat, 17 Mar 2007 05:50:47 +0000 (05:50 +0000)]
When pressing XKEY or DELETE in NLA/Action/IPO editors, you are no
longer asked whether you want to delete the selected markers or keys.
Instead, it more 'logically' deletes anything that is selected.

14 years agoPython API
Ken Hughes [Sat, 17 Mar 2007 03:19:41 +0000 (03:19 +0000)]
Python API
Bug reported on IRC:  Object.setEuler(0,0,0) threw an exception.  Change so
it will accept (0,0,0), ((0,0,0), ([0,0,0]), or an euler.

14 years agosome dealloc's I removed didnt get automaticly added back in by python, fixed now
Campbell Barton [Fri, 16 Mar 2007 14:44:31 +0000 (14:44 +0000)]
some dealloc's I removed didnt get automaticly added back in by python, fixed now

14 years agotype initialization updates, and refcount fix for lamp, reverted some changes to...
Campbell Barton [Fri, 16 Mar 2007 11:38:02 +0000 (11:38 +0000)]
type initialization updates, and refcount fix for lamp, reverted some changes to NMesh

14 years agoPatch #5460 by Juho V
Ton Roosendaal [Fri, 16 Mar 2007 11:36:47 +0000 (11:36 +0000)]
Patch #5460 by Juho V

Switch screen hotkey, CTRL+Left/Rightarrow now cycles.

14 years agoPatch #6121 by Diego Borghetti
Ton Roosendaal [Fri, 16 Mar 2007 11:29:40 +0000 (11:29 +0000)]
Patch #6121 by Diego Borghetti

Create/delete vertex groups now is possible in Object mode too (using the
buttons in editbuttons).

14 years agoPython API
Ken Hughes [Fri, 16 Mar 2007 05:39:30 +0000 (05:39 +0000)]
Python API
Bugfix #6255: Library.Load() failed on some blend files prior to 2.43.
Consolidated some code to make Python and Blender UI more in common.  Also
fixed some compiler warnings in the process.

14 years agoFix numerous gcc warnings.
Ken Hughes [Fri, 16 Mar 2007 05:03:38 +0000 (05:03 +0000)]
Fix numerous gcc warnings.

14 years agoFixed array declaration in sculptmode.c
Nicholas Bishop [Thu, 15 Mar 2007 20:19:34 +0000 (20:19 +0000)]
Fixed array declaration in sculptmode.c

14 years agoPyApi,
Campbell Barton [Thu, 15 Mar 2007 14:57:00 +0000 (14:57 +0000)]
missing incref's for materials color values.

14 years agoThis is a fix for bug #6100
Kent Mein [Thu, 15 Mar 2007 12:34:44 +0000 (12:34 +0000)]
This is a fix for bug #6100
When using international fonts, blender was assuming that the
default language on the system was chinese.

Now it checks to see what language code you have selected and
if its chinese or japanese it converts those to utf8 and then
continues to translate them.

I can't fully check this so will need others to test it.  This
should at least be better now.


14 years agoPatch #6264
Ton Roosendaal [Thu, 15 Mar 2007 08:59:29 +0000 (08:59 +0000)]
Patch #6264

Pointer check added to prevent "Jkey" (swap render display buffers) to
crash in cases. Patch by Diego Borghetti.

14 years agoremoved unneeded dealloc functions
Campbell Barton [Thu, 15 Mar 2007 01:47:53 +0000 (01:47 +0000)]
removed unneeded dealloc functions

14 years agoremoved duplicate functionality, macro's and functions existed to check a PyObjects...
Campbell Barton [Thu, 15 Mar 2007 01:09:14 +0000 (01:09 +0000)]
removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's

14 years ago== Sculpt Mode ==
Nicholas Bishop [Wed, 14 Mar 2007 20:00:01 +0000 (20:00 +0000)]
== Sculpt Mode ==

* Added new brush, "Flatten". This brush pushes vertices along the normal defined by the average normal of each vertex within the brush area. The vertices are pushed towards the plane defined by vertices towards the edge of the brush. Essentially, this means that the direction of flattening is dependent on the surface beneath the brush.

* In order to make space for the flatten brush, the controls inside the Sculpt palette were widened to 268. (Note that the panel width didn't change, so it still fits properly in the vertical layout.)

* Todo: it would probably make sense to make the "View" slider available under the Brush tab available for the Flatten brush (currently it's only used for the Draw brush.)

14 years agoattempted fixage for gcc warnings with Python 2.5
Stephen Swaney [Wed, 14 Mar 2007 16:38:58 +0000 (16:38 +0000)]
attempted fixage for gcc warnings with Python 2.5

14 years agofix gcc warnings about no newline at end of file
Stephen Swaney [Wed, 14 Mar 2007 16:09:12 +0000 (16:09 +0000)]
fix gcc warnings about no newline at end of file

14 years agomany menu items would crash blender if there was no 3d view. added checks.
Campbell Barton [Wed, 14 Mar 2007 09:08:41 +0000 (09:08 +0000)]
many menu items would crash blender if there was no 3d view. added checks.

14 years agoapply the 3ds matrix to the mesh, This fixes some 3ds files and breaks others, but...
Campbell Barton [Wed, 14 Mar 2007 06:01:59 +0000 (06:01 +0000)]
apply the 3ds matrix to the mesh, This fixes some 3ds files and breaks others, but it seems to follow the 3ds format. for the files it messes up, just remove transformation.

14 years agomade all python types that can do .__copy__(), also do .copy()
Campbell Barton [Wed, 14 Mar 2007 03:01:24 +0000 (03:01 +0000)]
made all python types that can do .__copy__(), also do .copy()
added copy function to lamp, texture and ipo types

14 years agodisabled Object.Duplicate() in background mode bacause it needs the 3d view, added...
Campbell Barton [Wed, 14 Mar 2007 02:11:42 +0000 (02:11 +0000)]
disabled Object.Duplicate() in background mode bacause it needs the 3d view, added a note in the docs.

14 years ago==== MSVC 7.1 projectfiles ====
Andrea Weikert [Tue, 13 Mar 2007 18:23:05 +0000 (18:23 +0000)]
==== MSVC 7.1 projectfiles ====
- small update, added missing files.

14 years ago[ #6214 ] Select object of the same group.
Campbell Barton [Tue, 13 Mar 2007 16:15:59 +0000 (16:15 +0000)]
[ #6214 ] Select object of the same group.
rewritten to find the groups that an object is apart of only once (less listbase searching).
with the limitation of 24 maximum in the menu.

14 years agorenamed norepeatX/Y to ClampX/Y
Campbell Barton [Tue, 13 Mar 2007 12:50:36 +0000 (12:50 +0000)]
renamed norepeatX/Y to ClampX/Y

14 years agoBugfix #6211
Ton Roosendaal [Tue, 13 Mar 2007 12:20:55 +0000 (12:20 +0000)]
Bugfix #6211

Group nodes with animation nodes inside (like Time) did not get updated

I also noticed that with time Nodes,  the hotkey "E" (execute) fails to do
a composite after frame changes, fixed that too.

14 years agoadded back videoscape for python
Campbell Barton [Tue, 13 Mar 2007 11:54:53 +0000 (11:54 +0000)]
added back videoscape for python

14 years agoremoved videoscape support, a format from 1988 that nobody uses anymore.
Campbell Barton [Tue, 13 Mar 2007 10:00:27 +0000 (10:00 +0000)]
removed videoscape support, a format from 1988 that nobody uses anymore.

14 years agoexiting editmesh when in face select mode could result in hidden and selected faces.
Campbell Barton [Tue, 13 Mar 2007 03:05:12 +0000 (03:05 +0000)]
exiting editmesh when in face select mode could result in hidden and selected faces.

14 years agopatch [#6213] msvc had problems with GL_CLAMP_TO_EDGE being undefined
Kent Mein [Tue, 13 Mar 2007 00:06:37 +0000 (00:06 +0000)]
patch [#6213]   msvc had problems with GL_CLAMP_TO_EDGE being undefined
on some systems.  If its undefined define it.


14 years agoPython API
Ken Hughes [Mon, 12 Mar 2007 19:45:42 +0000 (19:45 +0000)]
Python API
Chris Want on IRC pointed out a grammatical error in the Bpy doc file.  While fixing
it, I found about a dozen more.

14 years agoBugfix #6167
Ton Roosendaal [Mon, 12 Mar 2007 16:27:20 +0000 (16:27 +0000)]
Bugfix #6167

Metaball delete could crash, if selected/active ball is not the 'mother'

14 years agoBugfix #6181
Ton Roosendaal [Mon, 12 Mar 2007 14:25:44 +0000 (14:25 +0000)]
Bugfix #6181

An acos() getting a negative value caused 'ray trace shadow bias' to go
wrong (and object render entirely black). Only in very rare cases... but
nevertheless a nice discovery fixing other unpredictable issues.
(Symptom: entire object renders black)

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

14 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

14 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 " = 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.

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

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

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

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