blender-staging.git
12 years ago* add exit app with CTRLKEY+QKEY.
Nathan Letwory [Tue, 15 Jan 2008 18:54:38 +0000 (18:54 +0000)]
* add exit app with CTRLKEY+QKEY.

12 years ago* area split:
Nathan Letwory [Tue, 15 Jan 2008 14:40:43 +0000 (14:40 +0000)]
* area split:
- prevent a few more cases of Potential Crash.
- tweak moving stuff.

12 years agoMore "data types" for the Operator property system.
Diego Borghetti [Tue, 15 Jan 2008 04:49:09 +0000 (04:49 +0000)]
More "data types" for the Operator property system.

Now you can set/get: float, arrays (int and float) and string.

The only special function is OP_get_string, it is special
because return a pointer to the IDProperty data, so you can't
change/resize/free the string.

It's possible "fix" this with:
 1) Return a "const char"
 2) Return a duplicate string

All this new function are not in use yet, but i make a simple test
with the "move areas" operator (add a property of every type and then
print the result in the other size) and work fine, more test are welcome.

Other thing to check is the new OP_free_property function, because this
properties are only local to the operator, i choice free all this in the
"exit callback" of every operator (only move areas have property now),
so comment about this are welcome too :)

Also add some notes to the WM_api.h file.

12 years ago* fix for crash when mouse cursor changed areas. Not enough was tested, so sometimes...
Nathan Letwory [Mon, 14 Jan 2008 20:57:43 +0000 (20:57 +0000)]
* fix for crash when mouse cursor changed areas. Not enough was tested, so sometimes we got invalid edges.

12 years agoOperators: Split Area
Nathan Letwory [Mon, 14 Jan 2008 20:46:42 +0000 (20:46 +0000)]
Operators: Split Area

This commit adds split area to the window/screen manager.
 - RMB down on area edge activates
 - mouse move interactively moves areas through new edge.
 - RMB up to confirm action
 - ESCKEY or LMB to cancel.

This still crashes in some situations, but I'm on it!
Also will start using new operator property system by bdiego

12 years agoNew API to access Operator properties.
Diego Borghetti [Mon, 14 Jan 2008 19:44:20 +0000 (19:44 +0000)]
New API to access Operator properties.

This is a simple API around IDProperty to store properties
in the Operator, it is really simple and this first commit
just add support for IDP_INT data type.

Take care that this "properties" are not save yet and you get
some "Error totblock" more with this.

I add some notes to the WM_api.h file, please check this,
comment and ideas are welcome.

12 years agoApplied a couple sculpt/multires fixes from trunk to blender2.5.
Nicholas Bishop [Sat, 12 Jan 2008 22:06:42 +0000 (22:06 +0000)]
Applied a couple sculpt/multires fixes from trunk to blender2.5.

12 years agoReverting changes made yesterday to Makefile... (Its really messed up,
Kent Mein [Fri, 11 Jan 2008 16:56:00 +0000 (16:56 +0000)]
Reverting changes made yesterday to Makefile... (Its really messed up,
Going to do it over again from scratch)

Kent

12 years agoThe python lib name should be 'bf_python' instead of 'blender_python'
Chris Want [Fri, 11 Jan 2008 16:48:07 +0000 (16:48 +0000)]
The python lib name should be 'bf_python' instead of 'blender_python'
when linking.

12 years agoFixed typo from merge yesterday.
Kent Mein [Fri, 11 Jan 2008 14:15:59 +0000 (14:15 +0000)]
Fixed typo from merge yesterday.

Kent

12 years agoCleaned up some things, more work to do here but its a little simpler now.
Kent Mein [Thu, 10 Jan 2008 19:53:57 +0000 (19:53 +0000)]
Cleaned up some things, more work to do here but its a little simpler now.

Kent

12 years agoChange vector structs from 3 to 4 so things are aligned for 64bit machines.
Kent Mein [Thu, 10 Jan 2008 19:22:58 +0000 (19:22 +0000)]
Change vector structs from 3 to 4 so things are aligned for 64bit machines.

Kent

12 years agoAdd more memory clearing on file read for WindowManager.
Ton Roosendaal [Thu, 10 Jan 2008 18:56:24 +0000 (18:56 +0000)]
Add more memory clearing on file read for WindowManager.

12 years agoTwo fixes in 2.5 branch:
Ton Roosendaal [Thu, 10 Jan 2008 18:13:34 +0000 (18:13 +0000)]
Two fixes in 2.5 branch:

- crash on start because of unitialized pointer
- Makefile had the python lib on weird location... I prefer all
  blender/source/blender/ libs together on 1 place? The Make needs
  cleaning... it assumes publisher stuff. :)

12 years agoBlender 2.5 project: added first more complex handler + operator
Ton Roosendaal [Thu, 10 Jan 2008 17:38:17 +0000 (17:38 +0000)]
Blender 2.5 project: added first more complex handler + operator

- on mouse-over edge, you can drag area borders around.
- note it's a handerized system now, so it updates UI while you
  move mouse.

Feedback needed:

- read bottom part of the screen_edit.c file. It's the proposed
  method for adding tools and handlers. I think it's close, but
  might need some tweaks.

12 years ago* fix linking order for bf_python
Nathan Letwory [Wed, 9 Jan 2008 23:07:34 +0000 (23:07 +0000)]
* fix linking order for bf_python

