blender-staging.git
16 years agoEditmesh spliting project files fix (MSVC 6.0)
Martin Poirier [Sun, 19 Sep 2004 14:33:33 +0000 (14:33 +0000)]
Editmesh spliting project files fix (MSVC 6.0)

16 years agoMoved the 'Load UI' option from the File menu to the
Matt Ebb [Sun, 19 Sep 2004 14:08:04 +0000 (14:08 +0000)]
Moved the 'Load UI' option from the File menu to the
fileselect window header.

16 years agoUpdate project files to compile and link with newest changes (editmesh refactoring)
Nathan Letwory [Sun, 19 Sep 2004 13:46:43 +0000 (13:46 +0000)]
Update project files to compile and link with newest changes (editmesh refactoring)

16 years agoService: SConscript file!
Ton Roosendaal [Sun, 19 Sep 2004 11:50:38 +0000 (11:50 +0000)]
Service: SConscript file!

16 years agoPart one of editmesh.c refactoring. The huge file has been split in
Ton Roosendaal [Sun, 19 Sep 2004 11:47:49 +0000 (11:47 +0000)]
Part one of editmesh.c refactoring. The huge file has been split in
logical parts, and include files altered to denote internal and external
functions.

include/editmesh.h: internal calls for editmesh_xxx.c files
include/BIF_editmesh.h: external calls for these files

src/editmesh.c: basic alloc/lists and in/out editmode, undo, separate
src/editmesh_lib.c: basic utility calls for all editmesh_xxx.c (no UI)
src/editmesh_add.c: add prim, add duplicate, add vertex/edge/face (UI)
src/editmesh_mods.c: selecting, transforming (UI)
src/editmesh_loop.c: loop tools like knife, loop select, loop subdiv (UI)
src/editmesh_tools.c: other tools (extrude, spin, etc) (UI)

And a new file:

src/meshtools.c: tools for Mesh outside of editmode (normals, draw flags)

16 years ago- Cam (ideasman) improved speed of exporting
Jiri Hnidek [Sun, 19 Sep 2004 10:41:04 +0000 (10:41 +0000)]
- Cam (ideasman) improved speed of exporting
- I fixed indentation

16 years agoConvert and use actuators with no target object set.
Kester Maddock [Sun, 19 Sep 2004 01:33:08 +0000 (01:33 +0000)]
Convert and use actuators with no target object set.

Certain actuators (Add Object/Replace Mesh/Scene/Track To) used to always require a target, or they would not influence the scene.  If the actuator target is always set from Python, this could be annoying.

16 years ago- Cam added function getUniqueName, which preserve overwriting of existing mesh.
Jiri Hnidek [Sat, 18 Sep 2004 21:04:23 +0000 (21:04 +0000)]
- Cam added function getUniqueName, which preserve overwriting of existing mesh.
- I removed fixed identing. It uses only tab for identing so Cam will not be fussed anymore:-).

16 years agoEvil commit! Nothing really changed except;
Ton Roosendaal [Sat, 18 Sep 2004 20:15:37 +0000 (20:15 +0000)]
Evil commit! Nothing really changed except;

- EditVlak -> EditFace
- variables called 'evl' -> 'efa'
- functions with 'vlak' in it now have 'face'

Just thought was nice starter for editmesh recode...

16 years agoOne small part of the Great Bpy Code Cleanup.
Stephen Swaney [Sat, 18 Sep 2004 18:47:03 +0000 (18:47 +0000)]
One small part of the Great Bpy Code Cleanup.
Add cvs $Id tag to files

16 years agoFor the Bass* people: pad plus/ pad minus moves nla strips up/down in
Chris Want [Sat, 18 Sep 2004 18:36:11 +0000 (18:36 +0000)]
For the Bass* people: pad plus/ pad minus moves nla strips up/down in
the nla editor.

Release note blurb:

Selected nla strips may be reordered down or up in the nla editor using
numpad plus/minus.

16 years ago- redo now also ctrl+y.
Ton Roosendaal [Sat, 18 Sep 2004 18:34:50 +0000 (18:34 +0000)]
- redo now also ctrl+y.
- made undo/redo display of previewrender nice

16 years agoFound little bug in undo system for editing Font objects. Causing
Ton Roosendaal [Sat, 18 Sep 2004 13:58:35 +0000 (13:58 +0000)]
Found little bug in undo system for editing Font objects. Causing
crash at undo after editing.

16 years agoOSX only: the Apple key now is a normal modifier in code, so can be
Ton Roosendaal [Sat, 18 Sep 2004 13:25:29 +0000 (13:25 +0000)]
OSX only: the Apple key now is a normal modifier in code, so can be
detected as others, LR_COMMANDKEY

