blender.git
13 years agoAdd support for GHOST_kWindowState* to Linux.
Diego Borghetti [Thu, 3 Jan 2008 21:04:16 +0000 (21:04 +0000)]
Add support for GHOST_kWindowState* to Linux.

This add support for the different window state in Linux/X11.
Two think to take care:
1) m_post_*
2) motifFullScreen

1) This is only need if we want start a window in FullScreen or Maximized
state. The basic problem is that we can't set this property to a window
until it's really map, so i add a "post init" proccess for this two
special case (check the code for more info).

2) The Motif Hint isn't really a "FullScreen" mode, it's only a
"NO DECORATIONS" options, so if the window manager don't support WM-spec
this function only remove the border of the window, don't make it
FullScreen. A simple fix (hack) is check if the Window Manager support
WM-spec, in case that not, remove the decorations and move/resize the
window.

Test in different WM (gnome, kde, etc) and comment are welcome :)

13 years ago* make sure we have still a compiling GE with scons/mingw
Nathan Letwory [Wed, 2 Jan 2008 12:35:30 +0000 (12:35 +0000)]
* make sure we have still a compiling GE with scons/mingw
* assist ideasman also for scons/mingw with ffmpeg enabled

13 years ago* making sure removal of headers still has successful compile on win32
Nathan Letwory [Tue, 1 Jan 2008 22:10:39 +0000 (22:10 +0000)]
* making sure removal of headers still has successful compile on win32

13 years agoremoved some more header files, made the game engine compile with removed header...
Campbell Barton [Tue, 1 Jan 2008 19:20:49 +0000 (19:20 +0000)]
removed some more header files, made the game engine compile with removed header files, added includes to SConstruct files.

13 years agoSome notes for those who try to follow this :)
Ton Roosendaal [Tue, 1 Jan 2008 18:29:19 +0000 (18:29 +0000)]
Some notes for those who try to follow this :)

- first work on getting area/screen handling back
- added structure for where to put stuff, is still under
  review, wait a bit for docs?

Campbell is working on removing every bad level include from
sources, so we can safely rebuild the src/ directory.

