Andre Susano Pinto [Fri, 29 May 2009 00:54:52 +0000 (00:54 +0000)]
svn merge -r 20133:20486 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender
2.5 trunk has a nice bug fix for rendering
Brecht Van Lommel [Fri, 29 May 2009 00:20:41 +0000 (00:20 +0000)]
2.5: fix crash loading saved file with render result, image user
scene wasn't set to NULL on load. Still doesn't seem entirely safe
but prevents crash here.
Brecht Van Lommel [Thu, 28 May 2009 23:58:18 +0000 (23:58 +0000)]
UI: Matt, check space_outliner.c diff to see how to get python
layouts in a header.
Brecht Van Lommel [Thu, 28 May 2009 23:48:29 +0000 (23:48 +0000)]
2.5: fix text editor issue with scrolling and an invalid memory read.
Brecht Van Lommel [Thu, 28 May 2009 23:45:50 +0000 (23:45 +0000)]
UI:
* Added panels with dummy preview template.
* Added constraints panel for bones next to objects, though it
doesn't work that well yet, the operators and code need to be
changed so they don't assume it is one or the other in/out
of posemode.
* Added some graying out in the scene and world buttons.
Brecht Van Lommel [Thu, 28 May 2009 23:41:12 +0000 (23:41 +0000)]
UI:
* Added a dummy preview render template, to test some layout
engine features on tomorrow.
Brecht Van Lommel [Thu, 28 May 2009 23:37:55 +0000 (23:37 +0000)]
UI:
* Added some properties of uiLayout that can be set. I've added
some API code for more than the two I've implementeds, so
ignore those for now.
* layout.active = False will gray out buttons inside a layout.
* layout.enabled = False will gray out and completely disable
the buttons inside a layout.
* Also some function renames.
Brecht Van Lommel [Thu, 28 May 2009 23:23:47 +0000 (23:23 +0000)]
RNA:
* Automatically do us++ and us-- reference counting in ID pointer
set functions.
* Added an enum property callback to dynamically vary the list of
available items.
* Added some functions to do removes on pointers and collections
runtime defined for RNA and using ID properties.
* Constraints now have owner/target space wrapped, and most
pointers made editable. They can be ported to use python layouts.
* Also other pointers made editable that I think are see now with
the automatic reference counting.
Brecht Van Lommel [Thu, 28 May 2009 23:13:42 +0000 (23:13 +0000)]
Context:
Added a system for adding a "local" context in a UI layout.
This way you can define for example within a modifier panel
all operators to get the modifier in the context.
In the layout code:
uiLayoutSetContextPointer(layout, "modifier", &ptr)
layout.set_context_pointer("modifier", md)
In the operator:
ptr = CTX_data_pointer_get(C, "modifier")
md = context.modifier
Campbell Barton [Thu, 28 May 2009 10:31:56 +0000 (10:31 +0000)]
Needed to cast to a PyObject*
Matt Ebb [Thu, 28 May 2009 05:09:25 +0000 (05:09 +0000)]
* Wrapped outliner space in RNA, and added a python ui file for the header.
Brecht, would you be able to have a look at this if you have time - I can't
figure out how to trigger the python file to register the header instead of
what's in outliner_header.c.
Campbell Barton [Thu, 28 May 2009 02:03:48 +0000 (02:03 +0000)]
rna_define.c, RNA_def_struct - set the py_type to NULL when making an rna struct based on another.
bpy_util.c, PyObSpit - print refcount with PyObject
Joshua Leung [Thu, 28 May 2009 01:57:29 +0000 (01:57 +0000)]
2.5 - Fixes for animating enum values
Interpolation between keyframes for enum values (and booleans) can only be constant now.
TODO:
A way to do this for modifiers is still needed.
Campbell Barton [Wed, 27 May 2009 15:41:44 +0000 (15:41 +0000)]
patch from Andrea Weikert, added some comments.
thanks for looking into this.
Matt Ebb [Wed, 27 May 2009 11:21:34 +0000 (11:21 +0000)]
Reverted last buttons commit after chatting with Thomas :)
note: The new 'Toggle' options in the UI api should be
avoided for normal text buttons, and used sparingly
otherwise. We want to avoid having two inconsistent
appearances for the same type of buttons.
Thomas Dinges [Wed, 27 May 2009 09:37:48 +0000 (09:37 +0000)]
2.5 Buttons:
* Changed some checkboxes into Toggle Buttons.
Joshua Leung [Wed, 27 May 2009 07:28:51 +0000 (07:28 +0000)]
2.5 - Constraint Buttons Layout file
Separated out the code for defining the layout for the constraint targets since its practically the same (with a few minor variations) for all of the other constraints.
Matt Ebb [Wed, 27 May 2009 03:42:51 +0000 (03:42 +0000)]
* Small graphical/gui tweaks to constraint and modifier templates
Brecht Van Lommel [Wed, 27 May 2009 00:03:49 +0000 (00:03 +0000)]
UI:
* Added Constraints template and Add Constraint operator.
* Added toggle=True/False parameter to uiItemR, to get a
toggle button (actual button) rather than an "option"
button (checkbox)
* Added OPTION/OPTIONN button type, to distinguish with
TOG/TOGN.
RNA:
* Make all modifier pointers editable, including correct updates.
* Added notifiers and updates to constraints.
* Fix a stack corruption, pointed out by Andrea, and potentially
causing crashes.
Andrea Weikert [Tue, 26 May 2009 21:34:20 +0000 (21:34 +0000)]
2.5 filebrowser
- some cleanup of ugly conditional.
Andrea Weikert [Tue, 26 May 2009 18:54:39 +0000 (18:54 +0000)]
2.5 MSVC projectfiles update
- file editors/space_image/image_panels.c -> image_buttons.c (renamed)
- file editors/interface/interface_templates.c added
Also added small fix for crash in filebrowser.
Campbell Barton [Tue, 26 May 2009 06:29:15 +0000 (06:29 +0000)]
minor ref-counting changes, means new subclasses will get the correct ref count though there are big problems with this still.
Found that subclassing an RNA struct (without even registering or instancing adds a reference to Py_None).
Unlikely a python bug, tested with py2.6 and 3.1
Matt Ebb [Tue, 26 May 2009 05:12:27 +0000 (05:12 +0000)]
* Tiny cloth panel tweaks
Matt Ebb [Tue, 26 May 2009 05:03:27 +0000 (05:03 +0000)]
* Scene buttons tweaks
* Added 'render stamp' rna & buttons
Matt Ebb [Tue, 26 May 2009 02:49:46 +0000 (02:49 +0000)]
* Small tweaks to texture panels
Thomas Dinges [Mon, 25 May 2009 18:32:28 +0000 (18:32 +0000)]
2.5 Buttons:
* Added initial Cloth Modifer panel.
Enable a Cloth Modifier to see the panels in the physics tab.
Campbell Barton [Mon, 25 May 2009 14:58:10 +0000 (14:58 +0000)]
texture buttons raised py errors when there were no textures on an object
Campbell Barton [Mon, 25 May 2009 13:48:44 +0000 (13:48 +0000)]
Store the context for python in a static variable with assessor functions - BPy_GetContext/BPy_SetContext,
Still not happy with this in the long term but its less problematic then storing the context in pythons namespace which couldn't be set before importing modules.
This might fix a crash quite a few people have reported (but I cant reproduce).
Nicholas Bishop [Sun, 24 May 2009 23:05:27 +0000 (23:05 +0000)]
2.5/Sculpt:
Bugfix for doing a multires subdivision while in sculptmode (forgot to resize projected vertices.)
Ton Roosendaal [Sun, 24 May 2009 13:29:29 +0000 (13:29 +0000)]
2.5
First version of region-scaling. WIP commit, so bear with me a while!
- All fixed sized regions have a small 'drag' widget, on the left or top.
(not yet for free-sized regions, like 4-split).
- Mouse-over on widget changes cursor and allows drag.
- Click on widget hides/reveals.
- Fun for test; 3d view header, if high enough, draws more rows of
buttons when width is too small.
The WIP stuff;
- It doesn't save yet in files, using the "minsize" variable of region
definitions, also means other similar areas show same sizes now.
- Definitions for pref size, min/max will be added.
- Properties panel in Fcurve window draws widget on wrong place when
hidden (subdiv system needs tweak)
- Widgets don't draw perfect yet, also needs further tweaks.
But, in general it's quite fun and usable. :) Many variatians are possible,
like for real tabs, or little icons, or just click-drag on edge.
The reason to first try the widget/tab variation:
- it re-uses the "Area Action Zone" code, widgets for layouting Screens
- it's visible, hotkey-only options for screen layouts are not preferred.
- distinguish clearly area-edges from region-edges this way. Having the
cursor change shape on every edge (and block input) is probably annoying
too... but that can be tested.
Later more!
Thomas Dinges [Sun, 24 May 2009 12:37:55 +0000 (12:37 +0000)]
2.5 Buttons Code:
* Code Cleanup.
* Tiny layout changes.
* Added proper context for bone, curve, mesh and text objects.
* Fixed Sun/Sky context.
Thomas Dinges [Sat, 23 May 2009 11:19:18 +0000 (11:19 +0000)]
2.5 Buttons:
* Some Modifier layout cleanup.
* For fun: Added icons to the Render Buttons.
* small RNA Typo's
Matt Ebb [Sat, 23 May 2009 07:19:31 +0000 (07:19 +0000)]
* Updated a whole swag of excellent new icons by jendryzch.
This includes a bunch of new object primitive icons
which would be great to get into the 'add object' menus,
they're not there yet. The specific lamp data type icons
are now used in the outliner though, which is very helpful.
Nicholas Bishop [Sat, 23 May 2009 07:12:55 +0000 (07:12 +0000)]
Multires/2.5:
Added subdivide operator and button for multires.
Since this seems to be the only modifier with an operator defined, I'm not sure if I put it in a good place or not, someone can check on this?
Ton Roosendaal [Fri, 22 May 2009 15:02:32 +0000 (15:02 +0000)]
2.5
- Added new popup menu type, which can be used to pass on a
running operator too. Needed it for debug menu, allowing to
set variables outside of operator "first do then tweak" system. :)
void uiPupBlockOperator()
Don't forget to tell invoke() return that operator now runs modal!
- Test menu: alt+ctrl+d gives the G.rt debug value.
Values of 0-16 now can be used to shrink areas, stuff like this
then happens (rt==4):
http://download.blender.org/institute/rt5.jpg
Was looking at ways to visually distinguish areas and regions
better. Yes I know, cute rounded corners, etc. Just testing!
Thomas Dinges [Fri, 22 May 2009 12:07:03 +0000 (12:07 +0000)]
2.5 Buttons:
* Added initial Texture Buttons by William Reynish. Thanks!
Note: I did some code cleanup and fixes to the code.
* Texture RNA fixes.
Ton Roosendaal [Fri, 22 May 2009 09:09:07 +0000 (09:09 +0000)]
2.5
Fix in sliders; didn't notice the left part messed up :)
Another slider draw method to explore would be like this:
(<| -------- |>)
Would make it symmetrical, and visually matching number
buttons better. (the "<" is background color triangle,
without circle around it).
Thomas Dinges [Fri, 22 May 2009 07:41:36 +0000 (07:41 +0000)]
2.5 Buttons Modifier:
* Forgot to initialize the fluid function.
Thomas Dinges [Fri, 22 May 2009 07:02:09 +0000 (07:02 +0000)]
2.5 RNA:
* Added missing Subdivision Type Notifier.
Thomas Dinges [Thu, 21 May 2009 21:23:36 +0000 (21:23 +0000)]
2.5 Buttons Modifier:
* Converted all modifier to python layout engine. Needs a layout cleanup still.
* Removed corresponding C code (brecht: please check)
* 2 RNA Modifier fixes
* Added initial Mesh panel by William Reynish.
Ton Roosendaal [Thu, 21 May 2009 17:41:13 +0000 (17:41 +0000)]
2.5
Simple UI script fix, wanted to check... works all nice. :)
For ui scripters: keep track of alignment flags!
("Border" button was aligned with above button)
Ton Roosendaal [Thu, 21 May 2009 17:13:50 +0000 (17:13 +0000)]
2.5
Bugfix: In full-area screen mode, you cannot split windows again, the
full-area code is too primitive for that. Just disabled now.
(reported by Venom's Lab!)
Ton Roosendaal [Thu, 21 May 2009 17:09:06 +0000 (17:09 +0000)]
2.5
Interface draw fixes:
- Red cursor for text edit widget was in wrong location
- Selection for text edit widget too
- Number slider text edit was too far too the left
- Number slider 'fill' was drawing outside boundaries.
(Matt: note I just interpolated rounding value :)
Brecht Van Lommel [Thu, 21 May 2009 15:36:16 +0000 (15:36 +0000)]
2.5: warning fixes.
Brecht Van Lommel [Thu, 21 May 2009 15:34:09 +0000 (15:34 +0000)]
2.5 UI: Modifier Template
* template_modifier creates the modifier box, and returns a layout
to put the buttons in.
* Only the armature modifier is now done with python code, all other
modifiers use C code. To convert a modifier to python, remove the
corresponding C code and create a function in DATA_PT_modifiers.
* Some modifiers still require some RNA work to get it working well,
especially to make pointers editable. Mostly that is a matter of
defining an own _set callback and put some of the modifier C code
into it.
* Still various buttons that don't work, like for hooks or mesh
deform binding.
* Fix for crashing decimate modifier (still disabled).
* Removed UI_BUT_NO_HILITE, HMENU.
* Make uiLayoutBox work with align.
Matt Ebb [Thu, 21 May 2009 13:39:47 +0000 (13:39 +0000)]
* Updated the Mac OS X blender and .blend file icons to support
the new (in 10.5) 512px icon standard.
Thanks to Samo 'xype' Korosec for the original graphic treatment!
http://mke3.net/blender/devel/2.5/hugeicon.jpg
Ton Roosendaal [Thu, 21 May 2009 13:33:04 +0000 (13:33 +0000)]
2.5
Animation playback back in control. And non-blocking still!
- Play follows the "Playback" options in TimeLine menu.
Only the region 'windows' are drawn, not headers, toolbars,
channel views, etc.
The option "Buttons Window" also redraws property regions.
- The Timeline header always redraws, this to denote at least
progressing frame numbers
- For now: if you choose to play 3D views, it also redraws
the TimeLine. Seems to be good convention, but probably
better to add menu option for it?
- Fun test: while playback, change Playback options, works OK!
- New: top header button shows animation play status, and allows
to stop playback
- New: Animation stop/start operator. Assigned to ALT+A. It has
no options yet; just plays active region + all 3D windows now.
Options will follow, based on reviews.
Also ESC won't work for now, just press ALT+A again.
Thomas Dinges [Thu, 21 May 2009 11:10:34 +0000 (11:10 +0000)]
2.5 Buttons:
* Some minor layout cleanup.
Matt Ebb [Thu, 21 May 2009 07:40:43 +0000 (07:40 +0000)]
* removed some arbitrary range limits on property values
* turned some slider UI controls back into number fields
Note: Sliders should only be used when representing a property that's
conceptually a percentage or ratio. For arbitrary numbers, use a number field.
For example, a lamp's energy can theoretically be anything - 0.1, 3.5, 125.0, it
doesn't matter - it's just a number, not a percentage. So this should be a
number field.
Nicholas Bishop [Wed, 20 May 2009 18:37:28 +0000 (18:37 +0000)]
Bug fix: the flags for brush rake/anchored were switched.
Brecht Van Lommel [Wed, 20 May 2009 17:18:48 +0000 (17:18 +0000)]
UI:
* Hide enable button in horizontal collapsed panels.
* Fix enable button not being in correct position when zooming.
* Fix n-key panels layout being messed up.
Diego Borghetti [Wed, 20 May 2009 17:18:47 +0000 (17:18 +0000)]
Fix the fix ;)
Only check for type because ptr.data can be NULL and
ptr.type not.
Ton Roosendaal [Wed, 20 May 2009 16:55:28 +0000 (16:55 +0000)]
2.5
Node editor:
- Crash could occur on ALT+LMB remove link lines (read free'd mem)
- Button labels were handled as full buttons, disabling node usage
quite a lot, like drag, select, or create links.
(Caused by making all node labels buttons)
Brecht: old UI_NO_HILITE can be depricated, it was for bad overdraw
issues. I guess it's OK to not handle Label buttons at all...
Thomas Dinges [Wed, 20 May 2009 16:24:04 +0000 (16:24 +0000)]
2.5 Buttons:
* More button tweaks by William Reynish. Thanks!
Ton Roosendaal [Wed, 20 May 2009 16:23:55 +0000 (16:23 +0000)]
2.5
Fixes:
- Render (F12) would choose the (hidden) info window in cases, disabled
that.
- Browsing ID's (like Image in Image editor) failed when no ID was
assigned yet.
Diego Borghetti [Wed, 20 May 2009 15:59:57 +0000 (15:59 +0000)]
Fix segfault on Outliner.
Try to expand the RNA tree in Outliner -> User Preference crash blender.
RNA_struct_idproperties was not checking if ptr.data is NULL
and always try to access the properties type information.
Note: brecht double check this.
Thomas Dinges [Wed, 20 May 2009 15:33:28 +0000 (15:33 +0000)]
2.5 UI:
* Added missing buttons validation for Modifier Tab.
Ton Roosendaal [Wed, 20 May 2009 15:20:24 +0000 (15:20 +0000)]
2.5
Colorband (ramp) buttons back (now only in Node editor)
Ton Roosendaal [Wed, 20 May 2009 14:47:48 +0000 (14:47 +0000)]
2.5
Undid fix from matt to prevent tog button alignment, this is not
working that way... made UI look very bad (like layer buttons)
The new code has 'toggle' and 'option' button types, with the
latter being the new style, and first for icon rows, layers, etc.
Purpose is that RNA or py api would allow to distinguish.
Brecht Van Lommel [Wed, 20 May 2009 14:46:49 +0000 (14:46 +0000)]
UI: added support for enable buttons in the panel header.
Ton Roosendaal [Wed, 20 May 2009 14:32:15 +0000 (14:32 +0000)]
2.5
- Made Normal (Sphere) button draw with nice AA
(check in node editor)
- Bugfix in alignment code, collumns were not drawing OK
- Picker buttons draw swatches again, and made them work.
Matt Ebb [Wed, 20 May 2009 13:56:22 +0000 (13:56 +0000)]
Assorted UI tweaks/cleanups
Brecht Van Lommel [Wed, 20 May 2009 13:34:04 +0000 (13:34 +0000)]
2.5 Material:
* Added material "type" property, with Surface/Volume/Halo
options, compatible with sim_physics, as requested for
material buttons layout. Obviously the Volume setting
does nothing currently.
* Deprecated MA_HALO flag in favor of this.
Ton Roosendaal [Wed, 20 May 2009 11:07:34 +0000 (11:07 +0000)]
2.5
Fix: Node Editor backdrop drawing messed up viewport, making drawing of
UI elements not pixel accurate anymore.
Brecht Van Lommel [Wed, 20 May 2009 09:52:02 +0000 (09:52 +0000)]
RNA:
* Any Struct can now have ID properties, by creating a callback
function to create/return an IDProperty.
* Wrapped PoseChannel ID properties.
* Note there is still no way to create ID Properties in 2.5, though
the callback to get/create the initial group is now exposed through
RNA_struct_idproperties.
Brecht Van Lommel [Wed, 20 May 2009 09:17:21 +0000 (09:17 +0000)]
RNA: ID properties were not being shown as RNA properties anymore, fixed.
Python: fix two warnings (initialize to NULL).
Campbell Barton [Wed, 20 May 2009 05:35:53 +0000 (05:35 +0000)]
fix for crash drawing the UI, normally this would cause a memory leak but for some reason it crashed with py2.6 and not 3.1.
Campbell Barton [Wed, 20 May 2009 02:17:53 +0000 (02:17 +0000)]
please dont mix tabs and spaces, failed with python 3.1
Brecht Van Lommel [Tue, 19 May 2009 17:13:33 +0000 (17:13 +0000)]
UI
* Fix buttons jumping around when resizing and zoom. Part of this was
adding a tiny a 0.001f offset in UI_view2d_view_ortho, otherwise the
rounding is unpredictable (used to be 0.375f, but that was disabled).
* Fix various issues with zooming, panning panels. V2D_LOCKOFS_X/Y is
now taken into account in more places in the view2d code, to avoid
zooming into the center or panning out of the view.
* Remove "Free" align mode in buttons window (it's not really useful).
* View3D/Graph/Image editors now use the same PanelType system as the
buttons window, means some deprecated panel code could be removed.
* Some small visual tweaks for panels.
* View 2D Reset operator (Home key), to reset zoom and panning for panels.
* Added argument to set number buttons as sliders (slider=True for itemR).
* Ignore labels for button alignment (doesn't look right).
* Fix some use of context.main in py scripts, should get data from active
object instead.
* Fix autotexspace -> auto_texspace in py script.
Thomas Dinges [Tue, 19 May 2009 16:23:18 +0000 (16:23 +0000)]
2.5 Buttons:
* Some scene panel layout tweaks by William Reynish (Billrey). Thanks!
Thomas Dinges [Tue, 19 May 2009 15:38:36 +0000 (15:38 +0000)]
2.5:
* Added new modifier tab.
* Fixed problems when no object was selected after delete.
* Added initial Armature, Bone, Curve and Font panels, by William Reynish (Billrey). Thanks!
* Small RNA changes
* Commit revision 20240 and 20268 from trunk. ("Mouse wheel zoom lost after rendering.")
Ton Roosendaal [Tue, 19 May 2009 15:37:50 +0000 (15:37 +0000)]
2.5
Added new entry in 10-timer: 'Anim Step'. This will only call the
animation system itself, no drawing.
Ton Roosendaal [Tue, 19 May 2009 12:54:54 +0000 (12:54 +0000)]
2.5
Brought back the "Ten Timer" test, a useful debugging utility
to keep track of drawing speed. Currently assigned like 2.4x to
ALT+CTRL+T
Added new option to also test speed of drawing entire Window.
Diego Borghetti [Mon, 18 May 2009 19:47:04 +0000 (19:47 +0000)]
Commit revision 20062 and 20109 from trunk, also fix a small memory
error on interface, was try to free an incorrect pointer.
Thomas Dinges [Mon, 18 May 2009 18:20:29 +0000 (18:20 +0000)]
2.5 UI:
* Added new Buttons Tab "Bone" for Armature objects.
* Validation of buttons selection, when object selection is changed.
* added missing notifier for camera type and small layout change to the panel.
* more shading color changes for menu and checkbox.
Ton Roosendaal [Mon, 18 May 2009 16:42:34 +0000 (16:42 +0000)]
2.5
Text drawing in 3D window fixed, using BLF default font (yes, nice AA'ed
fonts too :)
Solved it by gathering all strings that needs to be drawn for an object,
and then draw in end of object drawing, in pixelspace. Also cleaned up
some of the code for projecting 3d coords, much nicer now (mat stored in
region-view3d)
Joshua Leung [Mon, 18 May 2009 02:25:33 +0000 (02:25 +0000)]
2.5 - Bones can now have custom properties (as ID-Props)
Still need to find a way to enable RNA access for these though, since RNA access to ID-Props stored in data seems to be broken...
Joshua Leung [Mon, 18 May 2009 02:23:20 +0000 (02:23 +0000)]
Graph Editor: Attempts at Improving Curve Drawing
* Trying a slightly different approach with curve drawing. Now curves aren't drawn darker down the list, as that approach proved to have massive contrast issues all around. However, it's not completely back to the old rainbow style, as the colours are still grouped in 3's and 4's, only that they now use hue offsets...
* Unselected curves are now drawn less opaque. However, selected curves still leave some brightness to be desired...
* Bugfix - Deselecting keyframes in graph view now deselects the curves too.
Martin Poirier [Sun, 17 May 2009 16:19:13 +0000 (16:19 +0000)]
Color proofing support with lcms (littlecms.com/).
Enable with WITH_LCMS (options have been added for scons).
lcms is very common on linux package managers, so no need to add in extern (IMHO). Libs for windows can be added to /lib
Code is mostly a proof of concept with hardcoded path for icc profile (taken from the lcms test suite).
Adding this now to svn so it doesn't rot on my hard drive. People interested in pushing it forward should feel free to dig in the code or poke me about it.
Martin Poirier [Sun, 17 May 2009 16:10:39 +0000 (16:10 +0000)]
Don't create or truncate file when checking for writeable.
That was a nasty bug, would truncate current image file on disk when opening menu to load a new one.
Thomas Dinges [Sun, 17 May 2009 09:25:30 +0000 (09:25 +0000)]
2.5 Buttons:
* New scene buttons layout.
* Minor changes in object buttons and scene RNA.
Joshua Leung [Sun, 17 May 2009 06:57:48 +0000 (06:57 +0000)]
2.5 - 2 Bugfixes:
* Long Keyframes get shown again in DopeSheet. Some theme cleanouts cleared the theme colours for these.
* An error is now presented when there are problems trying to resolve a path to keyframe some settings now (instead of silently giving up).
Thomas Dinges [Sat, 16 May 2009 17:30:13 +0000 (17:30 +0000)]
2.5 UI:
*changed the 3d-view grid color, it was very difficult to see the difference between grid and background in orthographic view.
*changed the radio buttons shading a bit.
Ton Roosendaal [Sat, 16 May 2009 13:56:40 +0000 (13:56 +0000)]
2.5
Make GE compile again, it still called old BMF_font
Thomas Dinges [Fri, 15 May 2009 16:24:08 +0000 (16:24 +0000)]
2.5 Buttons:
* Cleanup of scene, lamp and camera panels.
* Small RNA lamp changes.
Brecht Van Lommel [Fri, 15 May 2009 11:19:59 +0000 (11:19 +0000)]
UI: Layout Engine
* Buttons are now created first, and after that the layout is computed.
This means the layout engine now works at button level, and makes it
easier to write templates. Otherwise you had to store all info and
create the buttons later.
* Added interface_templates.c as a separate file to put templates in.
These can contain regular buttons, and can be put in a Free layout,
which means you can specify manual coordinates, but still get nested
correct inside other layouts.
* API was changed to allow better nesting. Previously items were added
in the last added layout specifier, i.e. one level up in the layout
hierarchy. This doesn't work well in always, so now when creating things
like rows or columns it always returns a layout which you have to add
the items in. All py scripts were updated to follow this.
* Computing the layout now goes in two passes, first estimating the
required width/height of all nested layouts, and then in the second
pass using the results of that to decide on the actual locations.
* Enum and array buttons now follow the direction of the layout, i.e.
they are vertical or horizontal depending if they are in a column or row.
* Color properties now get a color picker, and only get the additional
RGB sliders with Expand=True.
* File/directory string properties now get a button next to them for
opening the file browse, though this is not implemented yet.
* Layout items can now be aligned, set align=True when creating a column,
row, etc.
* Buttons now get a minimum width of one icon (avoids squashing icon
buttons).
* Moved some more space variables into Style.
Thomas Dinges [Thu, 14 May 2009 19:41:45 +0000 (19:41 +0000)]
2.5:
* Renamed Local Lamp to Point Lamp, as discussed in IRC.
* Small layout changes to the lamp panel.
Diego Borghetti [Thu, 14 May 2009 19:18:00 +0000 (19:18 +0000)]
Fix makefile for file browser.
Martin Poirier [Thu, 14 May 2009 19:08:15 +0000 (19:08 +0000)]
Fix snapping bug in 2.5
Martin Poirier [Thu, 14 May 2009 18:54:41 +0000 (18:54 +0000)]
2.5 compile errors.
Wrong include name (lower case) and missing include folder in scons.
Andrea Weikert [Thu, 14 May 2009 18:08:14 +0000 (18:08 +0000)]
2.5 filebrowser
- drawing code cleanup
- use of BLF_font in own string drawing, needs to be aligned with uiStyles still.
- thumbnail scaling now done on graphics card via new glaDrawPixelsTexScaled (slightly modified glaDrawPixelsTex)
Andre Susano Pinto [Wed, 13 May 2009 02:01:04 +0000 (02:01 +0000)]
I think this fix the black dots problem
(ZanQdo machine is just faster than mine.. so he will test :) )
Andre Susano Pinto [Wed, 13 May 2009 01:56:03 +0000 (01:56 +0000)]
Renamed exported functions from render to have the RE_ prefix
RayObject_* => RE_rayobject_*
Thomas Dinges [Tue, 12 May 2009 19:28:49 +0000 (19:28 +0000)]
2.5 Buttons:
* Added basic Halo material options
Joshua Leung [Tue, 12 May 2009 11:36:33 +0000 (11:36 +0000)]
Graph Editor Bugfix: Drivers for Materials now get shown
Thomas Dinges [Mon, 11 May 2009 17:34:31 +0000 (17:34 +0000)]
2.5:
* Added empty buttons
* Added missing empty notifiers
Andre Susano Pinto [Mon, 11 May 2009 13:56:45 +0000 (13:56 +0000)]
Added neighbour test on detected ray hit
Joshua Leung [Mon, 11 May 2009 11:51:30 +0000 (11:51 +0000)]
Graph Editor Bugfix: 'HomeKey' (View All) wasn't correctly calculating y-extents
It was only using the y-extents of the last F-Curve it encountered
Joshua Leung [Mon, 11 May 2009 11:41:08 +0000 (11:41 +0000)]
F-Curve Colouring: Attempt at a new auto-algorithm
This new algorithm groups F-Curves into groups of 3-4 with similar colours, since triplets of related settings are more likely to be encountered.
The colours get darker down the list. Blocks of related F-Curves will alternate between being boldly and weakly shaded.
I've left the old method still there but commented out. This new method could still be improved, as some of the colours chosen don't really stand out that well IMO.
Testing and suggestions welcome as always :)
Thomas Dinges [Mon, 11 May 2009 11:31:10 +0000 (11:31 +0000)]
2.5 RNA: Curve
* Changed the font align booleans into 1 enum.