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
Sergey Sharybin
130e7ab6f4
Move search area form track to marker structure
...
This allows different markers has different size of search area which
makes it possible to scale search area when doing planar tracking.
Made changes to all related areas such as transformation, tracking,
finally ported marker clamping function, added python bindings for
changed search area and added python API for pattern corners.
TODO: It's still possible to make marker's center go outside of pattern
corners when translating pattern area or rotating it around median
point.
2012-05-21 09:19:08 +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
Sergey Sharybin
ca446f090b
Fix aspect ratio correction for translating motion tracking data
...
Still has got some issues when translating masks.
2012-05-19 16:55:20 +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
009689fc76
svn merge ^/trunk/blender -r46714:46724 --- before tile branch merge
2012-05-19 11:11:00 +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
Tamito Kajiyama
a5152b7ca0
Merged changes in the trunk up to revision 46787.
...
Conflicts resolved:
source/blender/blenkernel/intern/idcode.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/include/ED_anim_api.h
source/blender/editors/include/UI_resources.h
source/blender/makesrna/intern/rna_main.c
2012-05-19 08:40:56 +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
Keir Mierle
c72298ea19
Remove an unnecessary template<> line in libmv. Convert debug logs to LG.
2012-05-18 20:04:43 +00:00
Sergey Sharybin
c5dd787933
No need to invert brute and normalization flags in rna.
...
Also remove currently unused update callback.
2012-05-18 19:22:50 +00:00
Thomas Dinges
e63040a263
Tomato Branch:
...
* Fix for msvc, it needs stdio header for the NULL keyword.
2012-05-18 19:17:55 +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
Campbell Barton
ec142edaa0
code cleanup: use for loops for mask/spline looping
2012-05-18 14:49:30 +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
Campbell Barton
2870366d72
rename 'mask shape' to mask object, will make adding shape keys less confusing.
2012-05-18 12:51:11 +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