Commit Graph

26128 Commits

Author SHA1 Message Date
Campbell Barton 17c8621cc8 fix [bf-blender-Patches][27924] Redundant applying of SetNetworkDevice
noticed by Jorge Bernal (lordloki)
2011-08-21 21:17:55 +00:00
Sergey Sharybin 36f20f162c 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.
2011-08-21 13:31:46 +00:00
Ton Roosendaal 4427c14683 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.
2011-08-21 13:25:19 +00:00
Campbell Barton 8fcc8dd776 fix for out of bounds array access for shaded drawing in the UI, remove alpha blending for uiDrawBoxShade and uiDrawBoxVerticalShade. 2011-08-21 10:14:21 +00:00
Campbell Barton f8ec017900 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%. 2011-08-20 17:39:13 +00:00
Campbell Barton d4dec1c3bc 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.
2011-08-20 14:23:43 +00:00
Campbell Barton a0a96a84fe fix for crash when loading a file from a script, and executing user modules in the newly loaded file. 2011-08-20 13:29:42 +00:00
Campbell Barton 5d88ba6165 remove over zealous undo's on operators that don't need it. 2011-08-19 20:25:25 +00:00
Campbell Barton 3a81f23e09 warning cleanup for -Wdouble-promotion 2011-08-19 16:21:29 +00:00
Campbell Barton 2c1182664c 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).
2011-08-19 10:38:34 +00:00
Campbell Barton 561b49e925 minor style change 2011-08-19 10:35:47 +00:00
Campbell Barton 0de9112102 store a pointer to the units system in the uiBlock since the button code was doing context lookups for the scene quite a lot. 2011-08-18 20:01:30 +00:00
Campbell Barton 042d4d3509 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.
2011-08-18 19:07:37 +00:00
Campbell Barton 238955070b 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.
2011-08-18 18:42:42 +00:00
Morten Mikkelsen ccdec67fec bugfix: genx and geny are not the image resolution. Texture space variant needs this. 2011-08-18 17:25:54 +00:00
Campbell Barton 39a46cd4ed disable undo for hard coded interface buttons:
- space type switcher.
- header menu toggle.
- properties window header buttons.
- various view3d manipulator buttons.
2011-08-18 17:09:23 +00:00
Campbell Barton 00426038d0 disable undo for screen & wm RNA buttons, changing shading mode via the UI for eg was doing an undo push. 2011-08-18 16:26:34 +00:00
Campbell Barton 2bd016fe3f formatting edits, no functional changes. 2011-08-18 12:20:10 +00:00
Campbell Barton 83c090a555 fix for bad array access in transform operator, was assigning an array to a single float operator value. 2011-08-18 12:09:53 +00:00
Janne Karhu 591b087204 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.
2011-08-18 02:12:23 +00:00
Mitchell Stokes 5c20bc02ff 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. 2011-08-17 20:44:15 +00:00
Mitchell Stokes 14d2d7c75f 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. 2011-08-17 20:17:27 +00:00
Brecht Van Lommel 1719963a08 Fix #28207: animating pin option for cloth didn't work, solver doesn't support
it, so set the property as not animatable.
2011-08-17 15:55:42 +00:00
Brecht Van Lommel feb7afe671 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.
2011-08-17 14:43:11 +00:00
Thomas Dinges 8536209260 2.6 RNA:
* Remove some NULL RNA property update calls, they do nothing.
2011-08-17 13:04:28 +00:00
Brecht Van Lommel b6dcf3b1c2 Fix #28277: changing smoke border collision type did not reset cache, making
it seem like the option wasn't working.
2011-08-17 12:52:38 +00:00
Brecht Van Lommel 0bac3e17df 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.
2011-08-17 12:09:02 +00:00
Campbell Barton dd8d24ff9d fix [#28274] Cant select aditional object in edit mode.
missing feature from 2.4x
2011-08-16 22:44:12 +00:00
Campbell Barton feb52de6b5 fix for error calling RNA_property_float_get_index on non array float rotations when displaying. 2011-08-16 22:18:24 +00:00
Campbell Barton dddfb5e173 minor fix, armature selection outline was not being drawn for non-active, selected armature object when they were in pose mode. 2011-08-16 13:46:51 +00:00
Campbell Barton e98074d327 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. 2011-08-16 13:10:46 +00:00
Sergey Sharybin c7f9e9a80f Fix #28273: Crash playing with Follow path+Bevel+Material
Crash was caused by old refactor of displists.
Added additional check to makeDispListCurveTypes.
2011-08-16 10:31:28 +00:00
Thomas Dinges b4df54151a 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.
2011-08-16 08:40:25 +00:00
Morten Mikkelsen 405218df6f 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) 2011-08-15 17:55:25 +00:00
Campbell Barton cdb5d11c5f patch [#22523] Expose Object.parentinv matrix via RNA
from Balajee R C (balajeerc)
2011-08-15 17:29:07 +00:00
Brecht Van Lommel ae884d2e54 Code cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unused
functions.
2011-08-15 16:18:04 +00:00
Brecht Van Lommel 27b3695c4f 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.
2011-08-15 16:12:39 +00:00
Brecht Van Lommel f53143dc83 Fix #27718: driving modifier properties was missing updates, fixed depsgraph. 2011-08-15 14:05:04 +00:00
Brecht Van Lommel b62951c0d5 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.
2011-08-15 13:17:39 +00:00
Brecht Van Lommel 470b39608a Fix #27803: editing texture did not update compositing nodes using that texture. 2011-08-15 12:07:52 +00:00
Brecht Van Lommel 270ed82c7b Fix #28202: deactivating keymap items not saving properly. 2011-08-15 10:03:17 +00:00
Campbell Barton e4f2234fff 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.
2011-08-15 04:11:55 +00:00
Campbell Barton 2c8e1e633c comment unused lines. 2011-08-15 03:41:31 +00:00
Campbell Barton 02b24e655b fix for bug where changing movie filepaths would reset the strip length.
also fixed possible & unlikely buffer overflow.
2011-08-14 14:43:11 +00:00
Campbell Barton 181104261d patch [#28247] Fix for: [#28236] Separate By Materials fails when some materials "available" to the mesh are unassigned
from Alex Fraser (z0r)
2011-08-14 12:02:01 +00:00
Campbell Barton cad6ed9bc6 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.
2011-08-14 11:38:17 +00:00
Campbell Barton 540f0c64b5 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.
2011-08-14 10:28:18 +00:00
Campbell Barton 62fdee3d8a fix [#28245] Checkboxes in menu items fail for boolean arrays.
2 bugs with displaying boolean arrays.
2011-08-14 10:17:41 +00:00
Campbell Barton 2187f6772c 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)
2011-08-14 08:39:13 +00:00
Campbell Barton 0b23d378fb 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.
2011-08-14 06:43:58 +00:00