blender-staging.git
12 years ago== Transformation Constraint ==
Joshua Leung [Sat, 21 Jul 2007 07:26:15 +0000 (07:26 +0000)]
== Transformation Constraint ==

This commit adds a new constraint to Blender: the Transformation Constraint. This constraint gives you more freedom to choose how transforms are copied from one object/bone to another object/bone.

You can assign the Loc/Rot/Scale channels of a source to the Loc/Rot/Scale channels of a destination, specifying the range of motion (per axis) from the source to consider, and the range of motion (per axis) that will be applied to the destination. Also, for each destination axis, you can choose which of the source axes to copy from.

A similar constraint was coded by Jason Blary (snark), as Patch #4991. This constraint is basically rewritten from scratch, although there are some elements of the original patch which may be borrowed in future.

Various notes:
* PyAPI access has been coded.
* Space conversion is also enabled for this constraint.
* Also the useless get_constraint_col function has been removed
* Doing a rotation copy with a ratio that is not 1:1 doesn't always work correctly yet (like for the Copy Rotation constraint).

12 years agofix for Curve appendNurb
Campbell Barton [Sat, 21 Jul 2007 03:54:20 +0000 (03:54 +0000)]
fix for Curve appendNurb

12 years agoremoving 2 getset duplicates
Campbell Barton [Fri, 20 Jul 2007 02:23:55 +0000 (02:23 +0000)]
removing 2 getset duplicates

12 years agoUse texture constants in the interface and added some missing texture constants.
Campbell Barton [Thu, 19 Jul 2007 22:02:22 +0000 (22:02 +0000)]
Use texture constants in the interface and added some missing texture constants.

12 years agowas missing header
Campbell Barton [Thu, 19 Jul 2007 14:28:57 +0000 (14:28 +0000)]
was missing header

12 years agoremoving duplicate constants
Campbell Barton [Thu, 19 Jul 2007 12:29:28 +0000 (12:29 +0000)]
removing duplicate constants

12 years ago== SDNA - Code Comments ==
Joshua Leung [Thu, 19 Jul 2007 11:46:37 +0000 (11:46 +0000)]
== SDNA - Code Comments ==

Added a few comments about various Animation-System Related structs. Hopefully, these will be helpful for people trying to get familiar with the code.

12 years agoadded commends to some DNA_*.h files - as well as some TODO's for removal.
Campbell Barton [Thu, 19 Jul 2007 00:42:01 +0000 (00:42 +0000)]
added commends to some DNA_*.h files - as well as some TODO's for removal.
header_view3d.c was doign an implicit declaration also.

12 years ago=Shapekey Missing Undopush bugfix=
Joseph Eagar [Wed, 18 Jul 2007 15:22:42 +0000 (15:22 +0000)]
=Shapekey Missing Undopush bugfix=

Added some missing undo pushes in editkey.c.  Now when you add/delete
shapekeys, you can do undo and actually have it undo adding/deleting the
shade keys.

12 years ago== Constraints Work - PyAPI ==
Joshua Leung [Tue, 17 Jul 2007 12:03:17 +0000 (12:03 +0000)]
== Constraints Work - PyAPI ==

A few tweaks to documentation and implementation of PyAPI access for constraints following Constraints recode. Just doing a little bit of cleanup.

12 years agoRemoved a variable that wasn't needed, but somehow ended up in the commit the other...
Joshua Leung [Tue, 17 Jul 2007 11:51:11 +0000 (11:51 +0000)]
Removed a variable that wasn't needed, but somehow ended up in the commit the other day.

12 years agoSmall fix: need set the color before call glRasterPos or don't work.
Diego Borghetti [Mon, 16 Jul 2007 19:04:42 +0000 (19:04 +0000)]
Small fix: need set the color before call glRasterPos or don't work.

12 years agoBugfix #6831: Crash when combining duplivert and mirror
Joshua Leung [Mon, 16 Jul 2007 12:20:57 +0000 (12:20 +0000)]
Bugfix #6831: Crash when combining duplivert and mirror

I've added checks which should prevent crashes in this case. Sometimes vertex_dupli__mapFunc is called with no_f being NULL, but no_s should not be NULL in those cases.

12 years agoupdated scons build system, neccesary after erwin's commit
Jiri Hnidek [Mon, 16 Jul 2007 09:09:01 +0000 (09:09 +0000)]
updated scons build system, neccesary after erwin's commit

