10 years ago2.5 MetaBalls and UI
Jiri Hnidek [Mon, 3 Aug 2009 14:40:10 +0000 (14:40 +0000)]
2.5 MetaBalls and UI

* Added callback function for some metaball properties:
When some properties (wiresize, threshold, update flags) of metaball are changed, then these properties are copied to all metaballs in the group (all metaballs with same base name). This is important to "share" some properties between metaballs, because polygonisation of metaball is influenced only by properties of base metaball and base metaball can be changed.
* Improved drawing of selected Metaball objects

10 years agoRenamed Subsurf > Subdivision Surface
William Reynish [Mon, 3 Aug 2009 13:46:45 +0000 (13:46 +0000)]
Renamed Subsurf > Subdivision Surface
Multires > Multiresolution

The term 'Subsurf' was really confusing, because of the similar term Subsurface Scattering, meaning something completely different. Additionally, the prefix 'sub' (meaning 'lower' or 'under'), as well as the word 'surf' (meaning water foam / a water sport) really mean completely different things on their own, making 'subsurf' a terrible abbreviation.

10 years ago2.5 - MetaBalls are now animateable
Joshua Leung [Mon, 3 Aug 2009 13:09:23 +0000 (13:09 +0000)]
2.5 - MetaBalls are now animateable

10 years ago2.5 - Make Proxy Tweaks
Joshua Leung [Mon, 3 Aug 2009 12:11:50 +0000 (12:11 +0000)]
2.5 - Make Proxy Tweaks

* Drivers are now copied across and relinked as appropriate
* Drawtype is also copied now (especially useful for rigs)

10 years ago2.5 - Make proxy operator works again now
Joshua Leung [Mon, 3 Aug 2009 11:12:17 +0000 (11:12 +0000)]
2.5 - Make proxy operator works again now

Now it uses strings instead of pointers. Maybe the properties could still get some tweaks, but they work well enough for now.

10 years agoUI tweaks
William Reynish [Mon, 3 Aug 2009 10:54:02 +0000 (10:54 +0000)]
UI tweaks

-Removed shadows from most UI items. The shadow settings are unfortunately not really useful, because you can't set them for individual items. There was a lot of black text with black shadows, which really only makes the text look fuzzy. For shadows to improve clarity, they should be the opposite color of the text label, not the same color.

-Tweaked material layout, with clearer grouping in Ray Mirror and Ray Transparency panels.

-Added icons in the texture type menu to signify which textures are procedural and which ones are images, and plugins.

10 years ago* Fix makefiles once more, change tabs to spaces
Matt Ebb [Mon, 3 Aug 2009 05:21:13 +0000 (05:21 +0000)]
* Fix makefiles once more, change tabs to spaces

10 years ago* unzip osx python modules on make release, too
Matt Ebb [Mon, 3 Aug 2009 04:55:32 +0000 (04:55 +0000)]
* unzip osx python modules on make release, too

10 years agoFix access to MEM_CacheLimiterC-Api.h.
Guillermo S. Romero [Mon, 3 Aug 2009 01:24:55 +0000 (01:24 +0000)]
Fix access to MEM_CacheLimiterC-Api.h.

10 years ago* small fix for python versions
Matt Ebb [Mon, 3 Aug 2009 00:58:50 +0000 (00:58 +0000)]
* small fix for python versions

10 years agochanged makefile defaults to point to py3.1 for linux/bsd/openbsd/windows (probably...
Campbell Barton [Mon, 3 Aug 2009 00:44:42 +0000 (00:44 +0000)]
changed makefile defaults to point to py3.1 for linux/bsd/openbsd/windows (probably nobody uses makefiles on win32 anymore)

10 years ago* remove unused member of KX_Scene - m_objecttree
Campbell Barton [Sun, 2 Aug 2009 23:53:53 +0000 (23:53 +0000)]
* remove unused member of KX_Scene - m_objecttree
* implicit declaration of getenv in glutil.c

10 years ago2.5 - Bones with "Euler" rotations can now have their rotation keyframed properly...
Joshua Leung [Sun, 2 Aug 2009 23:31:18 +0000 (23:31 +0000)]
2.5 - Bones with "Euler" rotations can now have their rotation keyframed properly using built-in keyingsets (i.e. the IKEY menu in 3D-View)

10 years agoSmoke:
Daniel Genrich [Sun, 2 Aug 2009 23:30:44 +0000 (23:30 +0000)]
a) fixing domain boundaries
b) fixing flow gui (no more velocity there - taken from particles)
c) Outflow available (deletes smoke from scene)
d) deactivating other noise options for now
e) base for render/preview settings
f) fixing collisions to be working again