Unline previous commit, Apple key doesnt map to control anymore, but is
handled separate where needed. Now only for undo (Apple-Z)

16 years agoAnother step in the undo evolution.
Ton Roosendaal [Sat, 18 Sep 2004 12:12:45 +0000 (12:12 +0000)]
Another step in the undo evolution.

- Made unified API for undo calls, to be found in space.c
  BIF_undo_push(char *str)
  BIF_undo(void)
  BIF_redo(void)
  These calls will do all undo levels, including editmode and vpaint.

  The transition is work in progress, because mesh undo needs recode.

- New global hotkey CTR+Z for undo
  Note: 'shaded draw mode' still is SHIFT+Z, the old CTRL+Z was to recalc
  the lighting in shaded mode, which already became much more interactive,
  like during/after any transform().
  Recalc hotkey now is SHIFT+ALT+Z

  CTRL+<any modifier>+Z is redo.

- For OSX users; the Apple-key ("Command") now maps to CTRL as well. This
  disables the one-mouse-button hack for rightmouse btw, will be fixed in
  next commit. At least we can use Apple-Z :)

- Old Ukey for undo is still there, as a training period... my preference is
  to restore Ukey to "reload original data" as in past, and only use new
  CTRL+Z for undo.

- Added undo_push() for all of editobject.c and editview.c. Meaning we can
  start using/testing global undo in the 3d window. Please dont comment on
  missing parts for now, first I want someone to volunteer to tackle all of
  that.

- Since the global undo has a full 'file' in memory, it can save extremely
  fast on exit to <temp dir>/quit.blend. That's default now when global undo
  is enabled. It prints "Saved session recovery to ..." in console then.

- In file menu, a new option is added "Recover Last Session". Note that this
  reads the undo-save, which is without UI.

- With such nice new features we then can also kill the disputed
  Cancel/Confirm menu on Q-KEY.

- Added fix which initializes seam/normal theme color on saved themes.
  They showed black now.... (Note: that's in usiblender.c!)

16 years agoFixed PyObject_IsMT_Matrix
Kester Maddock [Sat, 18 Sep 2004 06:03:15 +0000 (06:03 +0000)]
Fixed PyObject_IsMT_Matrix

16 years agocurve_modifier() call was in makeDispList() already, and called twice,
Ton Roosendaal [Fri, 17 Sep 2004 21:30:53 +0000 (21:30 +0000)]
curve_modifier() call was in makeDispList() already, and called twice,
causing initrender to free illegal pointer...

16 years agoupdated the documentation on how to add new image types which consisted of:
Kent Mein [Fri, 17 Sep 2004 11:31:17 +0000 (11:31 +0000)]
updated the documentation on how to add new image types which consisted of:
removed autoconf stuff and replaced with scons info.
Added info on how to make your format showup in the thumbnail viewer.

Kent

16 years agoFixed crash caused by new (strict) rule for displists. Reminder: to signal
Ton Roosendaal [Fri, 17 Sep 2004 10:36:43 +0000 (10:36 +0000)]
Fixed crash caused by new (strict) rule for displists. Reminder: to signal
that a displist has to be recalculated, you only have to free it.

In the init_render_mesh() not all situations were checked OK.
Thanks Basse for finding it!

16 years agoBug fix in code committed for hooks; mesh check for displist was on
Ton Roosendaal [Thu, 16 Sep 2004 19:31:43 +0000 (19:31 +0000)]
Bug fix in code committed for hooks; mesh check for displist was on
wrong location... causing tremendous slowdowns!

Note: in previous commit some WIP slipped in.. not dangerous. Plus it
has a text typo fix (beaty)

16 years agoBug 1568
Ton Roosendaal [Thu, 16 Sep 2004 17:57:14 +0000 (17:57 +0000)]
Bug 1568

Wrong usage of B_NOP code in button events (xxxx | B_NOP), which is useles
since it is defined as -1.

Reminder for all: use a B_NOP if you want a button event not to be passed
on to the event queues.

16 years agoBug fix #1525
Ton Roosendaal [Thu, 16 Sep 2004 15:32:38 +0000 (15:32 +0000)]
Bug fix #1525

RayTransp didnt work on Nurbs anymore (2.34 error).
Just a normal flip problem...

16 years agoMore Material settings: mirror and transparency.
Stephen Swaney [Tue, 14 Sep 2004 20:03:01 +0000 (20:03 +0000)]
More Material settings: mirror and transparency.
Contributed by Joilnen B. Leite (pidhash)

16 years agoLot of code... 2 new features:
Ton Roosendaal [Tue, 14 Sep 2004 19:03:11 +0000 (19:03 +0000)]
Lot of code... 2 new features:

1) Curve deform
http://www.blender3d.org/cms/Curve_Deform.392.0.html
Works simple as expected, but keep track of the rotation axis
in F7 buttons (Track X Y Z)
Only Mesh deform supported now.