12 years agobugfixes for generic (experimental) Bullet rigidbody constraint: use cone-twist inste...
Erwin Coumans [Mon, 16 Jul 2007 05:56:51 +0000 (05:56 +0000)]
bugfixes for generic (experimental) Bullet rigidbody constraint: use cone-twist instead (needs a few more minor fixes)

Note: Visual Studio projectfiles and other buildsystems need to add extern/bullet2/src/BulletDynamics/ConstraintSolver/btConeTwistConstraint.cpp to the project!

12 years agoBugfix #6945: Weight painting bug
Joshua Leung [Mon, 16 Jul 2007 05:49:04 +0000 (05:49 +0000)]
Bugfix #6945: Weight painting bug

Trying to Clear Rotation of a armature bone while in Weight Painting mode didn't work anymore due to Bugfix #6486. Now it checks if ob==active_object and also if weightpainting is on.

12 years agowas missing colorband from the flags in the epy docs
Campbell Barton [Sun, 15 Jul 2007 19:31:45 +0000 (19:31 +0000)]
was missing colorband from the flags in the epy docs

12 years ago== MSVC 7.1 project files ==
Andrea Weikert [Sun, 15 Jul 2007 16:28:25 +0000 (16:28 +0000)]
== MSVC 7.1 project files ==
- updated bullet files with btConeTwistConstraint.h and btConeTwistConstraint.cpp

12 years ago== MSVC compilation ==
Andrea Weikert [Sun, 15 Jul 2007 14:55:09 +0000 (14:55 +0000)]
== MSVC compilation ==
two small fixes in this commit:
- added new file for nodes
- fixed compile error in readfile.c, as reported by Jean-Michel Soler here:
  http://lists.blender.org/pipermail/bf-committers/2007-July/018849.html

12 years agoA few minor changes:
Joshua Leung [Sun, 15 Jul 2007 07:05:24 +0000 (07:05 +0000)]
A few minor changes:

* Removed obsolete comments from constraints code
* ChildOf constraint buttons: Set/Clear Inverse are now Set/Clear Offset. Hopefully that makes it a bit clearer for users.

12 years agoBugfix #6915:
Joshua Leung [Sun, 15 Jul 2007 04:35:56 +0000 (04:35 +0000)]
Bugfix #6915:

Passepartout function hides camera name (show name).
Now it uses the Text-Highlighted theme colour instead.

12 years ago== TrackTo Constraint ==
Joshua Leung [Sun, 15 Jul 2007 04:31:47 +0000 (04:31 +0000)]
== TrackTo Constraint ==

Now this constraint has the space-conversion buttons too (by special request of joeedh).

12 years ago== Constraints System ==
Joshua Leung [Sun, 15 Jul 2007 03:35:37 +0000 (03:35 +0000)]
== Constraints System ==

After just over a week of coding, I've finished doing a major refactor/cleanup of the constraints code. In the process, quite a few old kludges and ugly hacks have been removed. Also, some new features which will greatly benefit riggers have been implemented.

=== What's New ===
* The long-awaited ``ChildOf Constraint'':
This allows you to animate parent influences, and choose which transformation channels the parent affects the child on (i.e. no translation/rotation/scaling). It should be noted that disabling some combinations may not totally work as expected. Also, the 'Set Inverse' and 'Clear Inverse' buttons at the bottom of this constraint's panel set/clear the inverse correction for the parent's effects. Use these to make the owner not stick/be glued to the parent.
* Constraint/Target Evaluation Spaces:
In some constraints, there are now 1-2 combo boxes at the bottom of their panel, which allows you to pick which `co-ordinate space' they are evaluated in. This is much more flexible than the old 'local' options for bones only were.
* Action Constraint - Loc/Rot/Size Inputs
The Action Constraint can finally use the target's location/rotation/scaling transforms as input, to control the owner of the constraint. This should work much more reliably than it used to. The target evaluation should now also be more accurate due to the new space conversion stuff.
* Transform - No longer in Crazy Space (TM)
Transforming objects/bones with constraints applied should no longer occur in Crazy Space. They are now correctly inverse-corrected. This also applies to old-style object tracking.

=== General Code Changes ===
* solve_constraints is now in constraints.c. I've removed the old `blend consecutive constraints of same type' junk, which made the code more complex than it needed to be.
* evaluate_constraint is now only passed the constraint, and two matrices. A few unused variables have been removed from here.
* A tempolary struct, bConstraintOb, is now passed to solve_constraints instead of relying on an ugly, static workobject in some cases. This works much better.
* Made the formatting of constraint code consistent
* There's a version patch for older files so that constraint settings are correctly converted to the new system. This is currently done for MajorVersion <= 244, and SubVersion < 3. I've bumped up the subversion to 3 for this purpose. However, with the imminent 2.45 release, this may need to be adjusted accordingly.
* LocEulSizeToMat4 and LocQuatSizeToMat4 now work in the order Size, Rot, Location. I've also added a few other math functions.
* Mat4BlendMat4 is now in arithb. I've modified it's method slightly, to use other arithb functions, instead of its crazy blending scheme.
* Moved some of the RigidBodyJoint constraint's code out of blenkernel, and into src. It shouldn't be setting its target in its data initialisation function based + accessing scene stuff where it was doing so.