10 years ago== Sequencer ==
Peter Schlaile [Sun, 2 Aug 2009 23:02:59 +0000 (23:02 +0000)]
== Sequencer ==

This brings back sequencer rendering, moving do_render_seq() into the
pipeline where it belongs.

Things to fix: SCENE-strip rendering and memory cleanup for

Otherwise: enjoy :)

10 years agoGraph Editor Bugfixes:
Joshua Leung [Sun, 2 Aug 2009 22:56:42 +0000 (22:56 +0000)]
Graph Editor Bugfixes:

* Tools such as set handle type, etc. were not being called correctly from the menus. There were missing operator-context calls to make sure that the invoke methods would get skipped.

* Hack for loading old files - buttons region for Graph Editor now gets added. Dunno why this didn't work automatically as for NLA despite the two having the same code.

10 years agoSmall tweaks to scene buttons (checkboxes in the right column)
Matt Ebb [Sun, 2 Aug 2009 21:46:35 +0000 (21:46 +0000)]
Small tweaks to scene buttons (checkboxes in the right column)

10 years agoSmoke: 2 preview fixes
Daniel Genrich [Sun, 2 Aug 2009 19:40:25 +0000 (19:40 +0000)]
Smoke: 2 preview fixes
a) take first position lamp into accountn for smoke ligthning (still no realtime shading when you move the lamp - you have to simulate another frame for now)
b) fix front/back "looking throurgh" issue by reordering the billboards

10 years agoSoftbody now uses the new pointcache code.
Janne Karhu [Sun, 2 Aug 2009 19:39:33 +0000 (19:39 +0000)]
Softbody now uses the new pointcache code.

Note: Rna access to softbody point cache is through softbody modifier although the point cache is in softbody settings. This is to make it similar to cloth.

Bugfix: Softbody rna was trying to get "ob->soft->softflag" instead of the correct "ob->softflag".

10 years agoSmoke: (hopefully) fix collision high-res smoke disappearance
Daniel Genrich [Sun, 2 Aug 2009 18:32:56 +0000 (18:32 +0000)]
Smoke: (hopefully) fix collision high-res smoke disappearance

10 years ago2.5 3DView:
Thomas Dinges [Sun, 2 Aug 2009 16:44:32 +0000 (16:44 +0000)]
2.5 3DView:

* Removed redundant color picker panels from the Properties Panel.
* Deleted some old C Buttons Code. (Background Image, Weight Paint, View and the Color pickers.)
* Added missing Particle Mode Buttons into the Toolbar. They need a check if the system is editable or not.
* Pose Mode Panels in Toolbar were not working due to wrong context. Fixed.

10 years agoSmoke: fixing 8MB memleak
Daniel Genrich [Sun, 2 Aug 2009 15:57:19 +0000 (15:57 +0000)]
Smoke: fixing 8MB memleak

10 years agoNLA Tweaks:
Joshua Leung [Sun, 2 Aug 2009 13:15:20 +0000 (13:15 +0000)]
NLA Tweaks:

* "Pushing down" the action to make a new strip will now make the new strip the 'active' one.

* 'Active Action' field in Animation Data panel is now editable as long as we aren't in "tweakmode"

10 years ago2.5 - Animation/RNA Bugfixes
Joshua Leung [Sun, 2 Aug 2009 12:52:02 +0000 (12:52 +0000)]
2.5 - Animation/RNA Bugfixes

* Settings for Bones can now be animated properly from UI
* Settings for constraints on bones and objects can now be keyframed properly
* Added missing 'subtarget' property wrapping for StretchTo constraint.

10 years agoMistakingly removed check for old Python in material buttons in previous commit.
William Reynish [Sun, 2 Aug 2009 11:36:12 +0000 (11:36 +0000)]
Mistakingly removed check for old Python in material buttons in previous commit.

Added it back, plus some smaller layout tweaks.