Code changes:
- centralized deformation calls in curve_modifiers() mesh_modifiers()
etcetera. Here also other effects can be added like wave. Now the
evaluation order is fixed, but should become optional. It also doesnt
use the Displist anymore as deform-input. That latter part is unfinished
yet.
This code also is used for Hooks and will be needed for softbody

- made convention stricter that displists are being checked on in
drawobject(), this to prevent routines to make new displists recursively
(like armature does). Now a freedisplist() is sufficient to signal that
a new displaylist should be made.

2) Object Hooks
http://www.blender3d.org/cms/Object_Hooks.391.0.html
Support for Hooks is added to Mesh, Lattice, Curve and Surface objects.
For Armatures this would require some more work & research.
Main goal for this feature is to provide quick & simple access to the
underlying geometry in Objects on Object level, supporting hierarchies and
Ipos etc.

16 years agoA more correct and simple fix to the me->medge==NULL problem from my last
Brecht Van Lommel [Mon, 13 Sep 2004 23:37:24 +0000 (23:37 +0000)]
A more correct and simple fix to the me->medge==NULL problem from my last
commit.

16 years agoAdd two new options for appending *objects*:
Nathan Letwory [Mon, 13 Sep 2004 06:57:24 +0000 (06:57 +0000)]
Add two new options for appending *objects*:

1) append in current active layer (off by default)
2) append at 3d cursor (off by default). When more than one object is selected this will first calculate the bounding box of the centers of the objects, and then use the distance of the bounding box center to the 3d cursor to transform all objects.

16 years agoFix for error in last commit: forgot to check if me->medge==NULL when making
Brecht Van Lommel [Sun, 12 Sep 2004 22:35:49 +0000 (22:35 +0000)]
Fix for error in last commit: forgot to check if me->medge==NULL when making
LSCM seam groups.

16 years agoEmilie and Chris work on the Constraint UI (alignement).
Martin Poirier [Sun, 12 Sep 2004 19:06:01 +0000 (19:06 +0000)]
Emilie and Chris work on the Constraint UI (alignement).

16 years ago- bug fix #1560
Jiri Hnidek [Sat, 11 Sep 2004 13:45:17 +0000 (13:45 +0000)]
- bug fix #1560
  https://projects.blender.org/tracker/?func=detail&aid=1560&group_id=9&atid=125

- Cam did some speedup: he replaced eval() with float() and int()

- it fix some other minor bugs too

16 years agoFix for bug #1591: Bones with TrackTo constraint do not scale properly when armature...
Martin Poirier [Wed, 8 Sep 2004 12:12:52 +0000 (12:12 +0000)]
Fix for bug #1591: Bones with TrackTo constraint do not scale properly when armature object is resized.

http://projects.blender.org/tracker/?func=detail&atid=125&aid=1591&group_id=9

16 years agodangeling pointer fix :)
Jens Ole Wund [Tue, 7 Sep 2004 20:45:09 +0000 (20:45 +0000)]
dangeling pointer fix :)

16 years agoGot rid of quite a lot of warnings. Lot of them MSVC-ism dealing with const casting.
Martin Poirier [Tue, 7 Sep 2004 01:39:44 +0000 (01:39 +0000)]
Got rid of quite a lot of warnings. Lot of them MSVC-ism dealing with const casting.
Some implicit cast warnings and more importantly, changed the parameter type to int for functions passing the particles random number seed around. No need to use floats there, it's an int anyway.

Effect.c is now warning free (on MSVC 6.0 at least)

16 years agoAdded some align block where needed. (Sorting buttons and Link/Append)
Martin Poirier [Tue, 7 Sep 2004 01:26:44 +0000 (01:26 +0000)]
Added some align block where needed. (Sorting buttons and Link/Append)

16 years agoFix for bug #1582: LSCM mesh splitting based on seams gives incorrect results in...
Brecht Van Lommel [Mon, 6 Sep 2004 14:30:28 +0000 (14:30 +0000)]
Fix for bug #1582: LSCM mesh splitting based on seams gives incorrect results in some setups.

The algorithm used before to split up the mesh before unwrapping was based on
vertices, resulting in leakage in some setups. Now it's edge based, allowing to
select only two edges of a triangle, and not automatically selecting the third.