=== Future Work ===
* Geometry to act as targets for constraints. A space has been reserved for this already.
* Tidy up UI buttons of constraints

12 years agoPython API
Ken Hughes [Fri, 13 Jul 2007 14:38:44 +0000 (14:38 +0000)]
Python API
----------
Remove unused variable declaration which caused gcc warnings.

12 years agoRevision: 11257 from 2.44 stable
Campbell Barton [Thu, 12 Jul 2007 20:49:36 +0000 (20:49 +0000)]
Revision: 11257 from 2.44 stable

12 years agoPython API
Ken Hughes [Thu, 12 Jul 2007 15:32:15 +0000 (15:32 +0000)]
Python API
----------

Fix uninitialized variable in MEdge_setSel.

12 years agoTools
Ken Hughes [Thu, 12 Jul 2007 15:24:08 +0000 (15:24 +0000)]
Tools
-----
More improvements to boolean tools.  The main change (although very little in
code) is changing fuzzy comparisons of floating point values.  For testing, a
new define is added in intern/boolop/intern/BOP_MathUtils.h called
VAR_EPSILON, which enables better comparisons.  This is turned on by default;
undefining it will revert to using the previous comparisons.  The downside of
these new comparisons is a loss in speed, but the resulting meshes are more
likely to be manifold (although still not always).

The other changes include speed improvements based on profiling results and
fixes for the improper creation of triangular faces with only two vertices.

12 years agoAdded only's to the tooltips
Kent Mein [Thu, 12 Jul 2007 15:18:14 +0000 (15:18 +0000)]
Added only's to the tooltips

Kent

12 years agoRemoving the double negitives in the tooltips talked about last night.
Kent Mein [Thu, 12 Jul 2007 14:46:14 +0000 (14:46 +0000)]
Removing the double negitives in the tooltips talked about last night.

Kent

12 years agoFrom stable
Campbell Barton [Thu, 12 Jul 2007 11:51:21 +0000 (11:51 +0000)]
From stable

Revision: 11237
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11237
Author:   campbellbarton
Date:     2007-07-12 13:05:31 +0200 (Thu, 12 Jul 2007)

Log Message:
-----------
PyObject_IsTrue was missing a check for an error return value in many cases.

12 years agoLittle typo found by Renato Perini
Kent Mein [Wed, 11 Jul 2007 21:18:37 +0000 (21:18 +0000)]
Little typo found by Renato Perini

I hate the wording of these tooltips but can not think
of something better currently so I'm just fixing the spelling.

Kent

12 years agoAdded a flush after fprintf
Kent Mein [Wed, 11 Jul 2007 18:45:39 +0000 (18:45 +0000)]
Added a flush after fprintf
This is patch [#6921] Make error printing a bit more reliable
from GSR
http://projects.blender.org/tracker/index.php?func=detail&aid=6921&group_id=9&atid=127

Kent

12 years agoBugfix #6931:
Joshua Leung [Wed, 11 Jul 2007 10:13:59 +0000 (10:13 +0000)]
Bugfix #6931:

I-Key on Fields not working for Empty Object. Was wrongly only checking for Meshes.

12 years agoOne more time....I misunderstood the guidance about values as inputs for
Robert Holcomb [Wed, 11 Jul 2007 03:33:28 +0000 (03:33 +0000)]
One more time....I misunderstood the guidance about values as inputs for
the math node.  Now it functions with two values as inputs (no image
neccissary).  Kinda back where it started ;)

12 years agoAfter chatting with Broken about grs comments on the default behavior
Robert Holcomb [Wed, 11 Jul 2007 03:00:39 +0000 (03:00 +0000)]
After chatting with Broken about grs comments on  the default behavior
of the nodes, I realized I had strayed from the path of enlightened blending
by causing the math node to create an output the size of the larger of the
two inputs.

