blender.git
11 years ago*Added a tree structure with a variable number of childs per node, but with groupped...
Andre Susano Pinto [Tue, 11 Aug 2009 00:33:51 +0000 (00:33 +0000)]
*Added a tree structure with a variable number of childs per node, but with groupped childs (for SIMD)
*SIMD support for the first 4*N childs of each node
*Some bvh code organized

11 years agoAbility to disable hints at compile time
Andre Susano Pinto [Mon, 10 Aug 2009 21:37:16 +0000 (21:37 +0000)]
Ability to disable hints at compile time

11 years agoMade -O3 and -msse2 default flags for bf_render_raytrace
Andre Susano Pinto [Fri, 7 Aug 2009 15:57:02 +0000 (15:57 +0000)]
Made -O3 and -msse2 default flags for bf_render_raytrace

11 years ago*BLI_memarena support for any power of two alignment
Andre Susano Pinto [Fri, 7 Aug 2009 13:49:15 +0000 (13:49 +0000)]
*BLI_memarena support for any power of two alignment
*some simd stuff on bvh

11 years agoFix _MM_SHUFFLE_ order
Andre Susano Pinto [Fri, 7 Aug 2009 01:42:51 +0000 (01:42 +0000)]
Fix _MM_SHUFFLE_ order

11 years agoimproved SIMD on raytrace (up to the moment support of SIMD is done at dfs and on...
Andre Susano Pinto [Fri, 7 Aug 2009 00:51:41 +0000 (00:51 +0000)]
improved SIMD on raytrace (up to the moment support of SIMD is done at dfs and on any type of tree)
(it only shows worth on -O3 -msse2)
because it seems gcc makes horrible asm code on -O2

11 years agousage of simd on bb tests
Andre Susano Pinto [Thu, 6 Aug 2009 20:20:40 +0000 (20:20 +0000)]
usage of simd on bb tests

11 years ago*Process leafs as soon as found instead of pushing them on stack for later evaluation...
Andre Susano Pinto [Thu, 6 Aug 2009 17:45:51 +0000 (17:45 +0000)]
*Process leafs as soon as found instead of pushing them on stack for later evaluation (leads to early exits)
(this is mixed with some simd code commit, althouth no simd is being used up to the moment)

11 years agono need to calculate the exact nearest distance if we are not using any heuristic...
Andre Susano Pinto [Wed, 5 Aug 2009 21:09:41 +0000 (21:09 +0000)]
no need to calculate the exact nearest distance if we are not using any heuristic based on that

11 years ago#define to store coordinates at VlakRen and not at VlakFace
Andre Susano Pinto [Wed, 5 Aug 2009 15:50:57 +0000 (15:50 +0000)]
#define to store coordinates at VlakRen and not at VlakFace
adds some additional cost retrieving coords during ray-primitive tests, but reduces some memory usage (4*3floats per face)

11 years agoexperiences with memory organization (store the vertexs coords on RayFace)
Andre Susano Pinto [Wed, 5 Aug 2009 14:40:38 +0000 (14:40 +0000)]
experiences with memory organization (store the vertexs coords on RayFace)

11 years agogeneric hints for raytracer
Andre Susano Pinto [Wed, 5 Aug 2009 12:44:11 +0000 (12:44 +0000)]
generic hints for raytracer
for now only BB hint (i am  hoping to find a decent frustum-test)

11 years agoFix point-hint
Andre Susano Pinto [Tue, 4 Aug 2009 18:03:04 +0000 (18:03 +0000)]
Fix point-hint

11 years agoSkip BB tests on primitives
Andre Susano Pinto [Tue, 4 Aug 2009 17:24:49 +0000 (17:24 +0000)]
Skip BB tests on primitives
the efficiency of this depends on ray-bb and ray-triangle functions efficiency

11 years ago(fix)
Andre Susano Pinto [Tue, 4 Aug 2009 00:00:05 +0000 (00:00 +0000)]
(fix)

11 years agosingle tree (by default)
Andre Susano Pinto [Mon, 3 Aug 2009 23:25:38 +0000 (23:25 +0000)]
single tree (by default)
now that build is nlogn (it should be worth to the tree of trees)

11 years agoNlogN building:
Andre Susano Pinto [Mon, 3 Aug 2009 17:56:38 +0000 (17:56 +0000)]
NlogN building:
sort once
select subsets and kept the order (on X, Y and Z)

11 years agochanged to STL sort
Andre Susano Pinto [Sun, 2 Aug 2009 12:11:14 +0000 (12:11 +0000)]
changed to STL sort

11 years agoAnother quick-fix for background mode
Andre Susano Pinto [Sun, 2 Aug 2009 11:32:03 +0000 (11:32 +0000)]
Another quick-fix for background mode

11 years agosvn merge -r 22111:22138 https://svn.blender.org/svnroot/bf-blender/branches/blender2...
Andre Susano Pinto [Sun, 2 Aug 2009 11:11:15 +0000 (11:11 +0000)]
svn merge -r 22111:22138 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender

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

11 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

11 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

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

11 years agosvn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22099:22130
Campbell Barton [Sun, 2 Aug 2009 03:59:00 +0000 (03:59 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22099:22130

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

11 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

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

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

11 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.
https://bugs.freedesktop.org/show_bug.cgi?id=21774

Reported by Philippe Van Hecke.

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

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

11 years agosvn merge -r 21508:22111 https://svn.blender.org/svnroot/bf-blender/branches/blender2...
Andre Susano Pinto [Sat, 1 Aug 2009 10:21:26 +0000 (10:21 +0000)]
svn merge -r 21508:22111 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender

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

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

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

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

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

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

11 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

11 years agosvn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22075:22099
Campbell Barton [Fri, 31 Jul 2009 23:42:22 +0000 (23:42 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22075:22099

11 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

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

11 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. ;-)

11 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):
http://666kb.com/i/bb49zl2t6ojvk7tax.png
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).

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

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

11 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

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

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

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

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

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

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

11 years agosvn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r21908:22075
Campbell Barton [Fri, 31 Jul 2009 00:42:10 +0000 (00:42 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r21908:22075

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

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

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

Unsolved:
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

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

11 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

11 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

11 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

11 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

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

* Added notifier.

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

Another Makefile fix for smoke

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

Makefile fix to link smoke lib

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

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

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

11 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. :)

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

11 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: http://www.cs.cornell.edu/~tedkim/WTURB/

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

11 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

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

11 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

11 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

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

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

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

11 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.
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!

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

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

11 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

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

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

11 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

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

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

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

11 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

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

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.

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

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

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

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

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

11 years ago2.5
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

11 years ago2.5
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!

11 years ago2.5
Ton Roosendaal [Wed, 29 Jul 2009 18:03:25 +0000 (18:03 +0000)]
2.5

Makefile fix: added metaball.a lib

11 years ago2.5
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...

11 years ago2.5 MetaBall Buttons:
Thomas Dinges [Wed, 29 Jul 2009 17:15:17 +0000 (17:15 +0000)]
2.5 MetaBall Buttons:

* Code and layout cleanup.