13 years agoremoved blenderdef.h, BIF_*, BDR_* and BSE_* header files (except for BIF_gl.h and...
Campbell Barton [Tue, 1 Jan 2008 18:16:10 +0000 (18:16 +0000)]
removed blenderdef.h, BIF_*, BDR_* and BSE_* header files (except for BIF_gl.h and BIF_glutil.h)

13 years agoMore work on restoring Blender;
Ton Roosendaal [Tue, 1 Jan 2008 15:53:38 +0000 (15:53 +0000)]
More work on restoring Blender;

- brining back subwindow management
- removing more bad level stuff

13 years ago* make sure desktop is redrawn when coming out of GHOST_kWindowStateFullScreen
Nathan Letwory [Tue, 1 Jan 2008 14:04:09 +0000 (14:04 +0000)]
* make sure desktop is redrawn when coming out of GHOST_kWindowStateFullScreen

13 years ago* silence more warnings
Nathan Letwory [Tue, 1 Jan 2008 11:14:25 +0000 (11:14 +0000)]
* silence more warnings

13 years ago* some cleanup of warnings
Nathan Letwory [Tue, 1 Jan 2008 10:45:48 +0000 (10:45 +0000)]
* some cleanup of warnings

13 years ago* kill a warning
Nathan Letwory [Tue, 1 Jan 2008 09:28:29 +0000 (09:28 +0000)]
* kill a warning

13 years ago* add fullscreen toggle operator (for testing fullscreen states in win32). hotkey...
Nathan Letwory [Tue, 1 Jan 2008 09:07:02 +0000 (09:07 +0000)]
* add fullscreen toggle operator (for testing fullscreen states in win32). hotkey is FKEY. Do test on other platforms, too.

13 years agoI got confused screenToClient with clientToScreen.
Diego Borghetti [Mon, 31 Dec 2007 14:28:10 +0000 (14:28 +0000)]
I got confused screenToClient with clientToScreen.

Sorry, i get the wrong value because a print the
wrong variable :/

13 years ago* fix include path (found by jensverwiebe)
Nathan Letwory [Mon, 31 Dec 2007 10:18:26 +0000 (10:18 +0000)]
* fix include path (found by jensverwiebe)

13 years agoFix bad argument order to XTranslateCoordinates.
Diego Borghetti [Mon, 31 Dec 2007 06:19:04 +0000 (06:19 +0000)]
Fix bad argument order to XTranslateCoordinates.

Take me a long time catch this :/ and i really don't know how this
work before, because clientToScreen always return bad values.

13 years ago* make sure decoration is there when toggling away from GHOST_kWindowStateFullScreen...
Nathan Letwory [Sun, 30 Dec 2007 23:58:59 +0000 (23:58 +0000)]
* make sure decoration is there when toggling away from GHOST_kWindowStateFullScreen to GHOST_kWindowStateNormal (win32)

13 years ago* also distinguish between maximised and fullscreen on GHOST win32.
Nathan Letwory [Sun, 30 Dec 2007 23:09:33 +0000 (23:09 +0000)]
* also distinguish between maximised and fullscreen on GHOST win32.
* clean up some warnings (unused vars).

13 years ago* revert my change to windowmanager move/size handling.
Nathan Letwory [Sun, 30 Dec 2007 22:52:00 +0000 (22:52 +0000)]
* revert my change to windowmanager move/size handling.
* made win32 ghost getClientBounds so that it returns area compatible with osx getClientBounds
  - if a window is non-fullscreen, substract decoration, since that'll be added by GHOST_WindowWin32()
* use SetWindowLongPtr/GetWindowLongPtr (instead of SetWindowLong) as it is compatible with 64bit windows.

13 years agoRemoved silly Global windowstate variable.
Ton Roosendaal [Sun, 30 Dec 2007 17:29:13 +0000 (17:29 +0000)]
Removed silly Global windowstate variable.

Result: windows open default with decoration (or as your default WM
defines).

Todo: platform maintainers re-implement a cogent way for giving
commandline options for defaults, and test how this can be stored even

13 years ago* request by kaito - we're debugging 2.5 now more than using it anyway... BF_DEBUG...
Nathan Letwory [Sun, 30 Dec 2007 17:17:02 +0000 (17:17 +0000)]
* request by kaito - we're debugging 2.5 now more than using it anyway... BF_DEBUG = 'true' set by default.

13 years ago* handle WM_MOVE on win32 in GHOST
Nathan Letwory [Sun, 30 Dec 2007 17:13:36 +0000 (17:13 +0000)]
* handle WM_MOVE on win32 in GHOST
* change window move/size handling so that getWindowBounds gets x,y for window and getClientBounds gets w,h

13 years agoWindowmanager, ghost side:
Ton Roosendaal [Sun, 30 Dec 2007 13:30:31 +0000 (13:30 +0000)]
Windowmanager, ghost side:

- Added GHOST_kEventWindowMove event, for sending event that the
  window has moved
- Fixed GHOST_GetClientBounds() for OSX (get window rect)

Todos:
- add same event for X11 and Windows
- solve why ghost doesn't call client event-proc while scaling window
  (at least, not in osx)

13 years ago* remove unneeded include (msvc barfs on it), now current tree builds with scons...
Nathan Letwory [Sun, 30 Dec 2007 00:22:39 +0000 (00:22 +0000)]
* remove unneeded include (msvc barfs on it), now current tree builds with scons/mingw, scons/msvc and scons/gcc (linux) (and afaik also cross-compiles on linux for windows, with thanks to Debolaz)

13 years ago* some additions and a removal in stubs.c (by elubie)
Nathan Letwory [Sat, 29 Dec 2007 20:47:39 +0000 (20:47 +0000)]
* some additions and a removal in stubs.c (by elubie)
* mingw config update to link properly with ffmpeg

13 years agoAccidentally removed a bit too many badlevel calls.
Ton Roosendaal [Sat, 29 Dec 2007 19:16:04 +0000 (19:16 +0000)]
Accidentally removed a bit too many badlevel calls.

13 years ago* fix include paths in SConscripts for GE.
Nathan Letwory [Sat, 29 Dec 2007 19:04:45 +0000 (19:04 +0000)]
* fix include paths in SConscripts for GE.

13 years agoBadlevel call amount reduced to 21!
Ton Roosendaal [Sat, 29 Dec 2007 18:44:31 +0000 (18:44 +0000)]
Badlevel call amount reduced to 21!
(worst was radio module)

13 years agoAdding stubs for audiostream
Martin Poirier [Sat, 29 Dec 2007 18:35:24 +0000 (18:35 +0000)]
Adding stubs for audiostream

13 years ago* add also SConscripts for editors.
Nathan Letwory [Sat, 29 Dec 2007 18:05:24 +0000 (18:05 +0000)]
* add also SConscripts for editors.

I totally forgot those. Anyway, now all compiles and links (scons/mingw)

13 years agoPorted over the bad-level cleanup from Chris for Sculpt.
Ton Roosendaal [Sat, 29 Dec 2007 17:07:55 +0000 (17:07 +0000)]
Ported over the bad-level cleanup from Chris for Sculpt.

13 years agoEh, comment should be on line above :)
Ton Roosendaal [Sat, 29 Dec 2007 16:43:45 +0000 (16:43 +0000)]
Eh, comment should be on line above :)

