Commit Graph

38527 Commits

Author SHA1 Message Date
Campbell Barton
ea11bc980a debugging check for bmesh (commented since its very slow), but useful for debugging some scripts. 2012-05-21 12:30:06 +00:00
Jeroen Bakker
998a850f9f Added switch in dilate/erode between old (Step) and new (Distance)
algorithm

Connected the Glare Fog Flow to use Fast Gaussian in stead of Bokeh blur
2012-05-21 10:20:30 +00:00
Campbell Barton
14e4ad9302 fix for fix - possible on second loop to use freed memory still. 2012-05-21 10:13:43 +00:00
Campbell Barton
23d628a54f fix for unlikely but possible use of uninitialized pointers. 2012-05-21 10:11:51 +00:00
Campbell Barton
04bc89a8b6 code cleanup: remove some old comments 2012-05-21 09:00:35 +00:00
Campbell Barton
252f3556e4 fix for minor annoyance when an operator is called by another - dont add blend file to recent history.
this way demo-mode addon doesnt clobber the recent history with demo files its operator loads.
2012-05-21 08:24:03 +00:00
Campbell Barton
09b4d262b9 Quiet null pointer free warning/error. 2012-05-21 08:10:37 +00:00
Campbell Barton
65b2385448 py api integration: __import__(... , level=0)
default changed to work with python3.3
2012-05-21 07:00:23 +00:00
Campbell Barton
c230ce0ac6 fix for error pointed out by Nicholas Bishop, BM_edge_face_pair & BM_edge_loop_pair returned TRUE for single face user edges. 2012-05-21 06:44:46 +00:00
Campbell Barton
be53fde9cd code cleanup:
- remove duplicate includes
- blender builds with -Werror in C++ for fluids/smoke
2012-05-21 06:33:45 +00:00
Joshua Leung
000ac36290 readfile.c Style cleanups Part 2 - More whitespace + replaced most of the while
loops
2012-05-21 06:33:32 +00:00
Peter Schlaile
f8c1a71f24 == Compositor ==
This fixes occasional crashes on uninitialized memory, when we open a blend 
file which has movie or image input nodes pointing to none existent 
source files.
2012-05-20 21:24:08 +00:00
Campbell Barton
3896ad4cbb code cleanup: spelling 2012-05-20 21:23:26 +00:00
Daniel Stokes
deac41506f Fix #31511: GLSL preview is much darker than F12 results
A problem caused by Harmony branch code. A value was being set improperly for the GLSL shader.
2012-05-20 21:19:55 +00:00
Campbell Barton
2d2d36fe3b code cleanup:
- style - multi-line ifs move braces onto new lines.
- iterators - convert some to macros, other split up and move brace.
2012-05-20 19:49:27 +00:00
Campbell Barton
5d92564041 use utf8 functions for new modifier names 2012-05-20 18:19:45 +00:00
Gaia Clary
baef07c229 Renamed the COLLADA Import/export labels to 'Collada (Default)' to make it better separatable from target specific exporters 2012-05-20 17:40:57 +00:00
Thomas Dinges
cd1f8200de Sequencer UI:
* Some consistency tweaks.
2012-05-20 15:52:24 +00:00
Nicholas Bishop
f919973f32 Fix bug #31529 Remesh remove Apply as Shape button
Change modifier_sameTopology() to not not treat Nonconstructive
modifiers as having same topology. This function is only used to test
whether Apply as Shape is allowed.

The exact nature of "nonconstructive" modifiers is not documented, but
current list is remesh, fluidsim, decimate, mask, build, and
boolean. All of these modify topology, and should not be making making
shape keys.
2012-05-20 15:00:19 +00:00
Bastien Montagne
1cb1d51db4 Various small fixes:
*i18n: panel title of current tool in 3D view & File windows are now translated, as well a redo (F3) menu.
*MESH_OT_faces_select_linked_flat & MESH_OT_edges_select_sharp: use ANGLE RNA prop for sharpness, and fix tip of the later op.
2012-05-20 13:56:42 +00:00
Andrew Hale
518ff6995d BMesh Py API Fix: hide attribute of BMesh elements was returning the select flag. Fixed for all elements including loops, although this is commented out anyway. Reported by Crouch in IRC. 2012-05-20 12:52:46 +00:00
Antony Riakiotakis
c464654f5e Fix memory leak when trying to apply transformations to shared meshes 2012-05-20 11:06:46 +00:00
Thomas Dinges
1e33cc4384 Sequencer UI:
* Code cleanup
* Fixed wrong label for Inverse Select in the Select menu
* Some layout tweaks for space saving and avoid abbreviations in the UI.
* "Image Offset" and "Image Crop" buttons were there twice, once in the Strip Input panel and once in the Effect Strip panel, show it in the Strip Input panel only now. 
* Commented the third input fields ("input_3"), only used by the deprecated plugin system according to an RNA comment.
2012-05-20 00:34:54 +00:00
Nicholas Bishop
997d7d50c9 Fix sculpt layer brush, broken by texture changes in r46651. 2012-05-19 23:11:46 +00:00
Dan Eicher
dd7229aee0 Added 'LIBRARY_EDITABLE' flag to bpy.props.*
Rationale: custom props on linked objects are editable through ops and the console but the UI code calls RNA_property_editable() which returns false if (id->lib && !(prop->flag & PROP_LIB_EXCEPTION))