16 years agoAdd theme colour for "Draw Normals"
Nathan Letwory [Mon, 6 Sep 2004 08:10:56 +0000 (08:10 +0000)]
Add theme colour for "Draw Normals"

16 years agoSmall patch by Joilnen Leiter:
Nathan Letwory [Mon, 6 Sep 2004 07:58:11 +0000 (07:58 +0000)]
Small patch by Joilnen Leiter:

Cancel window split with RMB

16 years agoBugfix for the render window not popping to the front when it already existed,
Brecht Van Lommel [Sun, 5 Sep 2004 22:51:50 +0000 (22:51 +0000)]
Bugfix for the render window not popping to the front when it already existed,
under linux / x11 / KDE.

The new behaviour in 2.34, not recreating the render window on re-render,
revealed that raising windows did not work under some window managers.  Now the
"net wm extensions" are used if available, otherwise it will work the same way
as before (e.g. Gtk+ does this as well).

More info:
http://www.freedesktop.org/Standards/wm-spec

16 years agoAll constraints (except FollowPath) now check if subtarget (bone) is valid and disabl...
Martin Poirier [Sun, 5 Sep 2004 21:20:03 +0000 (21:20 +0000)]
All constraints (except FollowPath) now check if subtarget (bone) is valid and disable constraint if not. Previously, this only worked with IK Solver.
The problem was that it defaulted to the armature object as target but didn't clear the subtarget field. This makes it clear that there's a problem.

16 years agoStretch To constraint
Martin Poirier [Sun, 5 Sep 2004 20:21:16 +0000 (20:21 +0000)]
Stretch To constraint

Read today's meeting minutes for a description.

Bjornmose: We'll need some example and screenshots for the dev pages of blender3d.org. If you can do some, neat, if not, I'll do them.

Matt, Emilie and Chris: Please review UI addition. Pixel alignement and all that fun stuff has not be overly looked for (though I did some cleaning by adding alignment blocks).

16 years agoUpdate msvc7 project files:
Nathan Letwory [Sun, 5 Sep 2004 17:18:49 +0000 (17:18 +0000)]
Update msvc7 project files:

* Add Sound module
* Add files for global undo

16 years agoQuit confirm dialog
Martin Poirier [Sun, 5 Sep 2004 15:43:45 +0000 (15:43 +0000)]
Quit confirm dialog

16 years agoTypo in ListBase -> listBase
Ton Roosendaal [Sun, 5 Sep 2004 14:18:45 +0000 (14:18 +0000)]
Typo in ListBase -> listBase

16 years agoAdding undo files to projectfiles (MSVC 6.0)
Martin Poirier [Sun, 5 Sep 2004 14:18:39 +0000 (14:18 +0000)]
Adding undo files to projectfiles (MSVC 6.0)

16 years agoHuh! that file was added... anyhoo, here again!
Ton Roosendaal [Sun, 5 Sep 2004 13:59:08 +0000 (13:59 +0000)]
Huh! that file was added... anyhoo, here again!

16 years agoSConscript for new file
Ton Roosendaal [Sun, 5 Sep 2004 13:53:55 +0000 (13:53 +0000)]
SConscript for new file

16 years agoSecond itteration of global undo system. Now based on:
Ton Roosendaal [Sun, 5 Sep 2004 13:43:51 +0000 (13:43 +0000)]
Second itteration of global undo system. Now based on:

- file-to-memory save
- incremental difference steps (compression)

everthing has been tightly coded to use minimum of memcpy or allocs. In
fact this system works with a single full buffer (=file) in memory, and undosteps as differences from it.
Speed gain is factor 4-8 faster. I've added it in CTRL+ALT+T timer menu for
a test. Please note the gain is especially in the undo-storing, not in
retrieving undo.

Also new: file read option to skip UI read (file menu). This now also is
default for the undo system.

16 years agoFix for bug #1580.
Chris Want [Fri, 3 Sep 2004 16:42:46 +0000 (16:42 +0000)]
Fix for bug #1580.

If the mesh 'key' doesn't have an IPO, then don't try to
select any key's on the non-existent IPO curves in the
action window.

16 years agoIpo.c
Kent Mein [Fri, 3 Sep 2004 14:31:06 +0000 (14:31 +0000)]
Ipo.c
Removed a block of a bunch of unused vars...
Added a return NULL to the end of a funtion that is suppose to
return something and could fall through.

editconstraint.c
Added a newline to the end of the file to get rid of a stupid warning.

Kent

