Ton Roosendaal [Wed, 29 Jul 2009 11:53:37 +0000 (11:53 +0000)]
2.5
Small fix: SHIFT+D caused transform to move with more precision, as if
shiftkey was pressed.
Martin Poirier [Wed, 29 Jul 2009 04:53:10 +0000 (04:53 +0000)]
Use the Ramer-Douglas-Peucker algorithm instead of a reverse Chaikin filter to reduce stroke complexity.
Divergence limit is 4 pixels (could be tweakable but 4 is a nice number).
Campbell Barton [Wed, 29 Jul 2009 00:37:37 +0000 (00:37 +0000)]
- console remove doubles with command history
- povray file removal was uncommented
Campbell Barton [Tue, 28 Jul 2009 22:44:50 +0000 (22:44 +0000)]
list the filesystems on linux.
Andrea Weikert [Tue, 28 Jul 2009 21:08:28 +0000 (21:08 +0000)]
2.5 file browser
* small tweak for tab completion of directory: make TEX button interactive again
Note1: only TAB key triggers update (see ui_do_but_textedit, line 1599)
Diego Borghetti [Tue, 28 Jul 2009 21:06:23 +0000 (21:06 +0000)]
Forget add the bearing X, a little better now (hinting).
Diego Borghetti [Tue, 28 Jul 2009 20:02:09 +0000 (20:02 +0000)]
Bitmap mode is back.
The option of Texture or Bitmap font is working again, yes it's really
uuuuugly right now, but it work.
On the next commit I go to put this at the same level that texture font.
Change this from User Preferences -> Language -> Textued Fonts, save
the preferences and run blender again.
Campbell Barton [Tue, 28 Jul 2009 19:32:46 +0000 (19:32 +0000)]
- UVs weren't exported correctly.
- check for user quit while povray is parsing the file.
- detect if povray cant parse the file and exit the render loop.
Diego Borghetti [Tue, 28 Jul 2009 19:14:25 +0000 (19:14 +0000)]
Fix crash on Linux with some WM.
This is fixed on trunk but was remove in some merge (give conflict).
Brecht Van Lommel [Tue, 28 Jul 2009 18:59:36 +0000 (18:59 +0000)]
2.5: various one-liner fixes
* Image window only show game properties in game mode.
* Fix image window render info drawing wrong with alpha enabled.
* Win32 editmode cursor now uses a different one than the system
cursor, that one is barely visible, especially in the new theme
colors.
* Center text in operator header print.
* Fix sequencer unlock shortcut key.
* Fix uv layer / vertex color active render button now graying out.
* Workaround to get default zoom level 1:1 again for new buttons
(will try to fix properly later, is due to scrollbars).
Brecht Van Lommel [Tue, 28 Jul 2009 18:54:02 +0000 (18:54 +0000)]
2.5: Materials and textures can now be assigned again
even if not slot for them is available.
Brecht Van Lommel [Tue, 28 Jul 2009 18:51:06 +0000 (18:51 +0000)]
2.5: File browse button in ui layouts now works, e.g. for render
output path or fluidsim path.
Andrea Weikert [Tue, 28 Jul 2009 18:25:02 +0000 (18:25 +0000)]
2.5 file browser
Bugfix: scrollwheel in left panel area should pan, not zoom.
Andrea Weikert [Tue, 28 Jul 2009 18:20:16 +0000 (18:20 +0000)]
2.5 file browser
* Bugfix: keep the filename when changing directory, either by clicking on it or by selecting a bookmark
* MSVC uninitialized variable runtime check fix in widget_draw_text
Andrea Weikert [Tue, 28 Jul 2009 18:07:00 +0000 (18:07 +0000)]
2.5 file browser
Bugfix: revert to previous behaviour of BLI_rename, is used for safe blendfile saving.
Added guard in file browser though to prevent user from invoking this.
Brecht Van Lommel [Tue, 28 Jul 2009 17:59:59 +0000 (17:59 +0000)]
2.5: UI
* Text editing in buttons now hides the label, to give more space.
* Tweak slider buttons text clipping, happened a bit too early.
* Move editing text closer to the left, because the < > buttons
are not visible then anyway.
Daniel Genrich [Tue, 28 Jul 2009 17:22:49 +0000 (17:22 +0000)]
PovrayRenderEngine: Should now work with win32 and win64 povray installations
Ton Roosendaal [Tue, 28 Jul 2009 16:56:22 +0000 (16:56 +0000)]
2.5
OSX fix:
carbon code can not be included in blender code, it conflicts with struct ID
Ton Roosendaal [Tue, 28 Jul 2009 16:50:13 +0000 (16:50 +0000)]
2.5
Fix in include file, missing 'struct'
Ton Roosendaal [Tue, 28 Jul 2009 16:48:02 +0000 (16:48 +0000)]
2.5
Keymap feature: RightMouse in pulldown menus allows to assign
a new hotkey.
Brecht Van Lommel [Tue, 28 Jul 2009 16:46:14 +0000 (16:46 +0000)]
2.5: File browser
* Side panels now use list widgets.
* Enabled theme colors for side panel.
* Add button in bookmarks panel.
* Operator panel title now uses operator name.
* For unix, added / to system, and home and desktop to bookmarks.
* For opening fileselect with filter, cleaned up the code a bit,
adding WM_operator_properties_filesel instead of duplicating code.
* Also added filter for all operators calling fileselect, only image
and file open did it before.
* Hide . files by default, and also hide files ending with ~.
* Added back .. (but not .) in the file list, I really missed this.
* File highlight now only happens when you're actually over a file,
instead staying after you move the mouse away.
* Fix some redraw/refresh issues.
Brecht Van Lommel [Tue, 28 Jul 2009 16:33:02 +0000 (16:33 +0000)]
2.5: code cleanup, added CTX_wm_space_* for each space type,
instead of casting everywhere.
Thomas Dinges [Tue, 28 Jul 2009 11:04:08 +0000 (11:04 +0000)]
2.5 Lamp Buttons:
* Some layout tweaks and fixes by nudelZ.
Matt Ebb [Tue, 28 Jul 2009 10:57:36 +0000 (10:57 +0000)]
* copy io scripts into osx bundle with scons, in post-build process
Matt Ebb [Tue, 28 Jul 2009 10:40:08 +0000 (10:40 +0000)]
* copy io scripts into osx bundle with cmake, in post-build process
Campbell Barton [Tue, 28 Jul 2009 08:50:11 +0000 (08:50 +0000)]
console copy text was upside down.
made ctrl+space operator find and autocomplete in the console, need a bette way to make these key bindings co-exist.
Joshua Leung [Tue, 28 Jul 2009 07:24:25 +0000 (07:24 +0000)]
NLA: Mute/Disable NLA Playback
Exposed toggles (defined on AnimData) that will mute the evaluation of that AnimData block's NLA stack. It's active action will then be the only thing that gets evaluated.
Joshua Leung [Tue, 28 Jul 2009 06:50:30 +0000 (06:50 +0000)]
2.5 - Anim Editor cleanups + Graph Editor Clutter Reduction
* Cleaned up some parts of the code that were unused/could be done a bit nicer
* Added a new option for only showing the keyframes of the selected F-Curves in the Graph Editor, as another way of reducing the clutter.
Thomas Dinges [Tue, 28 Jul 2009 06:26:10 +0000 (06:26 +0000)]
2.5 Part 2 of Layout Code Cleanup:
* Cleanup of Modifier and Text Data Panels.
* Made some small layout tweaks.
* Added missing RNA properties for Cast Modifier.
Campbell Barton [Tue, 28 Jul 2009 06:12:58 +0000 (06:12 +0000)]
wrote images with the wrong extension (still ran), but is confusing.
Campbell Barton [Tue, 28 Jul 2009 05:51:38 +0000 (05:51 +0000)]
simple povray render integration.
Supports...
- camera/lamp/mesh object types
- meshes with modifiers applied, normals/uv/vertex colors
- materials, reflection, transparency
- spot/area/point lamps, samples, raytrace options
- scene render size, AA setting
Details...
- Doesn't need any 3rd party modules.
- Runs povray from the subprocess module, updating the image from a TARGA.
- Currently no UI panels or support for custom settings.
This could be used as an example for other scripts.
Thomas Dinges [Tue, 28 Jul 2009 05:26:01 +0000 (05:26 +0000)]
2.5 Lamp Buttons:
* Layout Fix for shadow panel.
Joshua Leung [Tue, 28 Jul 2009 03:54:40 +0000 (03:54 +0000)]
2.5 - Start of Make Proxy Operator
The code has been ported to the operator+rna system, however, there are currently issues related to how the pointer-rna's work for use as operator properties. (NOTE: RNA_property_pointer_set only takes into account builtin props for now, but not id-props, while the corresponding get method seems to take them into account)
The alternative to using pointer-properties for the operator, is to store strings and look up the relevant objects later, but there should be a nicer way...
Campbell Barton [Tue, 28 Jul 2009 01:06:56 +0000 (01:06 +0000)]
- lamp UI was missing y samples for rectangle area lamps
- returned ID types from RNA funcs didnt get their ID's assigned which crashed in some cases (still not working for members of ID types).
- ob.create_remder_mesh() wasnt assigning any materials.
Campbell Barton [Mon, 27 Jul 2009 22:41:35 +0000 (22:41 +0000)]
better loading partially written TARGA's, dont read over the end of the buffer and set the remaining pixels 0.
Matt Ebb [Mon, 27 Jul 2009 22:15:17 +0000 (22:15 +0000)]
* scons changes for mac osx intel / precompiled python 3.1
Feedback (especially on < 10.5) would be most appreciated!
Matt Ebb [Mon, 27 Jul 2009 22:02:47 +0000 (22:02 +0000)]
* cmake / mac - unzip python modules from /lib/release into .blender/python on build
This last commit should make everything right for compiling out of the box with python 3.1 on Mac OS X intel. I've been testing/developing this on 10.5 and I'd be very interested to hear feedback from people on other OS versions! Scons and PPC to go...
Thomas Dinges [Mon, 27 Jul 2009 20:39:10 +0000 (20:39 +0000)]
2.5 Part 1 of Layout Code Cleanup:
* Again, some layout code cleaning.
* Made assignments more consistent.
I started to write code guidelines in the wiki:
http://wiki.blender.org/index.php/LayoutFiles-Code_Guidelines
Matt/William: You are welcome to change them or add new infos, I will continue on improving them as well in the next few days.
Shaul Kedem [Mon, 27 Jul 2009 19:33:06 +0000 (19:33 +0000)]
small msvc fix
Andrea Weikert [Mon, 27 Jul 2009 19:06:33 +0000 (19:06 +0000)]
2.5 file browser
New:
* added filter and display to some operator properties. Now file browser opens showing only .blend files and folders on file->open and on image->open changes to image display and only shows images and movies.
Fixes:
* fixed stupid removal of wrong prototype in last commit
* fixed a few warnings
Campbell Barton [Mon, 27 Jul 2009 18:50:10 +0000 (18:50 +0000)]
render api utility function to initialize a render layer from an image rather then loading through python.
lay = result.layers[0]
lay.rect_from_file("somefile.png", part.x, part.y)
If the source image is bigger then the render layer x/y offsets can be used to choose the part of the image use.
Elia Sarti [Mon, 27 Jul 2009 18:26:48 +0000 (18:26 +0000)]
2.5 / Drag & Drop
Small tweak for MOUSEDRAG/DROP event generation
Campbell Barton [Mon, 27 Jul 2009 18:17:21 +0000 (18:17 +0000)]
readonly face normal option eg.
me.faces[0].normal
Andrea Weikert [Sun, 26 Jul 2009 19:23:07 +0000 (19:23 +0000)]
2.5 file browser
* fix some notifiers, so directory is correctly shown
Campbell Barton [Sun, 26 Jul 2009 18:56:27 +0000 (18:56 +0000)]
indentation error with some operators (strip the descriptions)
if 0'd the exec() workaround for running python scripts incase windows devs want to test.
theeth said the problem is when you compile a debug blender against a non debug python (or the ther way I assume), you can get a FILE struct mismatch.
A quick way to test this on windows is to run this from the command line.
blender -P somescript.py
Somescript.py can be anything
Andrea Weikert [Sun, 26 Jul 2009 18:52:27 +0000 (18:52 +0000)]
2.5 file browser
* operator for create new directory activated (IKEY)
* operator for rename (works on files and directories so far) (CTRL+LMB)
Note: fail to rename is rather quiet, no message popup, just doesn't rename if it can't.
So far checked that (On Windows Vista) rename fails on system directories, which I think acceptable.
Note: I removed the code that (silently) deletes file if I rename file to an existing one. Considered harmful :)
Campbell Barton [Sun, 26 Jul 2009 18:18:14 +0000 (18:18 +0000)]
misc py/rna changes
- running a script from a file now uses the PyRun_File(FILE *, ...) rather then PyRun_String("exec(open(r'/somepath.py').read())"...), aparently FILE struct on windows could not ensured to be the same between blender and python, since we use our own python on windows now it should be ok.
- generating docs works again (operator update for py style syntax broke them)
- python operator doc strings was being overwritten
- added rna property attribute "default" to get the default value of a property, not working on arrays currently because variable length arrays are not supported.
Thomas Dinges [Sun, 26 Jul 2009 16:31:48 +0000 (16:31 +0000)]
2.5 Layout files:
* Removed __idname__ from all panels.
Note: Operator classes still need that id. Don't remove it there.
Thomas Dinges [Sun, 26 Jul 2009 13:10:29 +0000 (13:10 +0000)]
2.5 Space RNA:
* Added Key Map Editor to Outliner "display_mode" RNA.
Ton Roosendaal [Sun, 26 Jul 2009 12:52:39 +0000 (12:52 +0000)]
2.5
First step towards keymap editor!
Before getting too excited:
- doesn't save yet
- no rna properties can be defined
- no insert/remove keymap options yet
- no option yet to set 'key press/release'
But what does work;
- Keymap list is in outliner, new category
(Keymaps are listed in order as being created now)
- enable/disable a keymap entry: click on dot icon
- it displays python api names for ops
- browse new operator for keymap (menu button)
- set keymap to use other keys, mouse or tweak events
- four modifier key options
I first intent to test it all well, there are still
quite some modal map conflicts (like border select) and
there's problems assigning items to tweaks
Another issue is that a visual editor for keymaps might be
quite hard to use... the amount of data and options is just not
so fun for a buttons menu. There are ways to improve this though.
Maybe do this via a script?
Andrea Weikert [Sun, 26 Jul 2009 12:49:43 +0000 (12:49 +0000)]
2.5 file browser
* enable large file size for WIN64 too.
Andrea Weikert [Sun, 26 Jul 2009 12:40:44 +0000 (12:40 +0000)]
2.5 filebrowser
Bugfixes:
* crash when loading file that has filebrowser open
* file size over 2GB/4GB? shows negative number
Other:
* tried to improve drawing speed a bit by only drawing the files actually shown and improving refresh behaviour a bit.
Note: Solution I found so far is to use the non-standard _stat64, as far as I could see, WIN64 should work without that patch (Genscher, please check and if needed you can enable this too by removing the !defined(WIN64) )
This probably needs to be fixed in at least one other place (BLI_filesize), will look into this once this fix proves stable enough)
Joshua Leung [Sun, 26 Jul 2009 11:57:27 +0000 (11:57 +0000)]
2.5 - 'Reset' buttons for Limit Distance and Stretch To Constraints
Joshua Leung [Sun, 26 Jul 2009 11:01:56 +0000 (11:01 +0000)]
2.5 - More armature/bone operator tweaks
* Restored quick operators for moving bones between layers and switching visible armature layers. The popup used here (based on the layers template) is not optimal yet - you can click on multiple layer buttons to enable/disable them, but you need to move your mouse outside the area for it to confirm.
* Separate armatures works again. I've tweaked the arguments to ED_object_duplicate() to make this work (besides, the other users of this wouldn't have been affected).
* Added some missing special (transform) operators to the menus + keymaps
Andrea Weikert [Sun, 26 Jul 2009 09:35:40 +0000 (09:35 +0000)]
blender 2.5 MSVC9 projectfiles
fix renamed rna_vpaint.c -> rna_sculpt_paint.c
Thomas Dinges [Sun, 26 Jul 2009 08:53:23 +0000 (08:53 +0000)]
2.5 Various fixes:
* Small code and layout cleanup in 3DView Side Panels.
* Added missing redraw notifier for changing world datablock and cursor location.
Campbell Barton [Sun, 26 Jul 2009 04:31:46 +0000 (04:31 +0000)]
- console scrollback userpref
- copy coperator for the console (Ctrl+C and from the menu)
Campbell Barton [Sun, 26 Jul 2009 03:54:17 +0000 (03:54 +0000)]
* projection paint options in the toolbar
* renamed __no_header__ -> __show_header__
Joshua Leung [Sun, 26 Jul 2009 03:22:24 +0000 (03:22 +0000)]
2.5 - Restoring 'set bone setting' operators for Armatures/PoseMode
In the future, it might be a good idea to look for more efficient alternatives...
Campbell Barton [Sat, 25 Jul 2009 23:16:45 +0000 (23:16 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r21899:21908
Campbell Barton [Sat, 25 Jul 2009 22:57:29 +0000 (22:57 +0000)]
BGE Physics
Add support back for reinstancePhysics mesh, a frequently requested feature in the BGE forums.
from what I can tell Sumo supported this but bullet never did.
Currently only accessible via python at the moment.
- rigid body, dynamic, static types work.
- instanced physics meshes are modified too.
- compound shapes are not supported.
Physics mesh can be re-instanced from...
* shape keys & armature deformations
* subsurf (any other modifiers too)
* RAS_TexVert's (can be modified from python)
Moved the reinstancePhysicsMesh functions from RAS_MeshObject into KX_GameObject since the physics data is stored here.
video and blend file demo.
http://www.graphicall.org/ftp/ideasman42/reinstance.ogv
http://www.graphicall.org/ftp/ideasman42/reinstance_demo.blend
Brecht Van Lommel [Sat, 25 Jul 2009 22:31:02 +0000 (22:31 +0000)]
2.5: Painting
Various fixes for painting, sculpting and particle edit, still
much to be done...
* Move RNA paint and sculpt structs into rna_sculpt_paint.c,
* Added Particle Edit RNA.
* Some tweaks to existing Paint RNA.
* Put texture paint and particle edit object in context.
* Fix some errors in the brush layout, properly doing None
checks, fixing some wrong property identifiers.
* Added tool enum for texture paint and particle edit in panels.
* Allow editing brush textures in the texture buttons, still with
a stupid toggle, ideas for how to make the connection better are
welcome.
Brecht Van Lommel [Sat, 25 Jul 2009 22:22:47 +0000 (22:22 +0000)]
2.5: fix for use background image toggle in 3d view, it didn't
allocate the right data.
Brecht Van Lommel [Sat, 25 Jul 2009 22:20:26 +0000 (22:20 +0000)]
2.5:
* Fix crash entering particle mode, and particles not showing.
Janne, please check the changes I made in psys_cache_paths,
I'm not confident they are correct.
* Fix some warnings
Thomas Dinges [Sat, 25 Jul 2009 21:33:43 +0000 (21:33 +0000)]
2.5:
* Fixed a typo in User preferences.
* Add a use_ prefix for some projection paint booleans in RNA.
Brecht Van Lommel [Sat, 25 Jul 2009 21:31:17 +0000 (21:31 +0000)]
2.5: Materials
* Diffuse/specular ramps works again.
* Wire is now a material type next to Surface and Halo.
* Removed Volume material type option until it is actually there.
* Some button layout tweaks.
Campbell Barton [Sat, 25 Jul 2009 20:59:09 +0000 (20:59 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r20937:21899
missing commits from peter 20942, 21165, 21170, 21174, 21597
these files still need manual merging
source/blender/makesdna/DNA_sequence_types.h
source/blender/src/sequence.c
source/blender/src/seqeffects.c
source/blender/src/editseq.c
source/blender/include/BSE_sequence.h
Campbell Barton [Sat, 25 Jul 2009 20:51:45 +0000 (20:51 +0000)]
fix memleak in BGE py api - action.channelNames
Daniel Genrich [Sat, 25 Jul 2009 20:16:56 +0000 (20:16 +0000)]
Windows: fixing user preference window opening full screen
Thomas Dinges [Sat, 25 Jul 2009 19:59:18 +0000 (19:59 +0000)]
2.5: Object Buttons File:
* Renamed the file for consistency.
Campbell Barton [Sat, 25 Jul 2009 19:34:38 +0000 (19:34 +0000)]
- BGE Python API converting a mesh from a python arg was broken but happened to work if the uninitialized pointer was not NULL.
- iris.c - looks like a copy/paste error, was using rect where it could not have been initialized.
Elia Sarti [Sat, 25 Jul 2009 19:10:24 +0000 (19:10 +0000)]
2.5 / RNA
Added RNA_pointer_set as counterpart for RNA_pointer_get (i.e. sets pointer property by name lookup)
Elia Sarti [Sat, 25 Jul 2009 15:26:06 +0000 (15:26 +0000)]
2.5 / Drag & Drop
Commit of basic architecture. Sorry, nothing fun to play with yet.
Added two events: MOUSEDRAG and MOUSEDROP. MOUSEDRAG is sent when left-mouse clicking and then moving the cursor and every time the cursor is moved until the user releases the mouse button, thus generating a MOUSEDROP.
Also added two dummy drag operators in view3d and outliner (place holders for now).
Brecht and Ton: feel free to check/edit especially the event system code. I'm not sure that's the right way to do it. Also, I'm getting some mem leaks which I suspect are caused by my code.
Ton Roosendaal [Sat, 25 Jul 2009 15:05:51 +0000 (15:05 +0000)]
2.5
Fix in previous commit:
Outliner data view, rna levels didn't open/close correctly.
Thomas Dinges [Sat, 25 Jul 2009 14:35:08 +0000 (14:35 +0000)]
2.5 Scene RNA:
* Added Projection Painting RNA.
Note: The properties doesn't seem to be accessible yet via datablocks. Brecht please check.
Ton Roosendaal [Sat, 25 Jul 2009 13:40:59 +0000 (13:40 +0000)]
2.5
Outliner: brought back to near full functioning:
- proper operators, like for open/close items, exec operations
(note: select is still same operator as activate, should
become modal ops later)
- rename works again (ctrl+click)
- proper notifiers for redraws
- select / extend select works again
- editmode in/out works again
- enter key opens/closes again
- right mouse operations work again
Didn't do:
- options for Sequence strips
- signals to change button views on clicks
- error/warning messages
UI:
- added new uiButSetRenameFunc(), which passes on the old name
- added uiButActiveOnly(), which ensures a button gets created in
active state, and gets removed when used. Needed for editing
names in outliner.
Andrea: check outliner.c for uiButActiveOnly(), very easy to use!
Also:
- Added posemode operator, CTRL+TAB tied to it.
Benoit Bolsee [Sat, 25 Jul 2009 12:35:14 +0000 (12:35 +0000)]
BGE: Fix Keyboard actuator that didn't generate release event.
William Reynish [Sat, 25 Jul 2009 12:22:22 +0000 (12:22 +0000)]
Added Ztransp (renamed Z Buffer) option in rna and layout. Also added diffuse and color ramps, although a bug in the RNA prevents these from working unless you load an old file with them already enabled.
Thomas Dinges [Sat, 25 Jul 2009 10:42:23 +0000 (10:42 +0000)]
2.5 Smooth/Flat Shading:
* Added operators in Toolbar for Object Mode too. (Mesh only).
I think it should be there too, going into edit mode and select all just to change the shading of the whole mesh is not good. ;-)
Joshua Leung [Sat, 25 Jul 2009 05:11:28 +0000 (05:11 +0000)]
2.5 - Restored most of the remaining Armature/Pose Operators
* Armature:
- added: fill, merge, separate
- renamed: duplicate, align
* Pose:
- added: apply pose
* Armature Edit menu has been converted to use operators/layout now
Campbell Barton [Fri, 24 Jul 2009 23:07:18 +0000 (23:07 +0000)]
- report header buttons were not drawing.
- shift+b in the console would do border zoom (rather then upper case B), fixed by making v2d's border zoom check if the v2d's zoom is locked.
- blender in debug mode registers all operators, useful for testing.
Thomas Dinges [Fri, 24 Jul 2009 22:33:09 +0000 (22:33 +0000)]
2.5 3DView View Panel:
* Added Lines option.
* Made some settings use alignment.
Logs: Of course i meant 4-Split in last commit message ;-)
Thomas Dinges [Fri, 24 Jul 2009 22:09:30 +0000 (22:09 +0000)]
2.5 3DView Properties Panel:
* Some Code cleanup.
* Added 3-Split Operator into the panel and some options (which don't work yet)
* Added RNA for RegionView3D lock and box options.
Thomas Dinges [Fri, 24 Jul 2009 21:01:41 +0000 (21:01 +0000)]
2.5 3DView Toolbar:
* Some Code and tiny layout cleanup.
Janne Karhu [Fri, 24 Jul 2009 19:36:08 +0000 (19:36 +0000)]
ParticleSettings animdata wasn't shown in graph editor, dope sheet and nla editor.
Tiny bug fix too: Had forgotten particle child length setting from do_versions so old files with child hair showed all hair with zero length.
Kent Mein [Fri, 24 Jul 2009 17:17:04 +0000 (17:17 +0000)]
This is patch# 19017 16bit SGI image loading
submitted by Albertas Vyšniauskas (thezbyg)
Improves SGI image support.
Kent
Brecht Van Lommel [Fri, 24 Jul 2009 16:41:12 +0000 (16:41 +0000)]
2.5: Various Fixes
* Fix crash loading particle AnimData. This crashed many BBB
files. If you have a .blend file that crashes when loading
it in 2.5, please mail me, I'd like to know.
* Image window zoom ratio did not work correct with py 2.x.
* Other minor fixes for image window RNA.
* Buttons window now remembers the tab that was last clicked
by the user, even if that tab is no longer available due
to context, and then enable the tab again if the context
for it is back.
* Cleaned up buttons space DNA a bit, removing unused vars.
* Armature bone rename outside edit mode did not call right
function yet.
* Armature layers are now editable even if lib linked. This
is useful for proxies. For this purpose a PROP_LIB_EXCEPTION
flag was added. Need to think over proxy / RNA a bit though,
not sure what the requirements are yet.
* Parent to Armature Deform now has options to create vertex
groups, instead of always creating them.
William Reynish [Fri, 24 Jul 2009 14:30:40 +0000 (14:30 +0000)]
Resized the preferences window to 800 px. This makes proper space for the header button text. Merged File Paths and Autosave preference tabs to one 'File' item. This makes the number of items inside the tabs more even and makes text in the tabs easier to read when the window is narrower.
Also added weight paint ramp.
Joshua Leung [Fri, 24 Jul 2009 13:41:57 +0000 (13:41 +0000)]
Buttons for next/prev keyframes in timeline now work again
Joshua Leung [Fri, 24 Jul 2009 13:34:45 +0000 (13:34 +0000)]
2.5 - Adding Jump to Next/Prev Keyframe Operator
This is implemented at the Screen-level, and only considers scene and active-object keyframes (like the timeline).
TODO:
* Need to update the timeline header buttons to use this operator. One limitation is that I can't get the buttons there to take an arg...
William Reynish [Fri, 24 Jul 2009 13:25:39 +0000 (13:25 +0000)]
tiny change to menu header text. It was almost identical with the menu items themselves, making it impossible to tell them apart.
Ton Roosendaal [Fri, 24 Jul 2009 13:17:40 +0000 (13:17 +0000)]
2.5
Temp window now clips correctly on left side.
Also increased top offset for OSX to show window header.
Joshua Leung [Fri, 24 Jul 2009 13:02:16 +0000 (13:02 +0000)]
2.5 - Restored 'AutoSide Name' and 'Flip Names' operators for both PoseMode and Edit Mode (Armatures).
Only the PoseMode menus work for now (since these use operators)
Ton Roosendaal [Fri, 24 Jul 2009 12:45:25 +0000 (12:45 +0000)]
2.5
Related to previous commit:
- new file menu option "user prefs"
- removed 'save user pref' confirmation menu
Ton Roosendaal [Fri, 24 Jul 2009 12:43:59 +0000 (12:43 +0000)]
2.5
New feature: allowing to open temporarily windows for output.
Implemented for:
- Render output (use output menu "new window" option).
- User Preferences (alt+U, plus added in 'File' menu)
Currently the window opens where your mouse is. The Render window
works as usual, with ESC or F11 moving it to back or front again.
That allows the window position to remain where you moved it on
new renders.
If you close a render window when it renders, the render thread
will be killed.
User prefs show 'info window' now... i thought we'd use outliner?
Anyhoo, I've made the 'save settings' to close the 2nd window as
well.
Opening a secondary file window for save I'll check on later,
this has to be checked with the current event system still.
the WM_window_open_temp() api call for this maintains currently
a *single* temp window. If you have a render window open, and call
for the preferences, the render window will be used for it. And
the other way around.
On closing the blender window, the temp windows close automatically
when there's no regular window open, and blender quits.
Joshua Leung [Fri, 24 Jul 2009 12:27:42 +0000 (12:27 +0000)]
2.5 - Restored Bone Paths Operators
* A number-counter cursor is now used while sampling the curve
* Fixed some of the drawing errors with the paths. Unfortunately, when the armature is rotated, the path text is drawn in the wrong places still...
William Reynish [Fri, 24 Jul 2009 11:48:45 +0000 (11:48 +0000)]
UI
Added cursor location to the view panel in 3D view.
Removed the Shade Smooth/Flat buttons from mesh data for two reasons:
These kinds of tools are more appropriate in the tools area, and the context would not always match the selected datablock, if you have multiple objects selected, or if you're viewing the mesh data tab in 'pinned' mode.
The shade smooth/flat buttons are in the edit mode tools area now.
Joshua Leung [Fri, 24 Jul 2009 11:24:00 +0000 (11:24 +0000)]
RNA Wrapping Fixes:
* Changed update callbacks for several armature properties to do proper depsgraph flushing instead of sending redraw notifiers
* Wrapped preview-range settings for Scene
* Fixed bug with 'parent-type' enum menu for Object parent-type. The problem here was that PARSKEL was used and is still used for both Armatures and Lattices, but the lattice entry would always override armatures entry. Now, when dynamically building the list to display, the function to add these is given the specific item to use, and has been made to stop after the first match has been added. Hopefully this doesn't break anything else...
William Reynish [Fri, 24 Jul 2009 11:14:59 +0000 (11:14 +0000)]
Toolbar
Improved the brush tools UI and added a bunch of brush controls. There seems to be some RNA magic missing for texture paint to work, so that's empty for now. Added tablet pressure buttons, which needs a new icon.
Added a bunch of tools in a categorized fashion for all edit modes. Need to figure out what to do for vert/edge/face specific tools - perhaps it could detect the mode setting and show most appropriate tools for each mode.
Joshua Leung [Fri, 24 Jul 2009 08:05:56 +0000 (08:05 +0000)]
2.5 - Timeline window now displays keyframe lines again
* Keyframes for scene-linked animdata is drawn first (if 'Only Selected Data Keys' is off)
* Keyframes are also drawn for the active object