13 years agoCrash on startup fix
Ton Roosendaal [Sat, 29 Dec 2007 16:42:39 +0000 (16:42 +0000)]
Crash on startup fix

13 years agoAnd now blender will link again! However, with a bad stub.c
Ton Roosendaal [Sat, 29 Dec 2007 16:12:35 +0000 (16:12 +0000)]
And now blender will link again! However, with a bad stub.c
That's going to be tackled.

13 years agoNow Makefiles should be uptodate.
Ton Roosendaal [Sat, 29 Dec 2007 14:56:16 +0000 (14:56 +0000)]
Now Makefiles should be uptodate.
Also fixed old error in make for nodes, it didn't enter subdirs
correctly?

Left: 63 unresolved symbols on linking...

13 years agoCleanup work for 2.5 branch. Target is to get it compile and link
Ton Roosendaal [Sat, 29 Dec 2007 14:31:26 +0000 (14:31 +0000)]
Cleanup work for 2.5 branch. Target is to get it compile and link
still!

13 years ago* remove obsolete include/
Nathan Letwory [Sat, 29 Dec 2007 10:47:16 +0000 (10:47 +0000)]
* remove obsolete include/

13 years ago* added SConscript for windowmanager
Nathan Letwory [Thu, 27 Dec 2007 22:16:54 +0000 (22:16 +0000)]
* added SConscript for windowmanager
* tweak other SConscripts for editors/include
* commented BKE_bad_level_calls.h in writeframeserver.c - please check it doesn't break make builds

This compiles until final linking, which still fails.

13 years ago(this is for blender2.5 again)
Kent Mein [Thu, 27 Dec 2007 21:35:25 +0000 (21:35 +0000)]
(this is for blender2.5 again)
Modified these three to include blender/editors/include instead of
blender/include maybe not needed at this stage but I'm guessing its good
to do this.

Kent

13 years ago* remove src and python SConscript references
Nathan Letwory [Thu, 27 Dec 2007 20:29:29 +0000 (20:29 +0000)]
* remove src and python SConscript references

13 years agoSmall tweaks to blender2.5 Makefiles...
Kent Mein [Thu, 27 Dec 2007 19:49:22 +0000 (19:49 +0000)]
Small tweaks to blender2.5 Makefiles...
commented out srclib and pythonlib since its not there
added new include dir for window stuff so things could find headers..

Kent

13 years ago- removing conflicts in svn merge (didnt notice)
Ton Roosendaal [Mon, 24 Dec 2007 19:13:04 +0000 (19:13 +0000)]
- removing conflicts in svn merge (didnt notice)
- adding more Makefiles

13 years agoLast commit to get things on level I ended with during code holidays
Ton Roosendaal [Mon, 24 Dec 2007 18:58:12 +0000 (18:58 +0000)]
Last commit to get things on level I ended with during code holidays
(which was not even a working blender yet!)

Todo for dec 26th: finish the task:
- remove entire src/ and python/ dirs, and get blender to compile and
link again, using a new stubs.c temporary

(note; bad level calls stubs.c was also removed, this was a MESS!)

Then there's the task
- solve the bad level calls (can use help with that!)