It has been corrected create the output the size of the
first image, and in its abscense the second image.  In the event of
nether input containing image data the node does not function.  I also
added some early out checks at the beginning of the function to speed it
up a tad in these cases and commented the code a bit more.

12 years agoUpdated Contributor line in GPL header to reflect original source. This
Robert Holcomb [Wed, 11 Jul 2007 01:03:39 +0000 (01:03 +0000)]
Updated Contributor line in GPL header to reflect original source. This
closes patch #6215-Normalize.

12 years agoRemoved comments with non ascii chars...
Kent Mein [Tue, 10 Jul 2007 19:34:41 +0000 (19:34 +0000)]
Removed comments with non ascii chars...

I left the link that points to documentation on the web so not really needed
anyway.

Kent

12 years agoThis is patch [#6929] Interpolation Methods
Kent Mein [Tue, 10 Jul 2007 19:13:03 +0000 (19:13 +0000)]
This is patch [#6929] Interpolation Methods
http://projects.blender.org/tracker/index.php?func=detail&aid=6929&group_id=9&atid=127
Its a subset of patch [#6766] Transform Sequencer effect

It adds 3 image functions for different types of interpolation.
For people that like pictures:
http://wiki.blender.org/index.php/User:Damiles#Interpolations_Algorithms

Patch provided by David Millán Escrivá (damiles)

Kent

12 years agoFix regression reported by Early Ehlinger on ML.
Diego Borghetti [Tue, 10 Jul 2007 15:24:48 +0000 (15:24 +0000)]
Fix regression reported by Early Ehlinger on ML.
Original bug:
https://projects.blender.org/tracker/?group_id=9&atid=127&func=detail&aid=3760

Code remove in revision 6654:
http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/renderwin.c?root=bf-blender&r1=6491&r2=6654

and return in revision 6839 (without the point checking):
http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/renderwin.c?root=bf-blender&r1=6835&r2=6839

12 years agoUpdate to the translation code. Patch provided by dripstone.
Kent Mein [Tue, 10 Jul 2007 15:10:32 +0000 (15:10 +0000)]
Update to the translation code.  Patch provided by dripstone.
Basically move stuff out of filesel.c and into language.c and changes
when exactly it does the conversion.  It was doing it when not needed for
some machines.  It probably still needs work but its slowly getting better.

I also removed some commented out code.

Kent

12 years agoFixed typo. Ooops.
Robert Holcomb [Tue, 10 Jul 2007 02:33:00 +0000 (02:33 +0000)]
Fixed typo.  Ooops.

12 years agoAdded normalize compositing node.
Robert Holcomb [Tue, 10 Jul 2007 02:27:37 +0000 (02:27 +0000)]
Added normalize compositing node.

12 years agoCommitted patch fixing bug #6900. Math node now has reflective
Robert Holcomb [Tue, 10 Jul 2007 02:06:10 +0000 (02:06 +0000)]
Committed patch fixing bug #6900.  Math node now has reflective
behavior.

12 years ago=ID Property update=
Joseph Eagar [Mon, 9 Jul 2007 20:42:14 +0000 (20:42 +0000)]
=ID Property update=

ID Properties weren't being duplicated (by shift-D or any of the other
duplication functions).  So now ID properties are duplicated in the
main copy_libblock function, which (as far as I can check) covers all
ID-contained ID properties.

I also updated the constraint system to copy pyconstraint ID properties
on shift-D.

This would probably be a good thing to add to the stable branch, btw.

12 years agobugfix's for 6917 and 6913 - Both were because I forgot to check all other selected...
Campbell Barton [Mon, 9 Jul 2007 17:33:38 +0000 (17:33 +0000)]
bugfix's for 6917 and 6913 - Both were because I forgot to check all other selected meshes for faceUV's

Also made image_auto_layout.py use blenders internal boxpacking rather then the slower python one.

12 years agoWas a missing -DWITH_FFMPEG here so I added it.
Kent Mein [Mon, 9 Jul 2007 16:17:33 +0000 (16:17 +0000)]
Was a missing -DWITH_FFMPEG here so I added it.

Kent

12 years agoBug #6924: Add WITH_FFMPEG compilation switch when WITH_BF_FFMPEG is true for
Ken Hughes [Mon, 9 Jul 2007 16:03:26 +0000 (16:03 +0000)]
Bug #6924: Add WITH_FFMPEG compilation switch when WITH_BF_FFMPEG is true for
scons.

Can someone verify that other build systems are also including this?

12 years agoCorrect comments in example for Python Ipo module doc.
Ken Hughes [Sat, 7 Jul 2007 17:33:46 +0000 (17:33 +0000)]
Correct comments in example for Python Ipo module doc.
Remove redundant description of yafrayGIMethod in Python Render module doc.

12 years agoremoved "btHingeConstraint::" prefix, in btHingeConstraint::btHingeConstraint(btRigid...
Erwin Coumans [Fri, 6 Jul 2007 20:29:26 +0000 (20:29 +0000)]
removed "btHingeConstraint::" prefix, in btHingeConstraint::btHingeConstraint(btRigidBody& rbA,const btVector3& pivotInA,btVector3& axisInA);

12 years agoI cleaned up make release a little bit, now
Kent Mein [Fri, 6 Jul 2007 18:20:48 +0000 (18:20 +0000)]
I cleaned up make release a little bit, now
its not hard coded if it trys to do a static build or not.  It
uses the same vars that decide if your building a static blender to
determine if it should make a static package.

I also found a typo on OSX for make release and thats fixed now

Kent

12 years ago== Action Editor Bugfixes ==
Joshua Leung [Fri, 6 Jul 2007 09:59:18 +0000 (09:59 +0000)]
== Action Editor Bugfixes ==

Resolved Issues:
* My drawing cleanup commit the other day broke shapekey keyframe selection - was using wrong filter for Action Editor data
* Removed the old hack to limit vertical scrolling so that shapekeys were visible. It wasn't really needed anymore, and was causing problems with HomeKey.

Unresolved Issues:
* Vertical placement of sliders is slightly off
* In a test file I obtained, shapekey sliders don't work immediately after the file is loaded.

12 years ago//someone reversed axle direction conventions inside Bullet (axle winding), so need...
Erwin Coumans [Fri, 6 Jul 2007 04:45:57 +0000 (04:45 +0000)]
//someone reversed axle direction conventions inside Bullet (axle winding), so need to compensate to keep game blender vehicles working the same.

12 years agofixed issue with kinematic objects
Erwin Coumans [Fri, 6 Jul 2007 04:30:25 +0000 (04:30 +0000)]
fixed issue with kinematic objects

12 years agosynchronized to latest version of Bullet. added btConeTwistConstraint (useful for...
Erwin Coumans [Fri, 6 Jul 2007 03:12:31 +0000 (03:12 +0000)]
synchronized to latest version of Bullet. added btConeTwistConstraint (useful for ragdolls etc)

12 years agoIpo doc correction thanks to kempoller
Campbell Barton [Thu, 5 Jul 2007 11:28:11 +0000 (11:28 +0000)]
Ipo doc correction thanks to kempoller

12 years ago== MSVC 7.1 project files ==
Andrea Weikert [Wed, 4 Jul 2007 19:29:59 +0000 (19:29 +0000)]
== MSVC 7.1 project files ==
- removed unused project keymaker

12 years agoBugfix: 'Random' crashes after duplicating bones
Joshua Leung [Wed, 4 Jul 2007 07:07:12 +0000 (07:07 +0000)]
Bugfix: 'Random' crashes after duplicating bones

This commit should fix some seemingly random crashes broken and I have been experiencing while editing armatures.

A backtrace revealed that autosave was choking on the PoseChannels that didn't have a Bone assigned to them. This was caused by the bone duplication code making a new PoseChannel for a duplicated bone, but that new bone not getting assigned to the PoseChannel yet, as the user was still in EditMode.

12 years agowas missing a decref and leaking ram when building the static particle list
Campbell Barton [Tue, 3 Jul 2007 16:04:41 +0000 (16:04 +0000)]
was missing a decref and leaking ram when building the static particle list

12 years agoFix for bug #6907:
Juho Vepsalainen [Tue, 3 Jul 2007 14:49:41 +0000 (14:49 +0000)]
Fix for bug #6907:
Compile was broken due to two variable names being inappropriate. I renamed
them fixing the issue.

12 years agoIcons Bugfix:
Joshua Leung [Tue, 3 Jul 2007 11:53:17 +0000 (11:53 +0000)]
Icons Bugfix:

Remove a single annoying 1x16 unwanted pixel column from one of the icons I added earlier today.

12 years ago"Render to image editor" to render to Buttons Window as the last alternative:
Juho Vepsalainen [Tue, 3 Jul 2007 11:39:36 +0000 (11:39 +0000)]
"Render to image editor" to render to Buttons Window as the last alternative:
"Render to image editor" renders to Buttons Window only if no other suitable
windows are available. Other window types are prioritized before Buttons
Window.

12 years ago* Added a bit more 'padding' around the node sockets, so there's a
Matt Ebb [Tue, 3 Jul 2007 07:39:17 +0000 (07:39 +0000)]
* Added a bit more 'padding' around the node sockets, so there's a
larger area to drop the noodle connection on. This helps a lot when
working with lots of nodes and the view zoomed out to maximum.

12 years ago* Added a hotkey (T) for the sculpt mode flatten brush
Matt Ebb [Tue, 3 Jul 2007 07:30:42 +0000 (07:30 +0000)]
* Added a hotkey (T) for the sculpt mode flatten brush

(part of this commmit snuck in the last one)

12 years ago* Removed the 'Beautify Fill' confirmation. None of the other fill
Matt Ebb [Tue, 3 Jul 2007 07:24:55 +0000 (07:24 +0000)]
* Removed the 'Beautify Fill' confirmation. None of the other fill
tools have them any more, it was an annoying historical artifact
from before undo.

12 years ago* Added the invisible 'Bone envelopes to vertex groups' command to
Matt Ebb [Tue, 3 Jul 2007 07:22:28 +0000 (07:22 +0000)]
* Added the invisible 'Bone envelopes to vertex groups' command to
the 3D View Weight Paint -> Paint menu.

12 years ago== Action/IPO Mute Icons ==
Joshua Leung [Tue, 3 Jul 2007 01:23:30 +0000 (01:23 +0000)]
== Action/IPO Mute Icons ==

Added new defines for the icons used to show this, on the request of Matt Ebb. For now, the eye icons have simply been duplicated to the new spaces, but 'more descriptive' icons should be made.

12 years ago== Constraints/Arithb Code ==
Joshua Leung [Tue, 3 Jul 2007 00:58:38 +0000 (00:58 +0000)]
== Constraints/Arithb Code ==

* Formatting 'fixes' for more consistency with rest of code
* Moved Mat4BlendMat4 from constraint.c to arithb.c/h

12 years ago== Action Editor ==
Joshua Leung [Mon, 2 Jul 2007 12:04:22 +0000 (12:04 +0000)]
== Action Editor ==

Some cleanups of the Action Editor drawing methods. These now make use of the filtering stuff I added for the backend cleanup.

Unfortuantely I still cannot get Blender's ui widgets to really work properly, so that toggle icons can have tooltips. There were some severe scaling issues.

12 years ago* make sure stdc++ is linked against.
Nathan Letwory [Sun, 1 Jul 2007 08:55:50 +0000 (08:55 +0000)]
* make sure stdc++ is linked against.

12 years agoedits from zanqdo as well as randomize on single axis was broken.
Campbell Barton [Sun, 1 Jul 2007 08:08:16 +0000 (08:08 +0000)]
edits from zanqdo as well as randomize on single axis was broken.
and some other minor tweaks from me

12 years agoreplace PyInt_CheckExact with PyInt_Check, same for floats and strings so subclass...
Campbell Barton [Sun, 1 Jul 2007 05:41:23 +0000 (05:41 +0000)]
replace PyInt_CheckExact with PyInt_Check, same for floats and strings so subclass and C/subtypes work.

was reported as a bug a while ago.

12 years agoTools:
Ken Hughes [Sat, 30 Jun 2007 21:32:24 +0000 (21:32 +0000)]
Tools:
------
Bugfix #6847: Previous fix for "spikes" when using booleans caused creation
of faces with only two unique vertices ("eekadoodles").  This patch cleans up
the test for triangles with near-colinear vertices so PHANTOM faces can be
used again, and also adds a hack for now which removes any eekadoodle faces.

I haven't figured out yet exactly how the faces are being created; if I can
do so and fix it the hack will be removed.

12 years agoreadfile.c - fixed a indentention on a few lines
Joshua Leung [Sat, 30 Jun 2007 03:26:18 +0000 (03:26 +0000)]
readfile.c - fixed a indentention on a few lines

12 years agoreversing unintentional changes.
Campbell Barton [Sat, 30 Jun 2007 00:18:10 +0000 (00:18 +0000)]
reversing unintentional changes.

12 years agomixed decloration, own Lattice typo's
Campbell Barton [Sat, 30 Jun 2007 00:00:04 +0000 (00:00 +0000)]
mixed decloration, own Lattice typo's

12 years agosame as 2.44 stable - missing NULL checks.
Campbell Barton [Fri, 29 Jun 2007 13:46:15 +0000 (13:46 +0000)]
same as 2.44 stable - missing NULL checks.

12 years agoremove unneeded checks from the python API
Campbell Barton [Fri, 29 Jun 2007 08:59:26 +0000 (08:59 +0000)]
remove unneeded checks from the python API

12 years agopatch from harkyman to make it possible to extend images to span more frames in the...
Campbell Barton [Fri, 29 Jun 2007 05:33:43 +0000 (05:33 +0000)]
patch from harkyman to make it possible to extend images to span more frames in the sequencer.

Link includes example script
https://projects.blender.org/tracker/?func=detail&aid=6893&group_id=9&atid=127

12 years agoCode cleanup's done by bedraw
Kent Mein [Thu, 28 Jun 2007 15:57:54 +0000 (15:57 +0000)]
Code cleanup's done by bedraw
This is patch #6886
https://projects.blender.org/tracker/index.php?func=detail&aid=6886&group_id=9&atid=127

removes some unused define's and some code that is no longer used and fixes some
formatting issues.

Kent

12 years agoMesh.c - added missing error checking for vert ranges and that verts are valid.
Campbell Barton [Thu, 28 Jun 2007 13:46:42 +0000 (13:46 +0000)]
Mesh.c - added missing error checking for vert ranges and that verts are valid.
Mesh.c - removed unneeded checks for creating ints.
Text3d.c - own error - setting the 3d text didnt work, 1 liner fix.

12 years agoJust cleaning up dirs no longer in use.
Kent Mein [Thu, 28 Jun 2007 12:24:00 +0000 (12:24 +0000)]
Just cleaning up dirs no longer in use.

Kent

12 years ago* adds EmptyMesh to the menu
Nathan Letwory [Thu, 28 Jun 2007 08:33:04 +0000 (08:33 +0000)]
* adds EmptyMesh to the menu

12 years agoThis is a fix for game engine bug #6667
Kent Mein [Wed, 27 Jun 2007 15:08:31 +0000 (15:08 +0000)]
This is a fix for game engine bug #6667
http://projects.blender.org/tracker/index.php?func=detail&aid=6667&group_id=9&atid=306

I moved some of the X11 initation code down a little bit so that
if you run gameplayer with no args or gameplayer -h
it will not crash even if you do not have X11 present.
(All it does is print usage)

Kent

12 years agoNot all systems it seems has socklen_t defined. If its missing
Kent Mein [Tue, 26 Jun 2007 18:40:41 +0000 (18:40 +0000)]
Not all systems it seems has socklen_t defined.  If its missing
typedef it as an int.

Kent

12 years agoa var was declared twice in the same function, just removing the
Kent Mein [Tue, 26 Jun 2007 18:15:45 +0000 (18:15 +0000)]
a var was declared twice in the same function, just removing the
second declaration.

Kent

12 years agoAdds the following selection methods to the Sequence Editor:
Roland Hess [Tue, 26 Jun 2007 17:46:12 +0000 (17:46 +0000)]
Adds the following selection methods to the Sequence Editor:

Ctrl-RMB and Alt-RMB now call for different selection methods that are helpful when working within a single channel that holds several strips. The Ctrl modifier signals "Right" and the Alt modifier signals "Left".

Ctrl-RMB clicking a strip will select that strips left handle and the adjacent handle of any strip that abuts it on the left, allowing you to move the boundary between the strips without changing their outer endpoints. Ctrl-RMB clicking again on that strip will add to the selection all strips to the left of it, allowing you to slide the entire set of strips out of the way for a new one.

Alt-RMB works the same, but to the right.

Ctrl-Alt-RMB on a strip selects the surrounding handles only, allowing you to move the targeted strip and have the surrounding two strips adjust to follow.

12 years agoThis is patch #6833
Kent Mein [Tue, 26 Jun 2007 16:16:13 +0000 (16:16 +0000)]
This is patch #6833
https://projects.blender.org/tracker/index.php?func=detail&aid=6833&group_id=9&atid=127

It adds the option when creating a new "screen" to create an empty one
(one with one window)

While its one more click, I think this is pretty dang useful.  If people
want to revert it feel free, and we can talk about it.
This seems more consistant with the Scene bar though so I figured it was safe
to add it.

Kent

12 years agoThis is for bug #6883 Add usefull error message to GL failure...
Kent Mein [Tue, 26 Jun 2007 15:15:41 +0000 (15:15 +0000)]
This is for bug #6883 Add usefull error message to GL failure...
https://projects.blender.org/tracker/index.php?func=detail&aid=6883&group_id=9&atid=125

I just cut and paste the printf provided in the bug report.  Its usefull info
at this point.

Kent

12 years agoThis is a fix for bug #6856 (Verse crashing on 64bit linux)
Kent Mein [Tue, 26 Jun 2007 15:08:40 +0000 (15:08 +0000)]
This is a fix for bug #6856 (Verse crashing on 64bit linux)

https://projects.blender.org/tracker/index.php?func=detail&aid=6856&group_id=9&atid=125

I basically fixed some warnings about imcompatable types on 64bit linux
and the crashing stopped.

Kent

12 years ago- Added several new callback functions for geometry node.
Jiri Hnidek [Tue, 26 Jun 2007 12:19:19 +0000 (12:19 +0000)]
- Added several new callback functions for geometry node.
- Refactored geometry layers.
- Removed several unused debug prints.

12 years ago== Action/IPO Editors - Code Cleanup ==
Joshua Leung [Tue, 26 Jun 2007 10:08:58 +0000 (10:08 +0000)]
== Action/IPO Editors - Code Cleanup ==

Added two macros which are used to test if the active Action/IPO editor is displaying data from a scaled NLA-strip.

12 years agoFor scons: Add "-DWITH_DDS" to compile flags when dds is enabled.
Ken Hughes [Mon, 25 Jun 2007 21:25:28 +0000 (21:25 +0000)]
For scons: Add "-DWITH_DDS" to compile flags when dds is enabled.

12 years agoThis is patch #6825 (The patch missed a couple of them but
Kent Mein [Mon, 25 Jun 2007 20:15:36 +0000 (20:15 +0000)]
This is patch #6825 (The patch missed a couple of them but
this should get it all.

recurse was spelled resurse in a couple of places.

Kent

12 years agoThis commit is a modified version of patch #6860
Kent Mein [Mon, 25 Jun 2007 19:50:25 +0000 (19:50 +0000)]
This commit is a modified version of patch #6860
It adds read only dds support.  (Writing will come later)

Kent

12 years ago==== MSVC 7.1 projectfiles ====
Andrea Weikert [Mon, 25 Jun 2007 17:51:37 +0000 (17:51 +0000)]
==== MSVC 7.1 projectfiles ====
- bullet update to version 2.53 cleanup
- added file sculptmode-stroke.c

12 years agoMake it so that we link with the same compiler for verse as everything else.
Kent Mein [Mon, 25 Jun 2007 17:36:04 +0000 (17:36 +0000)]
Make it so that we link with the same compiler for verse as everything else.
(was using $(CC) while the rest of blender is using $(CCC)

12 years agoWhoa, a new feature!
Ton Roosendaal [Mon, 25 Jun 2007 13:01:46 +0000 (13:01 +0000)]
Whoa, a new feature!

Sequence Editor: SHIFT+R, Remap Paths (also in pull down menu)

This allows to remap the root of a path to another directory.
Works on all selected Image strips. That way you can make absolute
paths relative, for example.

Example:
original path: /mnt/orange/finals/06_which_way/06_03b/
to be remapped: /mnt/orange/finals/
remap to: //
new path: //06_which_way/06_03b/

12 years ago== Sculpt Mode ==
Nicholas Bishop [Mon, 25 Jun 2007 11:07:12 +0000 (11:07 +0000)]
== Sculpt Mode ==

Refactored and improved sculptmode-stroke.c.

* With smooth stroke on, the Spacing value is now taken into account (if zero, the default value of two is still used)

12 years ago== Sculpt Mode ==
Nicholas Bishop [Mon, 25 Jun 2007 04:55:09 +0000 (04:55 +0000)]
== Sculpt Mode ==

* Made partial redraw mode a bit more robust, fixed a couple of potential problem spots
* Fixed display of smooth stroke with partial redraw.

12 years ago== Sculpt Mode ==
Nicholas Bishop [Sun, 24 Jun 2007 23:02:58 +0000 (23:02 +0000)]
== Sculpt Mode ==

Removed the draw_flag field from SculptData, moved the two draw flags over to SculptData.flags