10 years ago2.5 - Animation Playback Tweaks
Joshua Leung [Sun, 2 Aug 2009 11:05:13 +0000 (11:05 +0000)]
2.5 - Animation Playback Tweaks

* Added some optimisations to avoid having to try evaluating some data that won't have any effect.

* Converted playback buttons in timeline header to use operators too

10 years agofix for crash in background mode.
Campbell Barton [Sun, 2 Aug 2009 10:32:52 +0000 (10:32 +0000)]
fix for crash in background mode.

10 years ago2.5 - Bugfixes
Joshua Leung [Sun, 2 Aug 2009 07:08:51 +0000 (07:08 +0000)]
2.5 - Bugfixes

* Added operator for jumping to the start and end frames. Shift Up/Down
* Fixed bad spacing for buttons in Graph Editor header

10 years agoNaN makefiles now support and build with precompiled Python 3.1 by default on Mac
Matt Ebb [Sun, 2 Aug 2009 06:22:53 +0000 (06:22 +0000)]
NaN makefiles now support and build with precompiled Python 3.1 by default on Mac

10 years agoAnimato - Bugfixes for ShapeKeys + ShapeKey Drivers
Joshua Leung [Sun, 2 Aug 2009 06:10:24 +0000 (06:10 +0000)]
Animato - Bugfixes for ShapeKeys + ShapeKey Drivers

* Animated ShapeKey F-Curves/Drivers are now visible in the Animation Editors.

* As a result of this, the old 'ShapeKeys' mode (which would display all the shapekey channels, even if they had no keyframes yet) in the DopeSheet, no longer works for now. However, it would have been of no use as no sliders were shown anyway.

* Drivers which depended on the rotation of bones now work again. These now point to the right RNA properties, and get some extra 'time' corrections (for degrees -> radians change).

10 years agosvn merge -r22099:22130
Campbell Barton [Sun, 2 Aug 2009 03:59:00 +0000 (03:59 +0000)]
svn merge -r22099:22130

10 years ago- X11 tablet was using uninitialized variables.
Campbell Barton [Sun, 2 Aug 2009 03:41:42 +0000 (03:41 +0000)]
- X11 tablet was using uninitialized variables.
- Added BLENDER_FORCE_SWAPBUFFERS in help message.

10 years ago2.5 - Fixes for crashes when moving keyframes in F-Curve channels
Joshua Leung [Sun, 2 Aug 2009 03:15:24 +0000 (03:15 +0000)]
2.5 - Fixes for crashes when moving keyframes in F-Curve channels

10 years agoAdded ramp input and blend settings in RNA and layouts.
William Reynish [Sun, 2 Aug 2009 01:00:15 +0000 (01:00 +0000)]
Added ramp input and blend settings in RNA and layouts.

10 years agoremove own postscript font loading code (rely on freetype now)
Campbell Barton [Sat, 1 Aug 2009 22:33:18 +0000 (22:33 +0000)]
remove own postscript font loading code (rely on freetype now)

10 years agoAllow users enabling workaround for menus with some Mesa3D drivers.
Guillermo S. Romero [Sat, 1 Aug 2009 22:23:57 +0000 (22:23 +0000)]
Allow users enabling workaround for menus with some Mesa3D drivers.
Define the env var BLENDER_FORCE_SWAPBUFFERS to enable (1, yes, oui, the
value does not matter, code just checks for existence).

The issue seems to happen with Intel and Radeon, but enabling myswapbuffers()
hack solves it (or reduces to just flicker) for now.

Reported by Philippe Van Hecke.

10 years agoFurther improved shape keys UI.
William Reynish [Sat, 1 Aug 2009 17:50:51 +0000 (17:50 +0000)]
Further improved shape keys UI.

Made value slider stretch to the entire width of the panel, useful for added precision.

Also used greying out when shapes are locked.

10 years ago2.5 Object Force RNA:
Thomas Dinges [Sat, 1 Aug 2009 10:36:05 +0000 (10:36 +0000)]
2.5 Object Force RNA:

* Added RNA properties for Bullet Softbody.
Only RNAified properties which are used in 2.49a GUI.

10 years agoUpdate MSVC projects files
Benoit Bolsee [Sat, 1 Aug 2009 10:13:32 +0000 (10:13 +0000)]
Update MSVC projects files