So then I can do:
- move the screen code and subwindow code from old src/ to new editors
module and windowmanager

More will follow on mailing list, and wiki.
Merry xmas!

13 years agoPart 4 of the event refactor branch: all changes in existing files,
Ton Roosendaal [Mon, 24 Dec 2007 18:53:37 +0000 (18:53 +0000)]
Part 4 of the event refactor branch: all changes in existing files,
Makefiles especially, and of course the windowmanager DNA!

13 years agoBlenkernel for 2.5 project, changes mainly are because of disabling
Ton Roosendaal [Mon, 24 Dec 2007 18:38:03 +0000 (18:38 +0000)]
Blenkernel for 2.5 project, changes mainly are because of disabling
bad level calls. (which is not finished at all)

13 years agoStep 3 for the initial commits for 2.5: removing src/ and python,
Ton Roosendaal [Mon, 24 Dec 2007 18:27:28 +0000 (18:27 +0000)]
Step 3 for the initial commits for 2.5: removing src/ and python,
adding new windowmanager module, and the first bits of new editors
module.

13 years agopatch from Vladimir Espinosa for keying object layers from python
Campbell Barton [Mon, 24 Dec 2007 11:43:09 +0000 (11:43 +0000)]
patch from Vladimir Espinosa for keying object layers from python

13 years agoold bug in python api, Blender.Scene.Unlink() did not check if screens were using...
Campbell Barton [Mon, 24 Dec 2007 10:25:35 +0000 (10:25 +0000)]
old bug in python api, Blender.Scene.Unlink() did not check if screens were using this scene or if it was used as a set elsewhere.

In both cases this resulted in invalid pointers and crashes.
Also was not freeing nodes or sequence data.

13 years agoMissing change in previous BPy revert.
Martin Poirier [Sun, 23 Dec 2007 23:41:16 +0000 (23:41 +0000)]
Missing change in previous BPy revert.

This was only the added build options in scons, so no harm done.

13 years ago== Sequencer ==
Peter Schlaile [Sun, 23 Dec 2007 21:27:12 +0000 (21:27 +0000)]
== Sequencer ==

Fixed IPO calculation for threaded prefetch rendering. (do_seq_ipo used
global CFRA tststs...)

13 years ago== Sequencer ==
Peter Schlaile [Sun, 23 Dec 2007 19:21:43 +0000 (19:21 +0000)]
== Sequencer ==