Setting the 'LIBRARY_EDITABLE' flag allows UI templates to change these props (but the changes aren't saved!) for things like indices into CollectionProperties which live on the linked object
2012-05-19 21:22:01 +00:00
Bastien Montagne
436b63eea5 Fix [#31535] Radian Unit System Button Ignored for Face Angles display.
Also avoid multiplying each vertex three times with obmat...
2012-05-19 20:16:29 +00:00
Campbell Barton
ed679693c9 style cleanup: whitespace/indentation 2012-05-19 13:55:54 +00:00
Campbell Barton
af3e348430 code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also replace do prefix with do_ for bool vars. 2012-05-19 13:28:19 +00:00
Campbell Barton
2f5173887e disable overwriting the PYTHONPATH for windows - reported as [#31506] 2012-05-19 10:10:49 +00:00
Campbell Barton
9c9a5b882d style cleanup: ghost 2012-05-19 09:57:55 +00:00
Bastien Montagne
f8f282fc96 Add i18n to “button” and “Area Options” pop-up menus. 2012-05-19 09:46:41 +00:00
Campbell Barton
112b1a0779 style cleanup: ghost headers 2012-05-19 09:23:08 +00:00
Thomas Dinges
03ed173fe6 3D View UI:
* Remove redundant "Delete" for Edge Loop in the Delete (X) menu.
2012-05-18 21:13:22 +00:00
Campbell Barton
6522880772 style cleanup: ghost/x11 2012-05-18 20:13:40 +00:00
Brecht Van Lommel
e499df7b39 Fix #31504: uv unwrap incorrectly scaling pinned islands. 2012-05-18 15:20:45 +00:00
Brecht Van Lommel
d2895f0a59 Fix #31395: setting mesh.uv_textures['uvmap'].active did not update correctly. 2012-05-18 15:06:26 +00:00
Brecht Van Lommel
29a1a05aa5 Fix #31430: itasc solver assertion failure with debug builds. 2012-05-18 15:06:23 +00:00
Brecht Van Lommel
f53e6166fb add missing include 2012-05-18 14:08:54 +00:00
Brecht Van Lommel
93aa83f0a3 Fix #31518: changing cycles exposure did unnecessary rerender in viewport. 2012-05-18 14:06:53 +00:00
Brecht Van Lommel
74367ae091 Fix #31400: opengl offscreen render not respecting theme settings. 2012-05-18 14:05:59 +00:00
Brecht Van Lommel
578864180b Fix related to #31446: cycles glsl error with empty image texture node. 2012-05-18 13:30:34 +00:00
Benoit Bolsee
894dd820ac Fix bug in controller list scan (introduced in recent code cleanup) 2012-05-18 13:27:33 +00:00
Brecht Van Lommel
03222143c0 Add "Install Theme" button in user preferences, patch #31505 by Julien Duroure. 2012-05-18 12:49:27 +00:00
Brecht Van Lommel
adb567f6b3 File browser: list of system directories is now refreshed on pressing the refresh
button or opening the file browser, in case e.g. a USB stick was inserted.

Patch #31211 by Julien Duroure.
2012-05-18 12:49:25 +00:00
Brecht Van Lommel
3e83fd441d Fix #31486: cycles texture coordinate reflection output has wrong direction. 2012-05-18 12:49:22 +00:00
Campbell Barton
76f28921dc add option for screw modifier to smooth shade. (renamed smooth_shading to use_smooth_shade for remesh modifier too) 2012-05-18 10:37:49 +00:00
Campbell Barton
181f3670c9 patch [#31507] site not automatically imported when using external python package
made some modificatons to normal python startup also.
2012-05-18 10:19:49 +00:00
Lukas Toenne
f55b6a5331 Fix for Tile image node. This was still using the path string for multilayer output instead of the dedicated layer name string. 2012-05-18 10:00:31 +00:00
Lukas Toenne
e74de72b96 When generating enums for the image node render layers, replace empty strings with a simple space character. This little hack allows the enum item to be selected from the dropdown list. 2012-05-18 10:00:28 +00:00
Lukas Toenne
ef87676262 Partial revert of r46542.
Displaying image layers with flattened names (render_layer.render_pass) can lead to extremely long socket lists, especially with older files that were used with distinct render layers before. In general the flattening of names would be preferable, but it needs a sensible way of limiting the number of displayed outputs. For now the render layer dropdown selection is the best option to ensure usability.
2012-05-18 09:26:55 +00:00