12 years agoupdate to cmake files
Andrea Weikert [Wed, 9 Jan 2008 18:48:04 +0000 (18:48 +0000)]
update to cmake files
- added python library
- small fix for ignored runtime library, needed for linking debug here
Note: still some problems linking with openexr in debug

12 years agoLeave the game engine out by default (WITH_GAMEENGINE=OFF).
Chris Want [Wed, 9 Jan 2008 18:26:17 +0000 (18:26 +0000)]
Leave the game engine out by default (WITH_GAMEENGINE=OFF).

12 years ago* fix linking order for l00nix
Nathan Letwory [Tue, 8 Jan 2008 17:32:38 +0000 (17:32 +0000)]
* fix linking order for l00nix

12 years ago* apply patch #8020 by Thomas Knight (epat)
Nathan Letwory [Tue, 8 Jan 2008 16:56:00 +0000 (16:56 +0000)]
* apply patch #8020 by Thomas Knight (epat)
Just colours the last speech mark the same as the first when printing status messages about compiling files and so on. Old behaviour was to
colour it the same as the file name itself.

12 years agoCommented out a couple of verse functions that are in src
Kent Mein [Tue, 8 Jan 2008 16:17:26 +0000 (16:17 +0000)]
Commented out a couple of verse functions that are in src

Kent

12 years ago* tweak linking priorities - should help for GCC users
Nathan Letwory [Tue, 8 Jan 2008 09:47:44 +0000 (09:47 +0000)]
* tweak linking priorities - should help for GCC users
* some lib renaming

12 years ago* update scons-files to build with Ton's latest commits.
Nathan Letwory [Tue, 8 Jan 2008 05:57:27 +0000 (05:57 +0000)]
* update scons-files to build with Ton's latest commits.

12 years agoAdd missing Makefile for libpython.a
Diego Borghetti [Mon, 7 Jan 2008 19:34:38 +0000 (19:34 +0000)]
Add missing Makefile for libpython.a

The source/blender/Makefile don't have the "python" directory
set in the DIRS var, so it skip build the python library.

12 years agoPatch to change license to GPL only, from GSR.
Chris Want [Mon, 7 Jan 2008 19:13:47 +0000 (19:13 +0000)]
Patch to change license to GPL only, from GSR.

12 years agoFix for makefile to enter interface dir
Ton Roosendaal [Mon, 7 Jan 2008 19:06:15 +0000 (19:06 +0000)]
Fix for makefile to enter interface dir

12 years agoNew linking order for the 2.5 editor/wm libs
Ton Roosendaal [Mon, 7 Jan 2008 18:35:06 +0000 (18:35 +0000)]
New linking order for the 2.5 editor/wm libs

12 years agoWhole lot of changes.... here a shortlist:
Ton Roosendaal [Mon, 7 Jan 2008 18:03:41 +0000 (18:03 +0000)]
Whole lot of changes.... here a shortlist:

- removed editors/area and put this all in screen
- added first python calls (note, a new c file for scriptlinks)
- added view3d editor callbacks (no drawing yet)
- added files in editors/interface

(Cmake and Scons has to be fixed, help welcome!)

- now areas/headers are being converted on file read
- note: previously saved 2.50 files will crash!!! (.B.blend)
- area regions are being drawn, first handler for cursor added (on edge)
- window duplicate and scale works correct for screen subdiv

Todos for me:

- need to fix things in syntax (function names) a bit still
- more operators for screen
- define how Context will work... still unresolved when it gets set
- docs!

Reviews of code structure is welcome!
There are also more todos now for others, but it can wait a couple of days

12 years ago* GHOST win32: make sure window gets repositioned to 0,0 when setting state to fullsc...
Nathan Letwory [Sat, 5 Jan 2008 13:56:40 +0000 (13:56 +0000)]
* GHOST win32: make sure window gets repositioned to 0,0 when setting state to fullscreen (maximised, borderless) (Patch by Gladstone)

12 years ago* make sure blender2.5 still compiles when WITH_BF_VERSE=1
Nathan Letwory [Sat, 5 Jan 2008 13:55:30 +0000 (13:55 +0000)]
* make sure blender2.5 still compiles when WITH_BF_VERSE=1

12 years agoUse XInternAtom by default.
Diego Borghetti [Fri, 4 Jan 2008 23:17:08 +0000 (23:17 +0000)]
Use XInternAtom by default.

I don't know the name of the "SGI Fast" atom, but this is only request
when blender start so i don't think that this make some "big" difference.

So just use plain X11 calls (thanks GSR for the info).

12 years agoSupport for CMake
Chris Want [Thu, 3 Jan 2008 22:20:45 +0000 (22:20 +0000)]
Support for CMake

12 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 :)

12 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

12 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

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

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

12 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)

12 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

12 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

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

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

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

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

12 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 :/

12 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)

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

12 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)

12 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).

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

12 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

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

12 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

12 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)

12 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)

12 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

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

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

12 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)

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

12 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)

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

12 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 :)

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

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

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

12 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!

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

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

12 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

12 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

12 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

12 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

12 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!

12 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!

12 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)

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

12 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

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

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

12 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...)

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

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

12 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 :)

12 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 :)

12 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

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

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

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

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

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

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

12 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).

12 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

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

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

12 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

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

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

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