[#7861] Sequencer segfaults when trying to add images

Fixed some _really_ stupid bugs in transform_seq, that made it segfault
if one selected 0 images.

13 years ago== FFMPEG ==
Peter Schlaile [Sun, 23 Dec 2007 18:44:32 +0000 (18:44 +0000)]
== FFMPEG ==

Fixes [#7475] no video as background
libswscale sets the alpha channel to 0 by default... grmbl.
Added a workaround. Big endian users please complain, if it doesn't work.

13 years ago== Playback (peach request) ==
Peter Schlaile [Sun, 23 Dec 2007 17:27:06 +0000 (17:27 +0000)]
== Playback (peach request) ==

Correct playback frames per second when "Play" is pressed. (Play spawns a new instance of blender, it could pass an argument that sets the frames per second)

(double credit :)

13 years ago== Sequencer (Peach request) ==
Peter Schlaile [Sun, 23 Dec 2007 17:01:44 +0000 (17:01 +0000)]
== Sequencer (Peach request) ==

Make the "Sync" button work when sound is disabled, Animators use this as a way to play animations at the right speed, could be renamed to "Drop Frames" and work even when blender built without audio enabled.

(do not forget to give credit to me :)

13 years agoFixed bug #7981, Crash with multires
Nicholas Bishop [Sun, 23 Dec 2007 03:03:54 +0000 (03:03 +0000)]
Fixed bug #7981, Crash with multires

Caused by incorrect handling of multires with orco mapping

13 years agoText draw assumed curarea->spacedata.first was always a text space - which in some...
Campbell Barton [Sat, 22 Dec 2007 17:16:06 +0000 (17:16 +0000)]
Text draw assumed curarea->spacedata.first was always a text space - which in some cases is not correct.
This fixes a crash where python changing screens then raising an error would cause a crash.

13 years ago-> Alpha Clip Tweak
Geoffrey Bantle [Sat, 22 Dec 2007 12:05:27 +0000 (12:05 +0000)]
-> Alpha Clip Tweak

Apparently on some cards/drivers setting alpha clip to 1.0 will make every
pixel get clipped out regardless of its associated alpha value being 1.0.
Added a fix for this.

13 years agosmall cleanup for sequencer drawing,
Campbell Barton [Sat, 22 Dec 2007 10:30:50 +0000 (10:30 +0000)]
small cleanup for sequencer drawing,
text isn't drawn for strips when too narrow and some improvements to the strip draw loop.

13 years agoBugfix #7854: Adding Meta/Text Object causes Blender to go into EditMode (setting...
Joshua Leung [Sat, 22 Dec 2007 03:47:19 +0000 (03:47 +0000)]
Bugfix #7854: Adding Meta/Text Object causes Blender to go into EditMode (setting disabled)

This was caused by a few missing checks for this setting in the appropriate places.

13 years agoBugfix for strand simplification, without random distribution enabled.
Brecht Van Lommel [Fri, 21 Dec 2007 10:57:02 +0000 (10:57 +0000)]
Bugfix for strand simplification, without random distribution enabled.
Bugfix (hopefully) for missing strands on render bug, probably related
to preview render.

13 years ago-m64 somehow made opengl headers have conflicting values when compiling.
Campbell Barton [Fri, 21 Dec 2007 09:30:37 +0000 (09:30 +0000)]
-m64 somehow made opengl headers have conflicting values when compiling.

13 years ago== Transform feature test ==
Martin Poirier [Fri, 21 Dec 2007 01:53:55 +0000 (01:53 +0000)]
== Transform feature test ==

Related to bug [#7792] ("Around Selection" user preference doesn't work for linked objects), this commit makes Linked objects be considered in Transform.

This has a couple of effects:
Linked objects are used to calculate the center of transformation and such but are skipped during the actual transformation.
Linked objects can be used as orbiting targets (see previously mentionned bug).

The offshot is that selecting a linked object and hitting G doesn't cancel immediately as it did before (this could eventually be worked around, but I don't think it's that much of a problem. Disagreeing people should express themselves).

13 years agoNeed to propigate -m64 flags to compile verse.
Kent Mein [Thu, 20 Dec 2007 19:39:21 +0000 (19:39 +0000)]
Need to propigate -m64 flags to compile verse.

Kent

13 years ago== Sculpt Mode ==
Nicholas Bishop [Thu, 20 Dec 2007 19:07:47 +0000 (19:07 +0000)]
== Sculpt Mode ==

Applying Stephan Kassemeyer's patch (#6750) to add a curve modifier for sculpting.

A few changes from the patch:
* The default curve is closer to the old behavior
* Fixed loading files already saved in sculpt mode
* Changed the interface; split the brush texture controls off into a third sculpt tab, and put the curve (and curve reset) into the Brush tab.

13 years agoReset GL lights are reloading defaults with Ctrl-X.
Martin Poirier [Thu, 20 Dec 2007 18:41:11 +0000 (18:41 +0000)]
Reset GL lights are reloading defaults with Ctrl-X.

GL Lights defaults are read back from the file, they just weren't applied until the next recalc call.

13 years agoA little christmas present for the lazy coders.
Nathan Letwory [Thu, 20 Dec 2007 17:52:57 +0000 (17:52 +0000)]
A little christmas present for the lazy coders.
In your user-config.py you can now set BF_FANCY='false' and enjoy the... lack of colors

13 years agoBugfix for strand simplification commit, made child particles
Brecht Van Lommel [Thu, 20 Dec 2007 17:08:17 +0000 (17:08 +0000)]
Bugfix for strand simplification commit, made child particles
from particles crash.

13 years agoParticle Edit Mode
Brecht Van Lommel [Thu, 20 Dec 2007 17:04:10 +0000 (17:04 +0000)]
Particle Edit Mode
==================

- Added a Remove Doubles tool, to remove two particles with the
  same root position.

13 years agoStrand Render Simplification
Brecht Van Lommel [Thu, 20 Dec 2007 16:35:27 +0000 (16:35 +0000)]
Strand Render Simplification
============================

- Strand render now has options to remove child strands as
  the object's faces becomes smaller, in the Simplification
  particle panel.
- "Reference Size" is the approximate size of the object on
  screen, after which simplification starts.
- "Rate" is how fast strands are removed.
- "Transition" is the percentage of strands being faded out as
  they are removed.

- Another "Viewport" option removes strands on faces that are
  outside of the viewport. "Rate" again controls how fast these
  are removed.

- Strand render in Blender Units now has an adjustable minimum
  width. Below this minimum width, strands start fading out
  instead of getting smaller.

13 years agochange default solaris gcc args, use -m64 for 64bit arch, use -O2 rather then -O1
Campbell Barton [Thu, 20 Dec 2007 16:33:45 +0000 (16:33 +0000)]
change default solaris gcc args, use -m64 for 64bit arch, use -O2 rather then -O1

13 years agohopefully fix compiling on win32
Campbell Barton [Thu, 20 Dec 2007 12:37:15 +0000 (12:37 +0000)]
hopefully fix compiling on win32

13 years agomake relative paths wasnt working, also disallowed it when the blend file isnt saved
Campbell Barton [Thu, 20 Dec 2007 10:52:56 +0000 (10:52 +0000)]
make relative paths wasnt working, also disallowed it when the blend file isnt saved

13 years agoBLI_makestringcode dosnt need the first value to be a copy of G.sce since its a ...
Campbell Barton [Thu, 20 Dec 2007 10:38:01 +0000 (10:38 +0000)]
BLI_makestringcode dosnt need the first value to be a copy of G.sce since its a "const char"

Removed own script release/scripts/image_find_paths.py since last commit replaced its functionality.

13 years agoRender-farm and file utils for dealing with external data.
Campbell Barton [Thu, 20 Dec 2007 10:27:13 +0000 (10:27 +0000)]
Render-farm and file utils for dealing with external data.
Useful to use before sending blend files to the renderfarm.

* Make all Paths Relative - makes any absolute paths relative.
* Report Missing Files - creates a textblock listing all missing files.
* Find Missing Files - searches a directory recursively for filenames that dont exist at their current path.

Added a path looper type and functions that currently loop on image, sound, font and external library paths.

13 years ago== Action Editor - Show Hidden Channels ==
Joshua Leung [Wed, 19 Dec 2007 23:29:42 +0000 (23:29 +0000)]
== Action Editor - Show Hidden Channels ==

This option (found in the View menu) shows all Action Channels, regardless of whether the data they represent is visible or not.
It's better than having to have multiple pinned Action Editors open to be able to move all keyframes of all bones at once (when blocking for example).

Also, fixed some compile errors caused by previous commit...

13 years ago== Imbuf ==
Peter Schlaile [Wed, 19 Dec 2007 23:14:14 +0000 (23:14 +0000)]
== Imbuf ==

The TIFF reader did error handling with assert which is a pretty bad
idea (tm).

This fixes the assert-crash, that the TIFF reader triggers, if one tries
to open a RAW-DV file within the compositor. (File extension is only
two characters long, which is enough for an assert... EVEN IF IT ISN'T
A TIFF FILE, WE ARE GOING TO OPEN. GRMBL)

Removed all other assertions and added proper error handling.
(using STDERR, where it belongs.)

13 years ago== Action Editor - Copy/Paste ==
Joshua Leung [Wed, 19 Dec 2007 22:37:38 +0000 (22:37 +0000)]
== Action Editor - Copy/Paste ==

Now the Copy/Paste functionality stores more info about where keyframes came from. This allows users to copy full poses in the Action Editor and paste them in another action.

Peach request/bugfix for William.

13 years agoRendering
Ken Hughes [Wed, 19 Dec 2007 18:17:56 +0000 (18:17 +0000)]
Rendering
--------
Bugfix #4863: AVI jpg would crash on really small images (less than 16x16).
Change it to pop up an error dialog and abort.

13 years agoBugfix: prevention of redraw of the 3d view or other windows while
Brecht Van Lommel [Wed, 19 Dec 2007 13:11:54 +0000 (13:11 +0000)]
Bugfix: prevention of redraw of the 3d view or other windows while
rendering to the image editor missed one case, could result in
modifiers and particles being evaluated with G.rendering == 1 but
still showing in the viewport.

13 years agoBugfix for hinge bone transform for multiple selected bones: now
Brecht Van Lommel [Wed, 19 Dec 2007 12:12:38 +0000 (12:12 +0000)]
Bugfix for hinge bone transform for multiple selected bones: now
only transforms the children too if they are connected, otherwise
they get transformed twice.

13 years ago== Action Editor - Long Keyframes ==
Joshua Leung [Wed, 19 Dec 2007 10:52:26 +0000 (10:52 +0000)]
== Action Editor - Long Keyframes  ==

Now Long-Keyframes in the Action Editor (yellow/pink strips between keyframes) take into account whether the keyframe handles which help control the interpolation between the two keyframes stay at the same value as the keyframes do.
This way, long keyframes are not drawn when the keys have the same value, but there's still movement between them.

13 years ago== Action Editor - Pinned Actions Bugfix ==
Joshua Leung [Wed, 19 Dec 2007 10:03:54 +0000 (10:03 +0000)]
== Action Editor - Pinned Actions Bugfix ==

When using a pinned action, "Add New" now makes a new action. This new action is only assigned to the current Action Editor (i.e. not to any active object, as one might not exist, or might not be the object that the action is related to).

13 years agoChanged the default hotkeys for playing animations to be more useful IMO (ported...
Joshua Leung [Wed, 19 Dec 2007 08:48:41 +0000 (08:48 +0000)]
Changed the default hotkeys for playing animations to be more useful IMO (ported from AnimSys branch):
* Alt-A now only plays the animation in the active space, if that space is a 3D-view. Otherwise, it plays the animation in all spaces. The old behaviour simply didn't make sense for animation editors, where you'd simply see the current-frame marker moving...

* Alt-Shift-A now plays the animation in all spaces regardless of whether they are active (including 3d-views)

13 years agoProblem with OBJ import found by Mark Ivey - would not import an obj if all verts...
Campbell Barton [Wed, 19 Dec 2007 07:44:37 +0000 (07:44 +0000)]
Problem with OBJ import found by Mark Ivey - would not import an obj if all verts were int values.

13 years agoAdd support for stampinfo to the JPEG format.
Diego Borghetti [Wed, 19 Dec 2007 05:37:57 +0000 (05:37 +0000)]
Add support for stampinfo to the JPEG format.

This is the review of the patch:
[#5485] Invisibly stamp render information into jpg and png files.
by Rob Hausauer (paprmh)

NOTE: I split this patch in 3 part:
1) jpeg support
2) python api
3) sequence plugin

This is the first part, hope finish with the other two tomorrow night.

13 years agoFixed bug #7960, Sculpt Mode: Crash after Scaling brush to 1 ("Tile" mode)
Nicholas Bishop [Tue, 18 Dec 2007 23:27:26 +0000 (23:27 +0000)]
Fixed bug #7960, Sculpt Mode: Crash after Scaling brush to 1 ("Tile" mode)

Division by zero fix

13 years agoFixed bug #6711, Retopo problem when maximizing 3d view and still painting
Nicholas Bishop [Tue, 18 Dec 2007 21:56:17 +0000 (21:56 +0000)]
Fixed bug #6711, Retopo problem when maximizing 3d view and still painting

Caused by some incorrect usage of the current v3d during updates

13 years agoParticles
Brecht Van Lommel [Tue, 18 Dec 2007 16:55:09 +0000 (16:55 +0000)]
Particles
=========

- The render and realtime button for the particle system modifier
  and the enabled button for particles now work seperate again,
  made a bad design decision to tie them together. Now with only
  the render button and not realtime enabled it renders.
- Fix for bug #7948: particle mode crash while constraining axis.
- Fix for bug #7945: crash loading effector groups from an old file.
- Fix for bug #7942: crash for reactor particles emitting from particles.

13 years agoBugfix: the transform of a particle system in a dupli-group was wrong.
Brecht Van Lommel [Mon, 17 Dec 2007 21:19:17 +0000 (21:19 +0000)]
Bugfix: the transform of a particle system in a dupli-group was wrong.

13 years agoThreaded Shadowbuffers Creation
Brecht Van Lommel [Mon, 17 Dec 2007 21:04:22 +0000 (21:04 +0000)]
Threaded Shadowbuffers Creation
===============================

- One shadowbuffer per thread.
- Added more break tests in shadow buffer code.
- Removed R.clipcrop global, solution is not nice yet, but at
  least threadsafe.
- Fixed bug in strand render shadow buffer code.

13 years agoReverting to 2_2x BPY
Martin Poirier [Mon, 17 Dec 2007 20:21:06 +0000 (20:21 +0000)]
Reverting to 2_2x BPY

I was careful in selectively rolling back revisions, but if you've committed changes unrelated to BPY mixed with BPY changes, I might have reverted those too, so please double check.

13 years agoBugfix: with a lot of child particles (1500 per parent), some faces
Brecht Van Lommel [Mon, 17 Dec 2007 16:25:15 +0000 (16:25 +0000)]
Bugfix: with a lot of child particles (1500 per parent), some faces
would get no particles at all. Issue turns out to be precision of
floats for incrementing a number between 0 and 1, now uses doubles..

13 years agoBugfix: with particle distribution based on orco's, there was no
Brecht Van Lommel [Mon, 17 Dec 2007 15:32:27 +0000 (15:32 +0000)]
Bugfix: with particle distribution based on orco's, there was no
correction for them being 'squashed' to the bounding box of the
object, gave weird artifacts with child particle distribution.

13 years agoShift+O subdivision switching now also allows to switch
Brecht Van Lommel [Mon, 17 Dec 2007 12:54:39 +0000 (12:54 +0000)]
Shift+O subdivision switching now also allows to switch
particle systems on/off if they exist.

13 years agoBugfix: memory leak with multi-modifier, if the modifier
Brecht Van Lommel [Mon, 17 Dec 2007 11:47:24 +0000 (11:47 +0000)]
Bugfix: memory leak with multi-modifier, if the modifier
using the previous coordinates was disabled.

13 years agorename WITH_PYAPI_V24X to WITH_BPYAPI_V24X (because its blender's api version number...
Campbell Barton [Mon, 17 Dec 2007 11:32:52 +0000 (11:32 +0000)]
rename WITH_PYAPI_V24X to WITH_BPYAPI_V24X (because its blender's api version number not pythons), made 24x api use its own armature weakref list since pyobject types are different.

13 years agoBugfix: particle add brush in perspective mode would sometimes
Brecht Van Lommel [Mon, 17 Dec 2007 11:20:51 +0000 (11:20 +0000)]
Bugfix: particle add brush in perspective mode would sometimes
not add particles, view ray was wrong.

13 years ago== Fill Bones - Bugfixes ==
Joshua Leung [Mon, 17 Dec 2007 10:34:49 +0000 (10:34 +0000)]
== Fill Bones - Bugfixes ==

* Some joints were identified multiple times, which caused a "too many joints" error when only 2 joints were selected
* When no joints were selected, "too many joints" error was displayed. This has been changed to "no joints selected"
* Fixed a memory leak that occurred when "too many joints selected"

13 years agoMore BPyAPI compiling fixes again.
Joshua Leung [Mon, 17 Dec 2007 08:32:14 +0000 (08:32 +0000)]
More BPyAPI compiling fixes again.

* Added missing stubs so that blenderplayer can be linked.

13 years agoBugfix #7918: Particles (svn) Crashing when adding particles in EditMode
Joshua Leung [Mon, 17 Dec 2007 06:32:53 +0000 (06:32 +0000)]
Bugfix #7918: Particles (svn) Crashing when adding particles in EditMode

This commit should fix the error. dm was used before being check if it was NULL.

13 years agoMore BPyApi (New/2_5x) compiling fixes for mingw.
Joshua Leung [Mon, 17 Dec 2007 06:12:01 +0000 (06:12 +0000)]
More BPyApi (New/2_5x) compiling fixes for mingw.

* Mostly fixed a few more of the tp_base errors, in the manner that Ken did...
* There's still a weird warning in draw.c about some function being used but not defined
* I've included the source splitting hack here too, as I was getting problems getting it to link the files...