16 years agoremoved 4 unused vars...
Kent Mein [Wed, 1 Sep 2004 13:33:24 +0000 (13:33 +0000)]
removed 4 unused vars...

Kent

16 years agoremoved 3 forward declarations's inside of a fuction.
Kent Mein [Wed, 1 Sep 2004 13:29:44 +0000 (13:29 +0000)]
removed 3 forward declarations's inside of a fuction.
They were not needed were for functions that were in the same .c file
higher up and I think its sort of a non standard way of doing things.
(using prototypes would probably be more inline with the other code but
as I mentioned they are not needed and were causing warnings in gcc)

Kent

16 years agofix typo in GameLogic documentation
Stefan Gartner [Wed, 1 Sep 2004 13:19:42 +0000 (13:19 +0000)]
fix typo in GameLogic documentation

16 years agoI removed the following:
Kent Mein [Wed, 1 Sep 2004 12:09:22 +0000 (12:09 +0000)]
I removed the following:
  LEVEL_2_CPP_WARNINGS += -Wstrict-prototypes
  LEVEL_2_CPP_WARNINGS += -Wmissing-prototypes

Every version of g++ i've used has stated these two were not for g++
but for c or objectivec.

Kent

16 years agoThe undo test is now safely hidden behind a user-button (temporal)
Ton Roosendaal [Tue, 31 Aug 2004 21:01:21 +0000 (21:01 +0000)]
The undo test is now safely hidden behind a user-button (temporal)
Activate it in User menu "edit methods"

16 years agoEnabled trial for 'global undo'. This now only has undo steps for
Ton Roosendaal [Tue, 31 Aug 2004 20:13:32 +0000 (20:13 +0000)]
Enabled trial for 'global undo'. This now only has undo steps for
- transform (grab, rot, scale, etc)
- all button commands, including menus

I sacrificed for now the UKEY in the 3d window for it. Shift+U does a redo.
(Only in 3d window)

What this system does is saving files in the temp directory (user pref).
The filenames are cycled around (32 in total now).

This commit will follow shortly with a userpref for it, not to frustrate
people who want to work in normal fashion with blender.

16 years agook my last little tweak for today ;)
Kent Mein [Tue, 31 Aug 2004 14:23:29 +0000 (14:23 +0000)]
ok my last little tweak for today ;)

I cleaned up the code a little did a couple of these:
if (blah > stuff - wah)  blah = stuff - wah;

changed to....
tmp = stuff - wah;
if (blah > tmp) blah = tmp;

and combined multiple if statements

Kent

16 years agoThree functionalities in one commit, but there's overlap so I can't
Ton Roosendaal [Tue, 31 Aug 2004 13:43:18 +0000 (13:43 +0000)]
Three functionalities in one commit, but there's overlap so I can't
separate it...

1) Curve/Surface editmode undo
Uses same syntax as mesh undo, so simple to integrate. Edit-curve data is
also quite simpler, so no need for any hack at all.
It re-uses the undo system from next point, which is nice short & clean
local code

2) Framework for global undo
The undo calls themselves are commented out. In a next commit I want to
enable it for a couple of main features, for further feedback.
The speed goes surprisingly well, especially with this new version that
'pushes' undo after a command, ensuring interactivity isnt frustrated

3) framework for texture based icons in Blender
Not activated code, but tested here. Part of 2.3 UI project.

btw: Johnny Matthews will assist in (and complete) the undo project

16 years agotwo more vars that were questionably not initalized...
Kent Mein [Tue, 31 Aug 2004 13:11:59 +0000 (13:11 +0000)]
two more vars that were questionably not initalized...

Kent

16 years agoSome small clean ups again...
Kent Mein [Tue, 31 Aug 2004 13:10:45 +0000 (13:10 +0000)]
Some small clean ups again...

I added ifdef's around a var declaration since the code using
it had them...  Also initalized two vars that were questionable if they
could reach a state where they weren't assigned.

Kent

16 years agoAdded the bmp include forgot to do that when I added the write support.
Kent Mein [Mon, 30 Aug 2004 18:43:00 +0000 (18:43 +0000)]
Added the bmp include forgot to do that when I added the write support.
(fixes a warning about the imb_savebmp undefined...)

Kent

16 years agoRealtime updates of taper and bevel while editing them.
Ton Roosendaal [Mon, 30 Aug 2004 18:31:30 +0000 (18:31 +0000)]
Realtime updates of taper and bevel while editing them.

16 years agoFix for bug #1574: shift+tab switched back to object mode from all modes,
Brecht Van Lommel [Mon, 30 Aug 2004 17:24:58 +0000 (17:24 +0000)]
Fix for bug #1574: shift+tab switched back to object mode from all modes,
except for Texture Paint mode. Now it works for texture paint mode too.

