blender.git
8 years agoMerge with trunk r39589
Miika Hamalainen [Sun, 21 Aug 2011 19:37:19 +0000 (19:37 +0000)]
Merge with trunk r39589

8 years agoDynamic Paint:
Miika Hamalainen [Sun, 21 Aug 2011 19:03:47 +0000 (19:03 +0000)]
Dynamic Paint:
* Bake calculation memory is now freed if surface is deactivated or baked.
* Fixed possibly incorrect brush influence when using "Non-Closed" brush setting.
* Added new rna property descriptions.
* Added some comments and general code cleanup.

8 years agoFix #28154: linux3-config.py doesn't exist
Sergey Sharybin [Sun, 21 Aug 2011 13:31:46 +0000 (13:31 +0000)]
Fix #28154: linux3-config.py doesn't exist

Change OURPLATFORM from "linux<major_version>" to simple "linux".
Since new policy for linux kernel versions that major version in
platform doesn't make much sense for building rules so the same
rules could be used for both of linux2 and linux3 now/

Tested on both of linux2 and linux3 systems.

8 years agoSmall fix, report in IRC by Olivier:
Ton Roosendaal [Sun, 21 Aug 2011 13:25:19 +0000 (13:25 +0000)]
Small fix, report in IRC by Olivier:

Click in Compositor on output node invoked a re-composite.
Only has to be done for inactive outputs.

8 years agonew cmake doesn't consider CLang == GNUCC, set flags for clang explicitly.
Campbell Barton [Sun, 21 Aug 2011 11:06:49 +0000 (11:06 +0000)]
new cmake doesn't consider CLang == GNUCC, set flags for clang explicitly.

8 years agofix for out of bounds array access for shaded drawing in the UI, remove alpha blendin...
Campbell Barton [Sun, 21 Aug 2011 10:14:21 +0000 (10:14 +0000)]
fix for out of bounds array access for shaded drawing in the UI, remove alpha blending for uiDrawBoxShade and uiDrawBoxVerticalShade.