10 years ago2.5 Background Image:
Thomas Dinges [Sat, 1 Aug 2009 09:39:58 +0000 (09:39 +0000)]
2.5 Background Image:

* Replaced NC_OBJECT with NC_WINDOW notifier.

10 years agosizeof() was being used incorrectly to clear X11 m_keyboard_vector, would only have...
Campbell Barton [Sat, 1 Aug 2009 09:07:45 +0000 (09:07 +0000)]
sizeof() was being used incorrectly to clear X11 m_keyboard_vector, would only have 4-8 bytes cleared rather then 32.
fix for harmless memleak too.

10 years ago- Ancient resource leak (rev 2) where checkPackedFile would open a file and never...
Campbell Barton [Sat, 1 Aug 2009 06:27:40 +0000 (06:27 +0000)]
- Ancient resource leak (rev 2) where checkPackedFile would open a file and never close it.
- Running simulations missed freeing some variables.

10 years ago2.5 - Giving shapekeys UI a bit of attention
Joshua Leung [Sat, 1 Aug 2009 06:03:08 +0000 (06:03 +0000)]
2.5 - Giving shapekeys UI a bit of attention

* Separated value and range sliders for the value into two separate rows. Value comes before the range settings since it's used more often, and is drawn as a slider instead.

* Tweaked ranges for the sliders so that they will work sanely.

10 years ago2.5 - More tweaks to realtime record
Joshua Leung [Sat, 1 Aug 2009 05:10:57 +0000 (05:10 +0000)]
2.5 - More tweaks to realtime record

* New NLA Tracks/Strips are now only created if the 'layered' button (visible in the timeline header when autokeying is on, and the playback is running) is enabled. This multiple bones to be able to be animated in the same action, but done in multiple passes.

* Made Alt-A work in timeline header too.

10 years agotweaks for linking openEXR on osx/ppc - previous switch per cpu architecture was...
Matt Ebb [Sat, 1 Aug 2009 01:39:10 +0000 (01:39 +0000)]
tweaks for linking openEXR on osx/ppc - previous switch per cpu architecture was unnecessary and broke compilation

10 years agosvn merge -r22075:22099
Campbell Barton [Fri, 31 Jul 2009 23:42:22 +0000 (23:42 +0000)]
svn merge -r22075:22099

10 years agomissed this line in last commit
Campbell Barton [Fri, 31 Jul 2009 23:15:00 +0000 (23:15 +0000)]
missed this line in last commit

10 years agoChanged texture layers list to display as a proper list. This makes the order clearer...
William Reynish [Fri, 31 Jul 2009 16:19:26 +0000 (16:19 +0000)]
Changed texture layers list to display as a proper list. This makes the order clearer, and you can see names. The list always displays its full length though, because texture layers are pre-populated with all 18 texture layers. Would be nice if this was eventually more dynamic, resembling the way you add/remove material indices.

10 years ago2.5 Field Panels:
Thomas Dinges [Fri, 31 Jul 2009 15:36:14 +0000 (15:36 +0000)]
2.5 Field Panels:

* Attempt to make it a bit more consistent. ;-)

10 years agoFields UI: Several attempts to follow UI guide and other things leaded to a really...
Daniel Genrich [Fri, 31 Jul 2009 14:38:42 +0000 (14:38 +0000)]
Fields UI: Several attempts to follow UI guide and other things leaded to a really confusing UI (on the left):
We tried now to connect top-down with left-right, having top-down for the big picture (like already used in textures panel).
Other fields still missing. Approved by William, another small fix ("type" in one row) suggested by DingTo (not visible in the screenshot).

10 years agoBug fix in low value setting. Originally checked against the wrong channel (chroma...
Robert Holcomb [Fri, 31 Jul 2009 12:51:18 +0000 (12:51 +0000)]
Bug fix in low value setting.  Originally checked against the wrong channel (chroma) instead of the luminence channel.
Changed default value for high value to 1.0 from 0.0.

10 years agoTiny tweaks to modifier template. Added more logical icons for enabling modifiers...
William Reynish [Fri, 31 Jul 2009 10:21:29 +0000 (10:21 +0000)]
Tiny tweaks to modifier template. Added more logical icons for enabling modifiers in edit mode etc.

10 years agoremove more unneeded args, also allow ipo to animate the ref value for KX_BlenderMate...
Campbell Barton [Fri, 31 Jul 2009 09:05:13 +0000 (09:05 +0000)]
remove more unneeded args, also allow ipo to animate the ref value for KX_BlenderMaterial's

10 years ago2.5
Ton Roosendaal [Fri, 31 Jul 2009 08:07:41 +0000 (08:07 +0000)]

Check for old py in UI scripts. Temp fix that'll go when the move
to Py 3.1 is definite! :)