16 years agoStoopid typo in 'full osa' caused the wrong mask value to be sent to the
Ton Roosendaal [Mon, 30 Aug 2004 17:17:08 +0000 (17:17 +0000)]
Stoopid typo in 'full osa' caused the wrong mask value to be sent to the
raytracer. Instead of only tracing the current subpixel it did all
(or most) of them.

Solves reports on slow AO in 2.34, but also will affect ray_mir and transp

16 years agoChanged : A[i,k] to A[i][k]
Kent Mein [Mon, 30 Aug 2004 13:44:58 +0000 (13:44 +0000)]
Changed :  A[i,k] to  A[i][k]

Caught from the following warning:
In file included from IK_QChain.h:47,
                 from IK_QChain.cpp:44:
TNT/cmat.h: In function `void TNT::matmultdiag(TNT::Matrix<T>&, const TNT::Matri
x<T>&, const TNT::Vector<T>&)':
TNT/cmat.h:593: warning: left-hand operand of comma has no effect

Kent

16 years agoAdded a flush in radiotisitizer tool, to update draw of shooting patches
Ton Roosendaal [Sun, 29 Aug 2004 17:05:19 +0000 (17:05 +0000)]
Added a flush in radiotisitizer tool, to update draw of shooting patches
while it's doing a 'Go'

16 years agoForgot to export Object as struct Object...
Ton Roosendaal [Sun, 29 Aug 2004 16:27:54 +0000 (16:27 +0000)]
Forgot to export Object as struct Object...

16 years agoApparently the curve render code doesnt use the displist... so there's
Ton Roosendaal [Sun, 29 Aug 2004 13:58:48 +0000 (13:58 +0000)]
Apparently the curve render code doesnt use the displist... so there's
duplicate code for tapering needed.
Now tapered curves render too.

16 years agoFeature for Curve objects in Blender; 'tapering'.
Ton Roosendaal [Sun, 29 Aug 2004 09:21:52 +0000 (09:21 +0000)]
Feature for Curve objects in Blender; 'tapering'.

Next to the "BevOb" button you now have a "TaperOb" button to give a name
of a curve object which defines the width of extrusion of the 'BevObj'
along the curve. The TaperOb curve typically is horizontal, where the
height denotes the width.
Important rules;
- Only the firste curve in TaperObj is evaluated
- the first width is left, last width is right
- it scales the width of normal extrusions based on evaluating the taper
  curve; which means sharp corners in taper curve won't be easily visible

(That latter feature could be improved by extrusing based on the points
in the taper curve; this is a *lot* more work)

16 years agoAdding BPY sound module to projectfiles (MSVC 6.0)
Martin Poirier [Fri, 27 Aug 2004 00:08:46 +0000 (00:08 +0000)]
Adding BPY sound module to projectfiles (MSVC 6.0)

16 years agoAdded proper qualifier handling to make it possible to switch to Shrink/Fatten and...
Martin Poirier [Fri, 27 Aug 2004 00:02:49 +0000 (00:02 +0000)]
Added proper qualifier handling to make it possible to switch to Shrink/Fatten and Shear while already in transform mode.

16 years agoWe don't use ODE anymore, so I commented out some lines that make it
Chris Want [Thu, 26 Aug 2004 22:42:44 +0000 (22:42 +0000)]
We don't use ODE anymore, so I commented out some lines that make it
required to build.

16 years agoclaiming this to be mine .. to remain compatible to tuhopuu development
Jens Ole Wund [Thu, 26 Aug 2004 22:00:14 +0000 (22:00 +0000)]
claiming this to be mine .. to remain compatible to tuhopuu development
CONSTRAINT_TYPE_STRETCHTO 15
bjornmose

16 years agoBpy access to more texture features: Musgrave, Voronoi, and Distorted Noise.
Stephen Swaney [Thu, 26 Aug 2004 02:16:26 +0000 (02:16 +0000)]
Bpy access to more texture features:  Musgrave, Voronoi, and Distorted Noise.
Contributed by Joilnen B. Leite ( pidhash).  Thanks!

16 years agoSmall modification to redraw the 3D View when an image is reloaded.
Matt Ebb [Tue, 24 Aug 2004 08:36:02 +0000 (08:36 +0000)]
Small modification to redraw the 3D View when an image is reloaded.

16 years agoFix stereo window creation on X11.
Kester Maddock [Tue, 24 Aug 2004 03:30:16 +0000 (03:30 +0000)]
Fix stereo window creation on X11.

16 years agoAdded Zoom In and Zoom Out menu entries to the uv/image editor
Matt Ebb [Tue, 24 Aug 2004 03:27:05 +0000 (03:27 +0000)]
Added Zoom In and Zoom Out menu entries to the uv/image editor

16 years agoTest commit, nothing to see here.
Matt Ebb [Tue, 24 Aug 2004 02:51:07 +0000 (02:51 +0000)]
Test commit, nothing to see here.

16 years agoThis commit should clean up the warnings in edge_rotate that Ton brought up. The...
Johnny Matthews [Mon, 23 Aug 2004 22:13:57 +0000 (22:13 +0000)]
This commit should clean up the warnings  in edge_rotate that Ton brought up. The do not show up now on mine with /W4 on MSVC.

16 years agotesting 1 2 3
Ton Roosendaal [Sun, 22 Aug 2004 18:16:49 +0000 (18:16 +0000)]
testing 1 2 3

16 years agotesting 1 2 3!
Ton Roosendaal [Sun, 22 Aug 2004 13:24:09 +0000 (13:24 +0000)]
testing 1 2 3!

16 years agoTesting commit to check maillists
Ton Roosendaal [Sun, 22 Aug 2004 11:06:00 +0000 (11:06 +0000)]
Testing commit to check maillists

16 years agoMake sure directory $(OCGDIR)/extern is created before building extern
Chris Want [Sat, 21 Aug 2004 19:12:59 +0000 (19:12 +0000)]
Make sure directory $(OCGDIR)/extern is created before building extern
stuff.

16 years agoThis commit adds the 'Rotate Edges' functionality. Select edges and ctrl-E and choose...
Johnny Matthews [Fri, 20 Aug 2004 21:22:47 +0000 (21:22 +0000)]
This commit adds the 'Rotate Edges' functionality. Select edges and ctrl-E and choose rotate edges. is also in the mesh->edges menus in 3d header and toolbox. I put it here since there was not concensus about replacing the code for CTRL-F with this code.

16 years agoAdded a missing hotkey in the toolbox.
Matt Ebb [Wed, 18 Aug 2004 06:59:27 +0000 (06:59 +0000)]
Added a missing hotkey in the toolbox.

16 years agoSmall tweak to the default Glow effect values, so there's a
Matt Ebb [Wed, 18 Aug 2004 04:32:57 +0000 (04:32 +0000)]
Small tweak to the default Glow effect values, so there's a
noticable difference when you add the effect (preventing
people like K-Rich wondering why it's not working :)

16 years agoBugfix for incorrect unwrapping of some triangle shaped quads;
Brecht Van Lommel [Tue, 17 Aug 2004 16:00:32 +0000 (16:00 +0000)]
Bugfix for incorrect unwrapping of some triangle shaped quads;
Triangulation of these quads could lead to degenerate triangles, resulting
in UV's in random places. Now quads are automatically triangulated in the
best direction.

This bug was reported by Tim Fisher (thanks!).

16 years ago** Note: two new files added, projectfiles will need an update.
Willian Padovani Germano [Tue, 17 Aug 2004 04:26:00 +0000 (04:26 +0000)]
** Note: two new files added, projectfiles will need an update.

Scripts:
  Campbell Barton (Ideasman, thanks) updated his Wavefront OBJ importer.
BPython:
- Finally committed pending contributions:
    Chris Keith wrote the Blender.Sound module -- still some testing to do this week;
    Joseph (joeedh) added the OnLoad scene script event;
    Satish Goda added 6 GLU functions to Blender.BGL.  Great additions, thanks all!
- Small changes to Blender.Load (leave editmode as Blender wants) and Window.EditMode (allow definition of "undo string");
- Fixed bug #1539: Window.RedrawAll() crashed Blender if an empty spacescript was available while using it in a gui-less script.
- doc updates.

16 years agoObjects will be autoselected on Append. There's a button to toggle this behaviour...
Nathan Letwory [Mon, 16 Aug 2004 06:46:41 +0000 (06:46 +0000)]
Objects will be autoselected on Append. There's a button to toggle this behaviour, by default it's enabled.

Feature requested by Bastian Salmela.

16 years agoRenamed get_constraint_target in constraint kernel file to get_constraint_target_matr...
Martin Poirier [Mon, 16 Aug 2004 01:14:18 +0000 (01:14 +0000)]
Renamed get_constraint_target in constraint kernel file to get_constraint_target_matrix since that's what it really does
Moved get_con_target from editconstraint to constraint kernel file and renamed to get_constraint_target

Make scene.c use constraint functions from kernel instead of doing the switch itself (regrouping specific constraint code in one file).

Add LockTrack as an option in the Make Track menu (Ctrl-T)

Adding fun for vortex forces in 3D window, the representation now match the orientation and direction of the force (this is code will need optimisation). I'll probably be slapped for mixing two things in one commit but some function calls needed to be fixed for the new spelling and since this is really isolated code I didn't feel like wasting time getting a fresh copy, doing the changes and then readded this after commiting.

Fixed some warning regarding implicit casts and constants (this last one is a MSVCism where you need to explicitely tell the compiler to use floats with an f. AFAIK, it doesn't affect/bother other compilers).

Removed a useless commented piece of code in readfile (there was an uncommented copy a couple of lines before)

16 years agoTheodore Schundler's patches to add FreeBSD support to the scons build
Hans Lambermont [Sun, 15 Aug 2004 18:09:37 +0000 (18:09 +0000)]
Theodore Schundler's patches to add FreeBSD support to the scons build
system.

16 years agoFix two problems in my code as reported on Forums and in release article thread on...
Nathan Letwory [Sat, 14 Aug 2004 09:20:38 +0000 (09:20 +0000)]
Fix two problems in my code as reported on Forums and in release article thread on frontpage:

* Quaternion action ipos accidently got swapped in the Ipo module
* Ipos not editable if not linked to a datablock (was possible in 2.33a)

Also fixed a typo in Object.getMatrix(): localespace -> localspace

And I add:

* channels Key 32 through Key 63 for relative vertex keys

16 years agoFixed bug discovered by dotblend, parented empty's were mistakenly
Alfredo de Greef [Wed, 11 Aug 2004 23:32:13 +0000 (23:32 +0000)]
Fixed bug discovered by dotblend, parented empty's were mistakenly
included in the duplicate objects list.
Added support for spherelight 'dummy' mode when used with global photonmap.
It now behaves the same as arealight when used with gpm.

16 years agoClear the Python error flag between 'overloaded' Python methods.
Kester Maddock [Tue, 10 Aug 2004 11:35:38 +0000 (11:35 +0000)]
Clear the Python error flag between 'overloaded' Python methods.

16 years agoFix blenderplayer command line option parsing.
Kester Maddock [Tue, 10 Aug 2004 11:34:12 +0000 (11:34 +0000)]
Fix blenderplayer command line option parsing.
Fix stereo rendering in vertex array mode.  Added sidebyside & anaglyph stereo modes.

16 years agoFix for #1509
Nathan Letwory [Mon, 9 Aug 2004 18:25:08 +0000 (18:25 +0000)]
Fix for #1509

Running the system info script with a text window (empty) open caused dereferencing of a null-pointer with obviously unwanted results.

Catching the possible situation before it happens.

16 years agoFix typo in documentation
Nathan Letwory [Sat, 7 Aug 2004 14:14:55 +0000 (14:14 +0000)]
Fix typo in documentation

16 years agoSmall tweak to the colour picker - make the palette
Matt Ebb [Thu, 5 Aug 2004 12:40:20 +0000 (12:40 +0000)]
Small tweak to the colour picker - make the palette
buttons rectangular, even in the rounded theme

16 years agotypo in view3d menus; Warp should be shift+w, not ctrl+w
Ton Roosendaal [Thu, 5 Aug 2004 11:37:54 +0000 (11:37 +0000)]
typo in view3d menus; Warp should be shift+w, not ctrl+w

16 years agoLittle showstopper; the fix for enabling typing (3d) text in 3d window
Ton Roosendaal [Thu, 5 Aug 2004 10:54:00 +0000 (10:54 +0000)]
Little showstopper; the fix for enabling typing (3d) text in 3d window
with 'emulate numpad' disabled plus/minus hotkey in imagewindow for zoom.

Added it also for oops. More problems with it for other spaces makes it
important te review for next release. But this is for people who use
laptops or minimalistic keyboards... :)

16 years agoFix for crash in select_parent() - check for OBACT
Matt Ebb [Thu, 5 Aug 2004 00:03:53 +0000 (00:03 +0000)]
Fix for crash in select_parent() - check for OBACT

Thanks to Campbell for the last minute report!

16 years agoSlightly improved clipping of rgb colors in HSV picker, to prevent the Hue
Ton Roosendaal [Wed, 4 Aug 2004 23:19:57 +0000 (23:19 +0000)]
Slightly improved clipping of rgb colors in HSV picker, to prevent the Hue
slider in bottom to block on colors 0,0,0 or 1,1,1

This is not scientific yet, but could be released :)