8 years agofloats were being promoted to doubles in quite a few cases (using gcc's -Wdouble...
Campbell Barton [Sat, 20 Aug 2011 17:39:13 +0000 (17:39 +0000)]
floats were being promoted to doubles in quite a few cases (using gcc's -Wdouble-promotion), went over render module and use float constants, gives small but consistent speedup - approx 3%.

8 years agouse ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel lite, will...
Campbell Barton [Sat, 20 Aug 2011 14:23:43 +0000 (14:23 +0000)]
use ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel lite, will also speedup undo.

note: only works with CMake, wasn't able to get this working with scons, complains about same file being built in different environments.

8 years agofix for crash when loading a file from a script, and executing user modules in the...
Campbell Barton [Sat, 20 Aug 2011 13:29:42 +0000 (13:29 +0000)]
fix for crash when loading a file from a script, and executing user modules in the newly loaded file.

8 years agoremove over zealous undo's on operators that don't need it.
Campbell Barton [Fri, 19 Aug 2011 20:25:25 +0000 (20:25 +0000)]
remove over zealous undo's on operators that don't need it.

8 years agopy style change only - make property definitions consistent
Campbell Barton [Fri, 19 Aug 2011 19:25:20 +0000 (19:25 +0000)]
py style change only - make property definitions consistent

8 years agowarning cleanup for -Wdouble-promotion
Campbell Barton [Fri, 19 Aug 2011 16:21:29 +0000 (16:21 +0000)]
warning cleanup for -Wdouble-promotion

8 years agominor speedup to python/rna api keyword argument lookups.
Campbell Barton [Fri, 19 Aug 2011 10:38:34 +0000 (10:38 +0000)]
minor speedup to python/rna api keyword argument lookups.
- dont use hash lookups in this case because converting the string to unicode and doing a hash lookup is slower then looping over the keys and comparing (which avoids creating and throwning away a unicode string).

8 years agominor style change
Campbell Barton [Fri, 19 Aug 2011 10:35:47 +0000 (10:35 +0000)]
minor style change

8 years agostore a pointer to the units system in the uiBlock since the button code was doing...
Campbell Barton [Thu, 18 Aug 2011 20:01:30 +0000 (20:01 +0000)]
store a pointer to the units system in the uiBlock since the button code was doing context lookups for the scene quite a lot.

8 years agomisc changes to unterface & undo
Campbell Barton [Thu, 18 Aug 2011 19:07:37 +0000 (19:07 +0000)]
misc changes to unterface & undo
- operator strings were doing undo pushes (in fileselector text for example), this is dumb since the operators themselves handle undo.
- interface code checks rna props are arrays rather then checking the array length.
- disable properties window pin undoing.
- sequencer refresh was calling undo, disable since this is clearnign global data not handled by undo.
- added commented out code for drawing mesh vertex index/key index, useful for debugging shapekey - hook issyes.

8 years agominor change for operator OUTLINER_OT_item_activate
Campbell Barton [Thu, 18 Aug 2011 18:42:42 +0000 (18:42 +0000)]
minor change for operator OUTLINER_OT_item_activate

Noticed clicking anywhere in the outliner was doing undo pushes, even in empty areas.

- check if any selection is made before redrawing.
- don't do an undo push when selecting outliner items since only screen data is touched here.

8 years agobugfix: genx and geny are not the image resolution. Texture space variant needs this.
Morten Mikkelsen [Thu, 18 Aug 2011 17:25:54 +0000 (17:25 +0000)]
bugfix: genx and geny are not the image resolution. Texture space variant needs this.

8 years agodisable undo for hard coded interface buttons:
Campbell Barton [Thu, 18 Aug 2011 17:09:23 +0000 (17:09 +0000)]
disable undo for hard coded interface buttons:
- space type switcher.
- header menu toggle.
- properties window header buttons.
- various view3d manipulator buttons.

8 years agodisable undo for screen & wm RNA buttons, changing shading mode via the UI for eg...
Campbell Barton [Thu, 18 Aug 2011 16:26:34 +0000 (16:26 +0000)]
disable undo for screen & wm RNA buttons, changing shading mode via the UI for eg was doing an undo push.

8 years agofix for undo issues with generic, multi-purpose WM_OT_context* operators, operators...
Campbell Barton [Thu, 18 Aug 2011 16:01:11 +0000 (16:01 +0000)]
fix for undo issues with generic, multi-purpose WM_OT_context* operators, operators now check if they modify certain ID data (not screne, wm, brush or scene) and only do undo in those cass.

- Zkey to switch shading was pushing undo's.
- Wkey to interactively edit camera, lamp settings wasnt doing an undo push when it should.
- Toggling settings (such as bone boolean options) now skips an undo push if there are no items selected.

8 years agomore minor changes to wm.py, get data_path's once at the start of each func and some...
Campbell Barton [Thu, 18 Aug 2011 15:25:18 +0000 (15:25 +0000)]
more minor changes to wm.py, get data_path's once at the start of each func and some minor style changes.

8 years agoformatting edits, no functional changes.
Campbell Barton [Thu, 18 Aug 2011 12:20:10 +0000 (12:20 +0000)]
formatting edits, no functional changes.

8 years agofix for bad array access in transform operator, was assigning an array to a single...
Campbell Barton [Thu, 18 Aug 2011 12:09:53 +0000 (12:09 +0000)]
fix for bad array access in transform operator, was assigning an array to a single float operator value.

8 years agoFix for [#28216] particles objects rotation still wrong with r39287
Janne Karhu [Thu, 18 Aug 2011 02:12:23 +0000 (02:12 +0000)]
Fix for [#28216] particles objects rotation still wrong with r39287
* The emitter object's inverse matrix wasn't in global coordinates during rendering, so the surface normals of the hair emission locations were transformed with the wrong matrix.

8 years agoBGE: Upon further investigation this should have been 8 since up/down and left/right...
Mitchell Stokes [Wed, 17 Aug 2011 20:44:15 +0000 (20:44 +0000)]
BGE: Upon further investigation this should have been 8 since up/down and left/right both are just one axis each. So, in actuality, the number of directions = 2, not 4, and thus JOYAXIS_MAX/directions = 16/2 = 8. 8 was also the max used in 2.4x.

8 years agoBGE: Upping the max Axis Number for the Axis event type on joystick sensors from...
Mitchell Stokes [Wed, 17 Aug 2011 20:17:27 +0000 (20:17 +0000)]
BGE: Upping the max Axis Number for the Axis event type on joystick sensors from 2 to 4. The BGE supports up to 16 axis. For Axis events (not Single Axis), you get for directions per axis (up, down, left, right). So, the max should be JOYAXIS_MAX/directions = 16/4 = 4.

8 years agoFix #28207: animating pin option for cloth didn't work, solver doesn't support
Brecht Van Lommel [Wed, 17 Aug 2011 15:55:42 +0000 (15:55 +0000)]
Fix #28207: animating pin option for cloth didn't work, solver doesn't support
it, so set the property as not animatable.

8 years agoFix #28265: blender 2.59 not starting on OS X with old ndof driver.
Brecht Van Lommel [Wed, 17 Aug 2011 15:01:26 +0000 (15:01 +0000)]
Fix #28265: blender 2.59 not starting on OS X with old ndof driver.
Patch by Jens Verwiebe.

8 years agoFix #28262: uv unwrap in sync selection mode unwrapped all faces irrespective
Brecht Van Lommel [Wed, 17 Aug 2011 14:43:11 +0000 (14:43 +0000)]
Fix #28262: uv unwrap in sync selection mode unwrapped all faces irrespective
of selection. Changed the fix for bug #27198, live unwrap not working with
sync selection.

8 years ago2.6 RNA:
Thomas Dinges [Wed, 17 Aug 2011 13:04:28 +0000 (13:04 +0000)]
2.6 RNA:
* Remove some NULL RNA property update calls, they do nothing.

8 years agoFix #28277: changing smoke border collision type did not reset cache, making
Brecht Van Lommel [Wed, 17 Aug 2011 12:52:38 +0000 (12:52 +0000)]
Fix #28277: changing smoke border collision type did not reset cache, making
it seem like the option wasn't working.

8 years agoFix #28194, #28269: proxy object was not showing pose mode as available in
Brecht Van Lommel [Wed, 17 Aug 2011 12:09:02 +0000 (12:09 +0000)]
Fix #28194, #28269: proxy object was not showing pose mode as available in
3d view header mode menu.

A recent bugfix was incorrectly hiding pose and particle mode when the object
data was library linked, but these modes edit object level settings so should
be available.

8 years agofix [#28274] Cant select aditional object in edit mode.
Campbell Barton [Tue, 16 Aug 2011 22:44:12 +0000 (22:44 +0000)]
fix [#28274] Cant select aditional object in edit mode.
missing feature from 2.4x

8 years agofix for error calling RNA_property_float_get_index on non array float rotations when...
Campbell Barton [Tue, 16 Aug 2011 22:18:24 +0000 (22:18 +0000)]
fix for error calling RNA_property_float_get_index on non array float rotations when displaying.

8 years agoBugfix for [#28258] [UV editor] missing snapping option.
Thomas Dinges [Tue, 16 Aug 2011 17:43:39 +0000 (17:43 +0000)]
Bugfix for [#28258] [UV editor] missing snapping option.
*Added back "snap_target" as we had in 2.4x.

I removed the "snap_element" though, as only Vertex Snapping is supported in the UV Image Editor.

8 years agominor fix, armature selection outline was not being drawn for non-active, selected...
Campbell Barton [Tue, 16 Aug 2011 13:46:51 +0000 (13:46 +0000)]
minor fix, armature selection outline was not being drawn for non-active, selected armature object when they were in pose mode.

8 years agoturns out recent commit made 'make' on its own fail.
Campbell Barton [Tue, 16 Aug 2011 13:45:17 +0000 (13:45 +0000)]
turns out recent commit made 'make' on its own fail.

8 years agoremove support for deprecated Vector() * Matrix(), eventually this will be added...
Campbell Barton [Tue, 16 Aug 2011 13:10:46 +0000 (13:10 +0000)]
remove support for deprecated Vector() * Matrix(), eventually this will be added back as row_vector_multiplication bu to avoid confusion for a bit just disable it altogether so script authors get an error on use and update their scripts.

8 years agoadd numpad key input for ghost/sdl
Campbell Barton [Tue, 16 Aug 2011 13:07:46 +0000 (13:07 +0000)]
add numpad key input for ghost/sdl

8 years agoFront/Back togles should not disable when curve is 2D and bevel object is used
Daniel Salazar [Tue, 16 Aug 2011 12:37:23 +0000 (12:37 +0000)]
Front/Back togles should not disable when curve is 2D and bevel object is used

http://www.pasteall.org/pic/show.php?id=16449

8 years agoConvenience targets for project files:
Campbell Barton [Tue, 16 Aug 2011 10:34:52 +0000 (10:34 +0000)]
Convenience targets for project files:

Project Files for IDE's
  * project_qtcreator - QtCreator Project Files
  * project_netbeans  - NetBeans Project Files
  * project_eclipse   - Eclipse CDT4 Project Files

8 years agoFix #28273: Crash playing with Follow path+Bevel+Material
Sergey Sharybin [Tue, 16 Aug 2011 10:31:28 +0000 (10:31 +0000)]
Fix #28273: Crash playing with Follow path+Bevel+Material

Crash was caused by old refactor of displists.
Added additional check to makeDispListCurveTypes.

8 years ago'make help' message for the convenience makefile which lists optional targets.
Campbell Barton [Tue, 16 Aug 2011 10:01:19 +0000 (10:01 +0000)]
'make help' message for the convenience makefile which lists optional targets.

8 years agoadded cmake configureation presets, so on *nix systems you can do...
Campbell Barton [Tue, 16 Aug 2011 09:36:15 +0000 (09:36 +0000)]
added cmake configureation presets, so on *nix systems you can do...

 # minal blender with debug info
 make debug lite

 # blender with no ui
 make headless

 # blender as a python module
 make bpy

8 years ago2.6 Node Muting:
Thomas Dinges [Tue, 16 Aug 2011 08:40:25 +0000 (08:40 +0000)]
2.6 Node Muting:
* Removing check if Node is in between, so in-/output nodes can be muted as well. Useful for example if you want to temporarily mute a file output node.

8 years agothe diffuse kernel I had first picked for dilation turned out to be not as great...
Morten Mikkelsen [Mon, 15 Aug 2011 17:55:25 +0000 (17:55 +0000)]
the diffuse kernel I had first picked for dilation turned out to be not as great as I first thought. This kernel is a more basic one (trite but true)

8 years agopatch [#22523] Expose Object.parentinv matrix via RNA
Campbell Barton [Mon, 15 Aug 2011 17:29:07 +0000 (17:29 +0000)]
patch [#22523] Expose Object.parentinv matrix via RNA
from Balajee R C (balajeerc)

8 years agoWindow was losing focus when switching from full screen via Alt+F11
Alexander Kuznetsov [Mon, 15 Aug 2011 16:26:37 +0000 (16:26 +0000)]
Window was losing focus when switching from full screen via Alt+F11
Fixes [#28243]

8 years agofix [#28227] join_uv and bake work wrong
Campbell Barton [Mon, 15 Aug 2011 16:25:05 +0000 (16:25 +0000)]
fix [#28227] join_uv and bake work wrong
added back ability to unwrap all selected mesh objects.

8 years agoCode cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unused
Brecht Van Lommel [Mon, 15 Aug 2011 16:18:04 +0000 (16:18 +0000)]
Code cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unused
functions.

8 years agoRemove message "Info: Config directory with "startup.blend" file not found."
Brecht Van Lommel [Mon, 15 Aug 2011 16:12:39 +0000 (16:12 +0000)]
Remove message "Info: Config directory with "startup.blend" file not found."

There's no reason to have it really, this situation is totally normal, and it
means a terminal window is opened on Windows as long as you haven't saved any
default settings yet.

8 years agoFix #27718: driving modifier properties was missing updates, fixed depsgraph.
Brecht Van Lommel [Mon, 15 Aug 2011 14:05:04 +0000 (14:05 +0000)]
Fix #27718: driving modifier properties was missing updates, fixed depsgraph.

8 years agoFix #28162: texture properties didn't show correct texture datablock chooser
Brecht Van Lommel [Mon, 15 Aug 2011 13:17:39 +0000 (13:17 +0000)]
Fix #28162: texture properties didn't show correct texture datablock chooser
in a particular setup with two nested material nodes. Material active texture
was looking also recursively into material node, but this was already done
outside of this function.

8 years agoFix #27803: editing texture did not update compositing nodes using that texture.
Brecht Van Lommel [Mon, 15 Aug 2011 12:07:52 +0000 (12:07 +0000)]
Fix #27803: editing texture did not update compositing nodes using that texture.

8 years agoFix #28202: deactivating keymap items not saving properly.
Brecht Van Lommel [Mon, 15 Aug 2011 10:03:17 +0000 (10:03 +0000)]
Fix #28202: deactivating keymap items not saving properly.

8 years agopy api - optional sep argument for bpy_extra.io_utils.unique_name() since for some...
Campbell Barton [Mon, 15 Aug 2011 04:58:19 +0000 (04:58 +0000)]
py api - optional sep argument for bpy_extra.io_utils.unique_name() since for some formats '.' is an invalid char.

8 years agoworkaround [#28250] Append dialogue will ask to create new directory inside a .blend
Campbell Barton [Mon, 15 Aug 2011 04:11:55 +0000 (04:11 +0000)]
workaround [#28250] Append dialogue will ask to create new directory inside a .blend

directory button isnt library aware, for now disable it when a libraries loaded.

8 years agocomment unused lines.
Campbell Barton [Mon, 15 Aug 2011 03:41:31 +0000 (03:41 +0000)]
comment unused lines.

8 years agofix for bug where changing movie filepaths would reset the strip length.
Campbell Barton [Sun, 14 Aug 2011 14:43:11 +0000 (14:43 +0000)]
fix for bug where changing movie filepaths would reset the strip length.
also fixed possible & unlikely buffer overflow.

8 years agopatch [#28247] Fix for: [#28236] Separate By Materials fails when some materials...
Campbell Barton [Sun, 14 Aug 2011 12:02:01 +0000 (12:02 +0000)]
patch [#28247] Fix for: [#28236] Separate By Materials fails when some materials "available" to the mesh are unassigned
from Alex Fraser (z0r)

8 years agofix for fix r39388, this added checkboxes to buttons which are not supposed to have...
Campbell Barton [Sun, 14 Aug 2011 11:38:17 +0000 (11:38 +0000)]
fix for fix r39388, this added checkboxes to buttons which are not supposed to have them.
now only add checkboxes when the background is not emboss - which works for menus but will work in more general cases too.

8 years agoadd in asserts for when array/non array RNA funcions are used incorrectly, would...
Campbell Barton [Sun, 14 Aug 2011 10:28:18 +0000 (10:28 +0000)]
add in asserts for when array/non array RNA funcions are used incorrectly, would have made previous fix a lot easier to find.
also remove unused argument from RNA_property_array_check.

8 years agofix [#28245] Checkboxes in menu items fail for boolean arrays.
Campbell Barton [Sun, 14 Aug 2011 10:17:41 +0000 (10:17 +0000)]
fix [#28245] Checkboxes in menu items fail for boolean arrays.
2 bugs with displaying boolean arrays.

8 years agoFixing bug with editing keymaps when filter is enabled.
Sergey Sharybin [Sun, 14 Aug 2011 09:12:43 +0000 (09:12 +0000)]
Fixing bug with editing keymaps when filter is enabled.

8 years agopatch [#28246] Fix for [#28240]: selecting more than one object in the outliner with...
Campbell Barton [Sun, 14 Aug 2011 08:39:13 +0000 (08:39 +0000)]
patch [#28246] Fix for [#28240]: selecting more than one object in the outliner with "shift left mouse" doesn't work anymore
from Alex Fraser (z0r)

8 years agofix [#28225] Solidify Modifier creates wrong results when vertex group is attached
Campbell Barton [Sun, 14 Aug 2011 06:43:58 +0000 (06:43 +0000)]
fix [#28225] Solidify Modifier creates wrong results when vertex group is attached

infact this is not really a bug, irrespective zero vertex group weights gave overlapping geometry which isn't useful, add an option to set the thickness factor for zero weighted verts.

8 years agobugfix:[#25603] bad shadows in stereo mode - patch by Juha Maki-Kanto
Dalai Felinto [Sun, 14 Aug 2011 04:37:53 +0000 (04:37 +0000)]
bugfix:[#25603] bad shadows in stereo mode - patch by Juha Maki-Kanto

8 years ago- recently restored sequencer change data operator didnt reset the offsets after...
Campbell Barton [Sun, 14 Aug 2011 03:59:22 +0000 (03:59 +0000)]
- recently restored sequencer change data operator didnt reset the offsets after a hard cut, causing the new data to be trimmed.
- add change data operator to strip panel next to image file properties since editing every image manually isnt really usable.
- added new sequencer operator "Clear Offsets" (Alt+O), useful to reset the start/end frames around the strip data.

8 years ago2.6 UI Files:
Thomas Dinges [Sat, 13 Aug 2011 17:52:13 +0000 (17:52 +0000)]
2.6 UI Files:
* Code cleanup in the space_*.py files.
* Removed layout.column() statement in _MT_ panels, they are useless.
* Only define variables at the beginning of a function!

8 years agorunning bpy.ops.render.render('INVOKE_DEFAULT') would crash blender.
Campbell Barton [Sat, 13 Aug 2011 14:24:53 +0000 (14:24 +0000)]
running bpy.ops.render.render('INVOKE_DEFAULT') would crash blender.

8 years ago2.6 Release Cycle begin:
Thomas Dinges [Sat, 13 Aug 2011 13:45:03 +0000 (13:45 +0000)]
2.6 Release Cycle begin:
*BLENDER_VERSION_CYCLE set to alpha

Idea is to set it to alpha for the first 3 weeks (B-Con1)
Beta for B-Con 2 and 3
RC for B-Con 4
Release for B-Con 5

8 years agoindex_to_framebuffer (used for mesh selection) was being called 3x times per call...
Campbell Barton [Sat, 13 Aug 2011 09:22:14 +0000 (09:22 +0000)]
index_to_framebuffer (used for mesh selection) was being called 3x times per call to WM_set_framebuffer_index_color(), because of the cpack define.

8 years agoNodes: make node set active function usable outside of node editor, and in doing
Brecht Van Lommel [Fri, 12 Aug 2011 18:27:48 +0000 (18:27 +0000)]
Nodes: make node set active function usable outside of node editor, and in doing
so fix a missing updating when activating a node with multiple node editors open.

8 years agoCode cleanup: fix wrong doxygen file name.
Brecht Van Lommel [Fri, 12 Aug 2011 18:24:17 +0000 (18:24 +0000)]
Code cleanup: fix wrong doxygen file name.

8 years agoCode cleanup: small glsl mesh drawing code changes, getting rid of an ugly macro.
Brecht Van Lommel [Fri, 12 Aug 2011 18:17:28 +0000 (18:17 +0000)]
Code cleanup: small glsl mesh drawing code changes, getting rid of an ugly macro.

8 years agoCode cleanup: remove seam drawing in face select mode, was left over from when
Brecht Van Lommel [Fri, 12 Aug 2011 18:13:55 +0000 (18:13 +0000)]
Code cleanup: remove seam drawing in face select mode, was left over from when
seams were edited there, now only needed in edit mode.

8 years agoModifiers: add callback to loop over each texture assigned to a modifier.
Brecht Van Lommel [Fri, 12 Aug 2011 18:11:22 +0000 (18:11 +0000)]
Modifiers: add callback to loop over each texture assigned to a modifier.

8 years agoCode cleanup: replace some manual setting of ob->recalc with DAG_id_tag_update,
Brecht Van Lommel [Fri, 12 Aug 2011 18:06:05 +0000 (18:06 +0000)]
Code cleanup: replace some manual setting of ob->recalc with DAG_id_tag_update,
is now just as fast anyway with delayed flush.

8 years agoimport common classes from bpy.types, saves ~1000 python getattrs on startup.
Campbell Barton [Fri, 12 Aug 2011 06:57:00 +0000 (06:57 +0000)]
import common classes from bpy.types, saves ~1000 python getattrs on startup.

8 years agoadd bpy.types as a module for convenient imports, eg:
Campbell Barton [Fri, 12 Aug 2011 06:31:39 +0000 (06:31 +0000)]
add bpy.types as a module for convenient imports, eg:
  from bpy.types import Menu

8 years agosequencer todo: change sequence added back (C key)
Campbell Barton [Fri, 12 Aug 2011 06:08:22 +0000 (06:08 +0000)]
sequencer todo: change sequence added back (C key)

split up into operators
- change effect input
- change effect type
- change file data

Change plugin is not ported back yet.

8 years agoadd WM_FILESEL_FILES to WM_operator_properties_filesel, sequencer was doing this...
Campbell Barton [Fri, 12 Aug 2011 03:53:26 +0000 (03:53 +0000)]
add WM_FILESEL_FILES to WM_operator_properties_filesel, sequencer was doing this on its own.

8 years agosoft limits for add object rotation value, without cont. grab it would get to very...
Campbell Barton [Fri, 12 Aug 2011 03:18:04 +0000 (03:18 +0000)]
soft limits for add object rotation value, without cont. grab it would get to very large numbers with a small drag.

8 years agoun-inline GHash functions r26206, these are quite large functions to inline and incre...
Campbell Barton [Fri, 12 Aug 2011 02:23:06 +0000 (02:23 +0000)]
un-inline GHash functions r26206, these are quite large functions to inline and increase binary size by 30kb, (tested on stripped, cmake release build).

Ran some speed tests and difference was close to the noise level, but inlining gives only ~2 - 3% speedup with build modifier which uses ghash a lot.

8 years agouse correct libdir for buildbot win64.
Nathan Letwory [Thu, 11 Aug 2011 16:43:36 +0000 (16:43 +0000)]
use correct libdir for buildbot win64.

8 years agoCommiting patch from jensverwiebe for NDOF support on OSX v2.59
Sergey Sharybin [Thu, 11 Aug 2011 15:59:19 +0000 (15:59 +0000)]
Commiting patch from jensverwiebe for NDOF support on OSX

8 years agoFix for crash when using undo during sketching session.
Sergey Sharybin [Thu, 11 Aug 2011 13:40:47 +0000 (13:40 +0000)]
Fix for crash when using undo during sketching session.

Currently, grease pencil conflicts with such operators
as undo and set object mode which makes behavior totally
unpredictable and crash for some cases.

The only way to solve this proper is to ger rid of pointers
to data which can chage stored in operator custom data.

8 years agoFix #28180: crash running wm.keyconfigs.user.keymaps.new("My Keymap").
Brecht Van Lommel [Thu, 11 Aug 2011 11:56:02 +0000 (11:56 +0000)]
Fix #28180: crash running wm.keyconfigs.user.keymaps.new("My Keymap").
There isn't much point in doing this at the moment, but shouldn't crash.

8 years agoAdding a readonly length_squared property to mathutils.Vector. This is simply vector...
Mitchell Stokes [Thu, 11 Aug 2011 09:40:14 +0000 (09:40 +0000)]
Adding a readonly length_squared property to mathutils.Vector. This is simply vector.dot(vector), so nothing new is really added, but it's nice for writing more intent revealing code. In other words:

if vec.dot(vec) > some_distance*some_distance:
    do_something()

might not be quite as obvious looking as:

if vec.length_squared > some_distance*some_distance:
    do_something()

As to why you'd want to use length_squared over length is that length uses a square root, which isn't always necessary for simple distance checks (e.g., closest object, checks like the ones above, ect).

8 years agofix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils and...
Campbell Barton [Thu, 11 Aug 2011 08:24:56 +0000 (08:24 +0000)]
fix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils and thous

8 years agoSVN maintenance.
Guillermo S. Romero [Thu, 11 Aug 2011 06:40:04 +0000 (06:40 +0000)]
SVN maintenance.

8 years agouse ghash for operator and menu types, was doing string lookup in the operator list...
Campbell Barton [Thu, 11 Aug 2011 06:06:17 +0000 (06:06 +0000)]
use ghash for operator and menu types, was doing string lookup in the operator list (containing over 1000 items) for each button draw.

gives small speedup for UI drawing and overall startup time.

8 years agoifdef'd outliner code which is spesific to gsoc pepper with '// GSOC_PEPPER' so its...
Campbell Barton [Thu, 11 Aug 2011 05:50:05 +0000 (05:50 +0000)]
ifdef'd outliner code which is spesific to gsoc pepper with '// GSOC_PEPPER' so its obvious. this will keep merging pepper changes from conflicting and can be removed when its finally merged.

8 years agomerge outliner refactor so we dont have to keep outliner.c locked in trunk.
Campbell Barton [Thu, 11 Aug 2011 05:46:18 +0000 (05:46 +0000)]
merge outliner refactor so we dont have to keep outliner.c locked in trunk.

this wont build because of changes spesific to pepper, fix coming next.

svn merge source/blender/editors/space_outliner -r36830:38987 https://svn.blender.org/svnroot/bf-blender/branches/soc-2011-pepper/source/blender/editors/space_outliner

8 years agounlocking outliner.c and removing... (merging refactor from pepper but looks like...
Campbell Barton [Thu, 11 Aug 2011 05:43:20 +0000 (05:43 +0000)]
unlocking outliner.c and removing... (merging refactor from pepper but looks like this will take a few steps)

8 years agofix for regression for shape key UI, values are now editable again in the list, doubl...
Campbell Barton [Wed, 10 Aug 2011 20:12:27 +0000 (20:12 +0000)]
fix for regression for shape key UI, values are now editable again in the list, double checked this works for mesh/curve and lattice types.

8 years agoerror in own recent commit. set subversion to 0
Campbell Barton [Wed, 10 Aug 2011 16:05:20 +0000 (16:05 +0000)]
error in own recent commit. set subversion to 0

8 years ago2.59 Splash screen by tomket7. Congratulations!
Thomas Dinges [Wed, 10 Aug 2011 16:03:45 +0000 (16:03 +0000)]
2.59 Splash screen by tomket7. Congratulations!

Chosen by the jury Ben Simonds, Reynante Martinez and Hjalti Hj√°lmarsson.

8 years agoVersion bump for 2.59
Campbell Barton [Wed, 10 Aug 2011 16:02:02 +0000 (16:02 +0000)]
Version bump for 2.59