10 years agoAnimato - NLA + Realtime Animating Goodies
Joshua Leung [Fri, 31 Jul 2009 07:43:47 +0000 (07:43 +0000)]
Animato - NLA + Realtime Animating Goodies

* When doing realtime recording of animation (i.e. transforming objects + bones while animation playback is running, and auto-keying is enabled), animation will be added to a new NLA Track+Strip combo everytime a single 'loop' of the frame range has finished. This will allow 'passes' over the animation to be less destructive.

* Made the evaluation of the active action (when NLA data is present), be handled as part of the normal NLA system evaluation code (as if it were just another strip in a track at the end). The immediate benefit is that there are now some settings (available in the "Animation Data" panel in the NLA Editor with a strip selected) which allow for the way the active action is combined with the NLA stack results. For instance, the way that the action extrapolates is used in the recording tweaks above.

10 years agosetting WITH_BF_PLAYER = False as default to scons
Dalai Felinto [Fri, 31 Jul 2009 02:35:56 +0000 (02:35 +0000)]
setting WITH_BF_PLAYER = False as default to scons
(temporary solution to avoid linking problem reports over and over and over and over ... again)

I obviously couldn't test this in all OS. If there is any problem with this commit please fell free to fix/let me know.

10 years ago* Updated icon sheet, thanks jendryzch!
Matt Ebb [Fri, 31 Jul 2009 02:16:07 +0000 (02:16 +0000)]
* Updated icon sheet, thanks jendryzch!

10 years agofix for warnings and implicit declarations
Campbell Barton [Fri, 31 Jul 2009 01:40:15 +0000 (01:40 +0000)]
fix for warnings and implicit declarations
also fixed smoke comparing a float's mem-location rather then its value.

10 years agosvn merge -r21908:22075
Campbell Barton [Fri, 31 Jul 2009 00:42:10 +0000 (00:42 +0000)]
svn merge -r21908:22075

10 years agoSculpt/2.5:
Nicholas Bishop [Thu, 30 Jul 2009 22:24:05 +0000 (22:24 +0000)]

* Fix for bug reported by Brian Staub, sculpt on transformed objects wasn't working.

10 years agoSmoke:
Daniel Genrich [Thu, 30 Jul 2009 22:11:28 +0000 (22:11 +0000)]
a) Crash fixed when loading files with smoke
b) changed presets to be more low-cpu friendly
c) smoke looks thicker

a) 3dview of smoke changes weirdly when looking at front/back. Just move around a cube with smoke and you know what I mean - odd shading. If someone likes to take a look: draw_object.c -> search for "smoke" there

10 years agoremove some unused function args
Campbell Barton [Thu, 30 Jul 2009 21:42:29 +0000 (21:42 +0000)]
remove some unused function args

10 years agochanges to defaults for sequencer strip adding
Campbell Barton [Thu, 30 Jul 2009 20:22:55 +0000 (20:22 +0000)]
changes to defaults for sequencer strip adding

10 years agoSmoke: compile error due to bad merged conflicts
Daniel Genrich [Thu, 30 Jul 2009 20:18:28 +0000 (20:18 +0000)]
Smoke: compile error due to bad merged conflicts

10 years agoSmoke: fixing some compile warning reported by Ton and one compile erro for gcc 4...
Daniel Genrich [Thu, 30 Jul 2009 20:12:40 +0000 (20:12 +0000)]
Smoke: fixing some compile warning reported by Ton and one compile erro for gcc 4.4.1 reported by mrunion

10 years agowasnt building with gcc 4.4
Campbell Barton [Thu, 30 Jul 2009 20:11:59 +0000 (20:11 +0000)]
wasnt building with gcc 4.4

