William Reynish [Thu, 30 Jul 2009 18:32:20 +0000 (18:32 +0000)]
Separated metaball size values, and hid inapplicable values depending on metaball type.
Stefan Gartner [Thu, 30 Jul 2009 18:19:46 +0000 (18:19 +0000)]
2.5:
first step at adding Makefiles for smoke
NOTE: someone needs to add $(NAN_SMOKE)/lib/$(DEBUG_DIR)/libsmoke.a
to source/Makefile to make it link
Thomas Dinges [Thu, 30 Jul 2009 16:38:00 +0000 (16:38 +0000)]
2.5 Smoke:
* Put Smoke Modifier in the right alphabetical order in RNA and py file.
* Some small naming changes.
Commit approved by Genscher. :)
Daniel Genrich [Thu, 30 Jul 2009 15:25:56 +0000 (15:25 +0000)]
Smoke: forgot cmake file
Daniel Genrich [Thu, 30 Jul 2009 15:17:41 +0000 (15:17 +0000)]
Blender Smoke credits:
Wavelet Turbulence for Fluid Simulation
Copyright 2008 Theodore Kim and Nils Thuerey
Paper + Website: http://www.cs.cornell.edu/~tedkim/WTURB/
Daniel Genrich [Thu, 30 Jul 2009 15:07:44 +0000 (15:07 +0000)]
smoke: another fftw3 error fixed
Daniel Genrich [Thu, 30 Jul 2009 15:03:00 +0000 (15:03 +0000)]
smoke: forgot to disable fftw3 noise function
Daniel Genrich [Thu, 30 Jul 2009 15:00:26 +0000 (15:00 +0000)]
BF2.5: First commit of smoke code.
Not working:
a) rendering (since volumterics branch is not merged yet)
b) moving collision objects of any kind
c) saving of collision objects (because that's what I am working on)
d) pointcache
e) A bunch of other things I already know of
So please do not report any bugs on this one yet :-)
Matt Ebb [Thu, 30 Jul 2009 13:56:39 +0000 (13:56 +0000)]
* More lamp tweaks, meant to commit this last night
Matt Ebb [Thu, 30 Jul 2009 13:35:32 +0000 (13:35 +0000)]
* Some nicer icons for the render still/ animation buttons
Campbell Barton [Thu, 30 Jul 2009 11:05:45 +0000 (11:05 +0000)]
Support for povray radiosity settings, adjust in scene panel.
Thomas Dinges [Thu, 30 Jul 2009 10:38:46 +0000 (10:38 +0000)]
2.5 Buttons:
* Material buttons didn't import. Fixed.
* Removed Path label from Fluid panels.
Joshua Leung [Thu, 30 Jul 2009 10:33:27 +0000 (10:33 +0000)]
2.5 - Tiny tweak to a tiny tweak for text padding (22039)
The second tweak made (for the case without an icon) was causing superfluous spacing all over the UI for things like checkboxes + combo-boxes + text widgets. This was quite ugly and gave readability issues with the checkboxes in particular.
Thomas Dinges [Thu, 30 Jul 2009 10:11:19 +0000 (10:11 +0000)]
2.5 Part 3 of Layout Code Cleanup:
* More cleanup to match new coding guidelines.
http://wiki.blender.org/index.php/Dev:Py/Blender2.5/Layouts/Guidelines
* Replaced some if's with proper elif's.
* Removed some unnecessary code.
Note: Please don't use inconsistent assign names like colsub, subcol1 etc. anymore!
William Reynish [Thu, 30 Jul 2009 08:30:57 +0000 (08:30 +0000)]
World UI
Cleaned up AO influence controls. These buttons had no labels, and were aligned strangely. Also made mist intensity a slider, since it's a percentage.
Campbell Barton [Thu, 30 Jul 2009 08:10:10 +0000 (08:10 +0000)]
Engine specific panel's
- All of this is in python and easy to change.
- each panel class has a set() of compatible engines.
- this set is checked for the poll function
- external engines can add themselves to this panels compatible engines
eg.
buttons_world.WORLD_PT_mist.COMPAT_ENGINES.add('POVRAY_RENDER')
I tried doing this by subclassing each panel and replacing only the poll function to reference 'POVRAY_RENDER' but it became fairly complicated and meant registering many of the same panels under different names.
Added mist support to povray.
Matt Ebb [Thu, 30 Jul 2009 03:26:33 +0000 (03:26 +0000)]
* tiny tweak to icon/text padding in list ui templates
Campbell Barton [Thu, 30 Jul 2009 01:52:00 +0000 (01:52 +0000)]
Operator Copy/Paste
you can copy operator strings from buttons or the reporting interface and run them in the console.
- Ctrl+C over an operator button copies its python string to the clipboard.
- Paste in the console (1 line only for now).
- operators run from python no longer require all arguments.
Martin Poirier [Thu, 30 Jul 2009 01:39:42 +0000 (01:39 +0000)]
Move some sketching base code in kernel.
Other code will eventually move out of armature editor (to help reuse).
This solves the issue reported by Cambo on the ml about kernel code calling editor functions.
Campbell Barton [Thu, 30 Jul 2009 00:46:48 +0000 (00:46 +0000)]
switched file and dir by mistake
Campbell Barton [Wed, 29 Jul 2009 23:48:06 +0000 (23:48 +0000)]
better blender doesnt look idiot for siggraph with tips wider then the screen.
only show operator args in the tooltip that are different from the defaults.
Brecht Van Lommel [Wed, 29 Jul 2009 23:21:57 +0000 (23:21 +0000)]
2.5: update .B.blend, to have 1:1 zoom levels for the buttons.
Campbell Barton [Wed, 29 Jul 2009 23:18:18 +0000 (23:18 +0000)]
error in last comit
Campbell Barton [Wed, 29 Jul 2009 23:12:30 +0000 (23:12 +0000)]
- include operator commands in tooltips (needs sanitizing for transform operators, there are massive :|)
- WM_operator_pystring can now be used with an operator type and properties (rather then a wmOperator instance)
- removed menus from file selector
Brecht Van Lommel [Wed, 29 Jul 2009 22:57:53 +0000 (22:57 +0000)]
2.5: Buttons View
* When resizing the window, the top position is now preserved,
instead of the center position.
* Fix zoom level not being preserved in various cases, when
changing both with and height. This replaces some earlier code
which did this at screen level but wasn't very reliable.
* Different tabs now each preserve their own scroll.
* When switching between tabs, it now scrolls to show as many
buttons as possible, instead of possibly showing empty space.
There is a trade-off here between doing that keeping the
buttons in the same place, no ideal solution exists I think.
* Change zooming in/out to be symmetric, for example doing
numpad + then - did not give the original zoom level back.
* Added some calls to avoid hanging tooltips when manipulating
the view.
Internals:
* Added V2D_KEEPOFS_X and V2D_KEEPOFS_Y to keep the top/bottom
rather than the center.
* Renamed V2D_KEEPZOOM to V2D_LIMITZOOM (seems more appropriate),
and make V2D_KEEPZOOM preserve the zoom level.
Guillermo S. Romero [Wed, 29 Jul 2009 22:37:33 +0000 (22:37 +0000)]
Only show ~/Desktop/ if really exists.
Brecht Van Lommel [Wed, 29 Jul 2009 21:35:03 +0000 (21:35 +0000)]
2.5: File Browser on Unix
* Attempt to better filter file systems, it displayed all kinds
of devices which are not interesting to the user. The trick
used is now to use mounts starting with "/dev".
* Add / at the end to properly highlight directories in the list.
* Fix for non-linux unixes, this now falls back to showing / again.
William Reynish [Wed, 29 Jul 2009 20:56:22 +0000 (20:56 +0000)]
Even more metaball layout changes.
Added icons in menu, moved type setting at top of panel. Need to make the size widgets only show the relevant options.
Elia Sarti [Wed, 29 Jul 2009 20:51:05 +0000 (20:51 +0000)]
2.5 / Drag & Drop
Removed all related code. Talked with Ton about this and agreed to postpone it at indefinite time in the future, when things get more relaxed.
Files saved since my first commit should not break although I'm not 100% sure.
Thomas Dinges [Wed, 29 Jul 2009 18:44:54 +0000 (18:44 +0000)]
2.5 MetaBalls:
* Layout tweaks by nudelZ. Thanks!
Ton Roosendaal [Wed, 29 Jul 2009 18:15:46 +0000 (18:15 +0000)]
2.5
Two bugfixes, reported by Sebastian Skejo in IRC:
- File operator poll wasn't secure, search for it crashed
- Knife tool depends on having view3d context, fixed poll for it
Ton Roosendaal [Wed, 29 Jul 2009 18:04:35 +0000 (18:04 +0000)]
2.5
On 2nd thought: added back undopushes on every button use.
Operator re-use works with it now!
Ton Roosendaal [Wed, 29 Jul 2009 18:03:25 +0000 (18:03 +0000)]
2.5
Makefile fix: added metaball.a lib
Ton Roosendaal [Wed, 29 Jul 2009 17:56:38 +0000 (17:56 +0000)]
2.5
Operator goodies!
--- Macro operators
Operators now can consist of multiple operators. Such a macro operator
is identical and behaves identical to other opererators. Macros can
also be constructed of macros even! Currently only hardcoded macros are
implemented, this to solve combined operators such as 'add duplicate' or
'extrude' (both want a transform appended).
Usage is simple:
- WM_operatortype_append_macro() : add new operatortype, name, flags
- WM_operatortype_macro_define() : add existing operator to macro
(Note: macro_define will also allow properties to be set, doesnt work
right now)
On converting the macro wmOperatorType to a real operator, it makes a
list of all operators, and the standard macro callbacks (exec, invoke,
modal, poll) just will use all.
Important note; switching to a modal operator only works as last in the
chain now!
Macros implemented for duplicate, extrude and rip. Tool menu works fine
for it, also the redo hotkey F4 works properly.
--- Operator redo fix
The operators use the undo system to switch back, but this could give
errors if other actions added undo pushes (buttons, outliner). Now the
redo for operator searches back for the correct undo level.
This fixes issues with many redos.
Note for brecht: removed the ED_undo_push for buttons... it was called
on *every* button now, which is probably too much? For example, using
the 'toolbar' redo also caused this...
Thomas Dinges [Wed, 29 Jul 2009 17:15:17 +0000 (17:15 +0000)]
2.5 MetaBall Buttons:
* Code and layout cleanup.
Matt Ebb [Wed, 29 Jul 2009 14:17:15 +0000 (14:17 +0000)]
* a few more small lamp panels tweaks
Jiri Hnidek [Wed, 29 Jul 2009 14:07:51 +0000 (14:07 +0000)]
- Fix some things I missed in my last commit
- Change name of OBJECT_OT_object_add operator
- Use new OBJECT_OT_object_add operator in space_info.py
Matt Ebb [Wed, 29 Jul 2009 13:33:14 +0000 (13:33 +0000)]
* Reverted some superfluous button alignment. The
'Align' should not be overused, it gets quite ugly (and
loses communication impact) when used between
buttons of different types. Dependencies should be
shown via layout and greying out.
These lamp panels still needs some cleaning up too...
Jiri Hnidek [Wed, 29 Jul 2009 12:35:09 +0000 (12:35 +0000)]
2.5 MetaBalls
- It is possible to work with MetaBalls in edit mode now
- Added basic UI to the button window (feel free to change it :-))
- Header menus should work
- Undo & redo should work
- Removed global variable editelems and lastelem (moved it to the MetaBall struct)
- All tools from old editmball.c was converted to the operators
- Added lastelem to the RNA
- Experimental: mb->editelems is only pointer at mb->elems or NULL (depends on Mode). ListBase of MetaElems is not duplicated in edit mode.
Tested with scons at Linux and mac OS X
TODO:
- Recalc data after Undo or Redo
- Solve issue with basic MetaBall and Python UI script (only base MetaBall object influence Wiresize and Threshold)
- Fix orientation of manipulator in "Normal mode"
Joshua Leung [Wed, 29 Jul 2009 11:59:21 +0000 (11:59 +0000)]
2.5 - Small tweaks to order of buttons for Animation Editor header buttons to have more consistent layout
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