10 years ago2.5 Background Image:
Thomas Dinges [Thu, 30 Jul 2009 19:19:21 +0000 (19:19 +0000)]
2.5 Background Image:

* Added notifier.

10 years ago2.5
Ton Roosendaal [Thu, 30 Jul 2009 18:41:36 +0000 (18:41 +0000)]

Another Makefile fix for smoke

10 years ago2.5
Ton Roosendaal [Thu, 30 Jul 2009 18:41:19 +0000 (18:41 +0000)]

Makefile fix to link smoke lib

10 years agoSVN maintenance.
Guillermo S. Romero [Thu, 30 Jul 2009 18:39:22 +0000 (18:39 +0000)]
SVN maintenance.

10 years agoSeparated metaball size values, and hid inapplicable values depending on metaball...
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.

10 years ago2.5:
Stefan Gartner [Thu, 30 Jul 2009 18:19:46 +0000 (18:19 +0000)]

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

10 years ago2.5 Smoke:
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. :)

10 years agoSmoke: forgot cmake file
Daniel Genrich [Thu, 30 Jul 2009 15:25:56 +0000 (15:25 +0000)]
Smoke: forgot cmake file

10 years agoBlender Smoke credits:
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:

10 years agosmoke: another fftw3 error fixed
Daniel Genrich [Thu, 30 Jul 2009 15:07:44 +0000 (15:07 +0000)]
smoke: another fftw3 error fixed

10 years agosmoke: forgot to disable fftw3 noise function
Daniel Genrich [Thu, 30 Jul 2009 15:03:00 +0000 (15:03 +0000)]
smoke: forgot to disable fftw3 noise function

10 years agoBF2.5: First commit of smoke code.
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 :-)

10 years ago* More lamp tweaks, meant to commit this last night
Matt Ebb [Thu, 30 Jul 2009 13:56:39 +0000 (13:56 +0000)]
* More lamp tweaks, meant to commit this last night

10 years ago* Some nicer icons for the render still/ animation buttons
Matt Ebb [Thu, 30 Jul 2009 13:35:32 +0000 (13:35 +0000)]
* Some nicer icons for the render still/ animation buttons

10 years agoSupport for povray radiosity settings, adjust in scene panel.
Campbell Barton [Thu, 30 Jul 2009 11:05:45 +0000 (11:05 +0000)]
Support for povray radiosity settings, adjust in scene panel.

10 years ago2.5 Buttons:
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.

10 years ago2.5 - Tiny tweak to a tiny tweak for text padding (22039)
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.

10 years ago2.5 Part 3 of Layout Code Cleanup:
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.

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

10 years agoWorld UI
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.

10 years agoEngine specific panel's
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

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.

10 years ago* tiny tweak to icon/text padding in list ui templates
Matt Ebb [Thu, 30 Jul 2009 03:26:33 +0000 (03:26 +0000)]
* tiny tweak to icon/text padding in list ui templates

10 years agoOperator Copy/Paste
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.

10 years agoMove some sketching base code in kernel.
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.

10 years agoswitched file and dir by mistake
Campbell Barton [Thu, 30 Jul 2009 00:46:48 +0000 (00:46 +0000)]
switched file and dir by mistake

10 years agobetter blender doesnt look idiot for siggraph with tips wider then the screen.
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.

10 years ago2.5: update .B.blend, to have 1:1 zoom levels for the buttons.
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.

10 years agoerror in last comit
Campbell Barton [Wed, 29 Jul 2009 23:18:18 +0000 (23:18 +0000)]
error in last comit

10 years ago- include operator commands in tooltips (needs sanitizing for transform operators...
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

10 years ago2.5: Buttons View
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.

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

10 years agoOnly show ~/Desktop/ if really exists.
Guillermo S. Romero [Wed, 29 Jul 2009 22:37:33 +0000 (22:37 +0000)]
Only show ~/Desktop/ if really exists.

10 years ago2.5: File Browser on Unix
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.

10 years agoEven more metaball layout changes.
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.

10 years ago2.5 / Drag & Drop
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.

10 years ago2.5 MetaBalls:
Thomas Dinges [Wed, 29 Jul 2009 18:44:54 +0000 (18:44 +0000)]
2.5 MetaBalls:

* Layout tweaks by nudelZ. Thanks!