9 years agoFix own mistake: Open Collada libs are different for MinGW/MinGW64
Antony Riakiotakis [Thu, 17 May 2012 08:42:22 +0000 (08:42 +0000)]
Fix own mistake: Open Collada libs are different for MinGW/MinGW64

9 years agostyle cleanup: line length and ensure some macros error when not ending with ';'
Campbell Barton [Thu, 17 May 2012 07:59:25 +0000 (07:59 +0000)]
style cleanup: line length and ensure some macros error when not ending with ';'

9 years agoNitpicky stuff
Joshua Leung [Thu, 17 May 2012 02:50:07 +0000 (02:50 +0000)]
Nitpicky stuff
* Ensure "Base" is fully nullified before anyone uses it
* Force channel flush when changing Action Editor modes

9 years agoKeyingSets UI - Improving button layout for legibility of buttons
Joshua Leung [Thu, 17 May 2012 02:49:09 +0000 (02:49 +0000)]
KeyingSets UI - Improving button layout for legibility of buttons

* Use custom names for the keying options enum. The old automated layout dumped
out lengthy names which
didn't work well with the limited UI widths we were using, leading to all the
interesting stuff getting cropped out

* Moved the "array target" options to be in line with the rest of the target
specification stuff. I've ended up flattening that set of options into a single
row, which seems to work quite well.

* Removed label from grouping method enum. There was a perfectly good section
header above, and with narrow UI's, the name of this and the one below ended up
looking the same/confusing.

9 years agostyle cleanup: block comments
Campbell Barton [Wed, 16 May 2012 23:37:23 +0000 (23:37 +0000)]
style cleanup: block comments

9 years agoFix for clay strips brush not showing Add/Subtract buttons.
Nicholas Bishop [Wed, 16 May 2012 22:27:45 +0000 (22:27 +0000)]
Fix for clay strips brush not showing Add/Subtract buttons.

9 years agoFix [#31432] Angles values stuck at 60 degrees.
Bastien Montagne [Wed, 16 May 2012 20:35:09 +0000 (20:35 +0000)]
Fix [#31432] Angles values stuck at 60 degrees.

9 years agoevil mango feature, alt transform sequence strips bumps other strips out of the way
Campbell Barton [Wed, 16 May 2012 16:28:33 +0000 (16:28 +0000)]
evil mango feature, alt transform sequence strips bumps other strips out of the way

9 years agoNodes i18n: don't call gettext stuff twice for categories' names, when building Add...
Bastien Montagne [Wed, 16 May 2012 15:01:46 +0000 (15:01 +0000)]
Nodes i18n: don't call gettext stuff twice for categories' names, when building Add menu.

Now ui-names in foreach_nodeclass functions are only marked as translatable, it’s up to the callback to actually translate them or not!

9 years agoFix issue with linked dupli objects not being displayed in the viewport, if they
Brecht Van Lommel [Wed, 16 May 2012 14:36:15 +0000 (14:36 +0000)]
Fix issue with linked dupli objects not being displayed in the viewport, if they
have no object bounding box. Better fix will be to figure out why they are the
bounding boxes are not made.

Thanks to Campbell to tracking down the commit that caused this.

9 years agomodal operation for bevel and inset:
Antony Riakiotakis [Wed, 16 May 2012 14:30:41 +0000 (14:30 +0000)]
modal operation for bevel and inset:

This commit adds some first building blocks for the two operators to work modally based on mouse input. To make their function easier, two hotkeys are introduced, Ctrl+B for bevel and I for inset.

After discussion with Campbell, we would like to add scale-style line indicators for the operators. This is already done for transform operators but a new interface for mesh operations may have to be written using pieces from that code since, strictly speaking bevel and inset are not exactly "transform" operators.

Also, a better input method for inset is needed and more options exposed. The method implemented right now uses mouse move for thickness and ctrl-mouse move for depth. These are calculated using the distance of the selection center in screen space and the mouse position. While that may work and prevents abrupt changes in values when switching from thickness tweak mode to depth tweak mode, it limits the magnitude of values that can be put into the tool especially in small or large scale.

Alternatives until a better method is written include:

* use relative offset (works but may give strange results)
* tweak manually after the operation.

9 years agoSpell check fix (lenght -> length)
Bastien Montagne [Wed, 16 May 2012 14:25:25 +0000 (14:25 +0000)]
Spell check fix (lenght -> length)

Note: two remains, in comments in extern/bullet2/src/LinearMath/btVector3.h and extern/libmv/libmv/image/tuple.h.

9 years agoFix compile error with cmake + windows (reported by MiikaH)
Daniel Genrich [Wed, 16 May 2012 12:18:25 +0000 (12:18 +0000)]
Fix compile error with cmake + windows (reported by MiikaH)

9 years agostyle cleanup: indentation
Campbell Barton [Wed, 16 May 2012 12:14:31 +0000 (12:14 +0000)]
style cleanup: indentation

9 years agofix [#31320] Collada now supports import/export of loose edges (edges not attached...
Gaia Clary [Wed, 16 May 2012 11:21:03 +0000 (11:21 +0000)]
fix [#31320] Collada now supports import/export of loose edges (edges not attached to faces)

9 years agoFix #31369 (discussed in bug report comments). Setting the path/layer name strings...
Lukas Toenne [Wed, 16 May 2012 10:10:42 +0000 (10:10 +0000)]
Fix #31369 (discussed in bug report comments). Setting the path/layer name strings of the file/layer slots of the file output node would crash, due to missing pointer in the PointerRNA. Solved by using the iter-> pointer for the RNA collection iterator.

9 years agostyle cleanup: imbuf
Campbell Barton [Wed, 16 May 2012 09:26:37 +0000 (09:26 +0000)]
style cleanup: imbuf

9 years agoFix #31472: displace node wrong y derivative (simple typo). Credit to Ervin Weber...
Lukas Toenne [Wed, 16 May 2012 09:22:59 +0000 (09:22 +0000)]
Fix #31472: displace node wrong y derivative (simple typo). Credit to Ervin Weber (lusque) for the fix.

9 years agofix [#31474] Crash when object has parent and dupli_type == 'FRAMES' and show_x_ray...
Campbell Barton [Wed, 16 May 2012 08:42:50 +0000 (08:42 +0000)]
fix [#31474] Crash when object has parent and dupli_type == 'FRAMES' and show_x_ray, show_transparent are set to True

dupli objects should never be added to after-draw, added an assert to ensure this (and make fixing such bugs easier).

9 years agostyle cleanup: imbuf
Campbell Barton [Wed, 16 May 2012 07:38:23 +0000 (07:38 +0000)]
style cleanup: imbuf

9 years agoCPack rpm cleanup
Dan Eicher [Wed, 16 May 2012 02:51:58 +0000 (02:51 +0000)]
CPack rpm cleanup

-- package name and .spec->Version match
-- use find_lang macro for locales
-- Requires & Provides (mostly) match the fedora .spec
-- fix unpackaged file error for

TODO: figure out how persuade CPack to make multiple rpms to also package blenderplayer

9 years agoBugfix [#31469] 'cyclic offset' option is broken
Joshua Leung [Wed, 16 May 2012 02:40:14 +0000 (02:40 +0000)]
Bugfix [#31469] 'cyclic offset' option is broken

Removing this option from the UI. Cyclic offset and/or other the myriad of other
half-working walk/stride cycle stuff has been removed pending further review at
a later date about what's really needed, and the best way to do so with regards
to different rig types (i.e. setup antagonistic).

9 years agoCode cleanup: simplify standard GHash creation.
Nicholas Bishop [Wed, 16 May 2012 00:51:36 +0000 (00:51 +0000)]
Code cleanup: simplify standard GHash creation.

Added four new functions as shortcuts to creating GHashes that use the
standard ptr/str/int/pair hash and compare functions.

GHash *BLI_ghash_ptr_new(const char *info);
GHash *BLI_ghash_str_new(const char *info);
GHash *BLI_ghash_int_new(const char *info);
GHash *BLI_ghash_pair_new(const char *info);

Replaced almost all occurrences of BLI_ghash_new() with one of the
above functions.

9 years agostyle cleanup: pep8
Campbell Barton [Tue, 15 May 2012 18:50:51 +0000 (18:50 +0000)]
style cleanup: pep8

9 years agostyle cleanup: raytree code
Campbell Barton [Tue, 15 May 2012 18:45:20 +0000 (18:45 +0000)]
style cleanup: raytree code

9 years agoPython/CurveMapping: add Curve Mapping functions to add/remove curve points,
Brecht Van Lommel [Tue, 15 May 2012 18:34:00 +0000 (18:34 +0000)]
Python/CurveMapping: add Curve Mapping functions to add/remove curve points,
evaluate the curve and update after changes.

9 years agoUpdate create_vert_edge_map() to match create_vert_poly_map().
Nicholas Bishop [Tue, 15 May 2012 16:32:08 +0000 (16:32 +0000)]
Update create_vert_edge_map() to match create_vert_poly_map().

9 years agoFix cosmetic typos
Sergey Sharybin [Tue, 15 May 2012 16:11:04 +0000 (16:11 +0000)]
Fix cosmetic typos

Patch provided by Matteo F. Vescovi, thanks!

9 years agoRemove "Use Root Coordinates" from the interface
Sergey Sharybin [Tue, 15 May 2012 15:55:59 +0000 (15:55 +0000)]
Remove "Use Root Coordinates" from the interface

Seems it was never ported since 2.49 and currently makes no sense.

9 years agoFix for second part of #31445: Surface "Control Points" menu is empty
Sergey Sharybin [Tue, 15 May 2012 15:34:49 +0000 (15:34 +0000)]
Fix for second part of #31445: Surface "Control Points" menu is empty

The only difference that it should be Select Linked All operator added to the menu

9 years agoFix #31445: Surface "Control Points" menu is empty
Sergey Sharybin [Tue, 15 May 2012 15:28:59 +0000 (15:28 +0000)]
Fix #31445: Surface "Control Points" menu is empty

It is possible to create hook for surfaces, so display this entry
in Control points menu.

9 years agoFix: mirror modifier only mirrors first UV map (IRC report).
Brecht Van Lommel [Tue, 15 May 2012 15:02:02 +0000 (15:02 +0000)]
Fix: mirror modifier only mirrors first UV map (IRC report).

9 years agoCloth collisions:
Daniel Genrich [Tue, 15 May 2012 13:46:50 +0000 (13:46 +0000)]
Cloth collisions:

Add repulse for near vertices. This code didn't make sense where it was before. Still leaving it also at the old place since it cannot hurt.

9 years agoBlender Internal Render: Split quads to predictable (vertices 0,1,3) triangles for...
Daniel Genrich [Tue, 15 May 2012 13:39:44 +0000 (13:39 +0000)]
Blender Internal Render: Split quads to predictable (vertices 0,1,3) triangles for animated meshes.

This solves problems with collisions beeing rendered different than in viewport.

9 years agoFix for [#31464] Crash when issuing command line render engine list ("-E help")
Joerg Mueller [Tue, 15 May 2012 13:32:55 +0000 (13:32 +0000)]
Fix for [#31464] Crash when issuing command line render engine list ("-E help")

9 years agoA generalization of the modal node linking operator (for dragging from socket to...
Lukas Toenne [Tue, 15 May 2012 12:40:43 +0000 (12:40 +0000)]
A generalization of the modal node linking operator (for dragging from socket to socket).

This operator still had some built-in assumptions about the connectivity of input/output sockets (1-to-n in all current node systems). For future node systems (e.g. flow-based particles) and for general customizable nodes the operator is now fully symmetric and supports all kinds of connectivity limits (1:1, 1:n, m:1, m:n).

The operator data can also store a list of node links as opposed to a single link now, so that multiple links can be redirected at once. Holding the CTRL key when clicking a socket, all links from/to that socket are detached and can be moved to a different socket. This is useful for quickly appending a node without moving every individual link.

9 years agoCloth: Revert triangulation after talking with brecht.
Daniel Genrich [Tue, 15 May 2012 12:26:29 +0000 (12:26 +0000)]
Cloth: Revert triangulation after talking with brecht.

People: Better use subsurf after cloth since you can get failing collisions otherwise!

9 years agoFix #31449: multiple ClipEditor bug behaviour
Sergey Sharybin [Tue, 15 May 2012 12:25:26 +0000 (12:25 +0000)]
Fix #31449: multiple ClipEditor bug behaviour

Actually it wasn't a bug -- currently curve/dopesheet view are in separated
spaces, so to keep displaying data in sync it's needed to update all visible
clip editors when changing displaying clip datablock.

Changed logic here a bit, so current clip wouldn't be changes for clip editors
where view is set to CLIP, only dopesheet/graph views are getting updated.
Also do not update displaying clip datablock when changing it from curve/dopesheet.

9 years agoTag unused argument
Sergey Sharybin [Tue, 15 May 2012 12:17:56 +0000 (12:17 +0000)]
Tag unused argument

9 years agoFix [#31465] Segmentation Fault when Ctrl+Up/Down arrow to restore size of 3d Viewport.
Bastien Montagne [Tue, 15 May 2012 12:14:03 +0000 (12:14 +0000)]
Fix [#31465] Segmentation Fault when Ctrl+Up/Down arrow to restore size of 3d Viewport.

Simply added a check for NULL pointer...

9 years agoFix own compile error reported by brecht.
Daniel Genrich [Tue, 15 May 2012 12:07:44 +0000 (12:07 +0000)]
Fix own compile error reported by brecht.

9 years agoFix El Topo:
Daniel Genrich [Tue, 15 May 2012 11:35:01 +0000 (11:35 +0000)]
Fix El Topo:
- Library compile errors
- 2 Bugs (have been reported to lib owner)
- LAPACK for cmake

- Scons is still missing LAPACK lib define
- Do other platforms got LAPACK lib?

9 years agoCloth:
Daniel Genrich [Tue, 15 May 2012 11:14:50 +0000 (11:14 +0000)]
- Triangulate Cloth Mesh for collisions
- Speed up collisions
- Remove EL Topo code
- Prepare code to incooperate El Topo self collisions (TODO next commits)

- Triangulation: Is custom data/uv preserved correctly?
- Use MPoly not tessface?

9 years agoFix bug #31460, crash in multires on leaving edit mode
Nicholas Bishop [Tue, 15 May 2012 07:37:42 +0000 (07:37 +0000)]
Fix bug #31460, crash in multires on leaving edit mode

Fix overly aggressive check for creating GridPaintMasks, wasn't
creating them in the right place after adding new faces in editmode.

9 years agoAdd 'area' mode for brush texture projection.
Nicholas Bishop [Tue, 15 May 2012 04:50:57 +0000 (04:50 +0000)]
Add 'area' mode for brush texture projection.

This is similar to the 'view' mode, but uses the average local surface
normal rather than the view normal for projection.

Original code by Jason Wilkins (GSoC).


9 years agoCode/UI cleanup: improvements for sculpt brush texture settings.
Nicholas Bishop [Tue, 15 May 2012 04:50:47 +0000 (04:50 +0000)]
Code/UI cleanup: improvements for sculpt brush texture settings.

Settings are shown in both the View3D toolbar and texture properties
panel; code is now in shared sculpt_brush_texture_settings() function

Also added a few new properties to the SculptCapabilities RNA to
replace "X in {Y, Z}" tests in the Python code.

9 years agoCode cleanup: refactor sculpt normal and related functions.
Nicholas Bishop [Tue, 15 May 2012 04:44:20 +0000 (04:44 +0000)]
Code cleanup: refactor sculpt normal and related functions.

9 years agoCode cleanups for sculpt-related code.
Nicholas Bishop [Tue, 15 May 2012 04:44:13 +0000 (04:44 +0000)]
Code cleanups for sculpt-related code.

* Renamed flip_coord as flip_v3_v3
* Added flip_v3 for same input/output
* Moved special case for grab brush's normal into calc_area_normal()
* Renamed 'fixed' texture mode as 'view plane', mirrors
  Brush.sculpt_plane terminology

9 years agoCleanup optimization compile flags for mingw-w64.
Antony Riakiotakis [Mon, 14 May 2012 23:36:07 +0000 (23:36 +0000)]
Cleanup optimization compile flags for mingw-w64.
After testing it seems that for safe debug sessions, debug build optimizations need to be off.

Also removed sse flags from release flags since they are included in ray optimization flags which are on by default.

9 years agoSequenceElements.pop() -- added 'index' argument instead of just chopping off the...
Dan Eicher [Mon, 14 May 2012 21:32:35 +0000 (21:32 +0000)]
SequenceElements.pop() -- added 'index' argument instead of just chopping off the last element

9 years agoPartial fix for bug #31458 Convex Hull operator crash
Nicholas Bishop [Mon, 14 May 2012 20:59:08 +0000 (20:59 +0000)]
Partial fix for bug #31458 Convex Hull operator crash

Change hull's point/triangle side test to > rather than >=.

This seems to fix the (infinite?) loop, but not the crash.

9 years agoFix precision issue for bmo_hull.interior_geom output slot.
Nicholas Bishop [Mon, 14 May 2012 20:58:59 +0000 (20:58 +0000)]
Fix precision issue for bmo_hull.interior_geom output slot.

Keep track of interior verts during the hull build to avoid
imprecise floating-point test afterward.

9 years agoPatch [#31264] Elbeem Fixes by Jason Wilkins.
Daniel Genrich [Mon, 14 May 2012 16:19:58 +0000 (16:19 +0000)]
Patch [#31264] Elbeem Fixes by Jason Wilkins.

Thank you for submitting!

9 years agorevert 46626, which crashes blender during startup with fileno
Sv. Lockal [Mon, 14 May 2012 15:50:35 +0000 (15:50 +0000)]
revert 46626, which crashes blender during startup with fileno

There is a better way to fix this by zlib upgrade, which has its own open function for windows paths

9 years agoselect camera operator now works with view3d unlocked cameras,
Campbell Barton [Mon, 14 May 2012 14:39:21 +0000 (14:39 +0000)]
select camera operator now works with view3d unlocked cameras,
also corrected description.

9 years agoprevious lasso commit changed Ctrl+Click for adding markers making Ctrl+Click drag...
Campbell Barton [Mon, 14 May 2012 14:32:05 +0000 (14:32 +0000)]
previous lasso commit changed Ctrl+Click for adding markers making Ctrl+Click drag not work quite the same.

now Ctrl+Alt+LMB is lasso.

9 years agowas casting to short for int args.
Campbell Barton [Mon, 14 May 2012 13:54:00 +0000 (13:54 +0000)]
was casting to short for int args.

9 years agoMake blender compilable by gcc-4.7 and strict compilation flags:
Sergey Sharybin [Mon, 14 May 2012 13:31:38 +0000 (13:31 +0000)]
Make blender compilable by gcc-4.7 and strict compilation flags:

- Remove strict flags from files, which are using FFmpeg stuff
  We're still using some symbols which are marked as deprecated.
  Ideally, we shall switch to new API, but it's a bit larger challenge
  because we don't want to break compatibility withotu actual need.
- Replace MAKE_ID with BT_MAKE_ID in bullet library.
  This is needed to prevent re-definition of MAKE_ID in bullet library.
  Seems it's only used to read blender files, so should be quite safe

9 years agoFix for BLI_gzopen to work with utf filenames in windows
Sv. Lockal [Mon, 14 May 2012 13:28:36 +0000 (13:28 +0000)]
Fix for BLI_gzopen to work with utf filenames in windows

9 years agoChanges to naming tracker vs. track vs. marker to match assumptions taken in
Sergey Sharybin [Mon, 14 May 2012 12:50:36 +0000 (12:50 +0000)]
Changes to naming tracker vs. track vs. marker to match assumptions taken in

9 years agocode cleanup: add WM_gesture_lasso_path_to_array, move mouse path to array conversion...
Campbell Barton [Mon, 14 May 2012 12:41:56 +0000 (12:41 +0000)]
code cleanup: add WM_gesture_lasso_path_to_array, move mouse path to array conversion there.

9 years agolasso select for movie clip markers.
Campbell Barton [Mon, 14 May 2012 12:04:00 +0000 (12:04 +0000)]
lasso select for movie clip markers.

9 years agostyle cleanup: imbuf & icons
Campbell Barton [Sun, 13 May 2012 22:05:51 +0000 (22:05 +0000)]
style cleanup: imbuf & icons

9 years agoChange the scons configuration for MinGW-w64 to be more in-line with cmake. Also...
Antony Riakiotakis [Sun, 13 May 2012 17:26:07 +0000 (17:26 +0000)]
Change the scons configuration for MinGW-w64 to be more in-line with cmake. Also deactivate openmp as it causes crashes when rendering with subsurf or multires modifiers

9 years ago* Typo fix: rna_recursiev_attr_expand -> rna_recursive_attr_expand
Thomas Dinges [Sun, 13 May 2012 16:23:17 +0000 (16:23 +0000)]
* Typo fix: rna_recursiev_attr_expand -> rna_recursive_attr_expand

9 years agostyle cleanup: macro line breaks
Campbell Barton [Sun, 13 May 2012 16:05:10 +0000 (16:05 +0000)]
style cleanup: macro line breaks

9 years agoAdds “align” option to snap to verts/edges/faces, for bones in Pose mode.
Bastien Montagne [Sun, 13 May 2012 16:01:59 +0000 (16:01 +0000)]
Adds “align” option to snap to verts/edges/faces, for bones in Pose mode.

Have to use a ugly hack, as for pose bones, rotscale transform matrix is not always the same as translate one... :/

Adresses feature request [#30979] snapping: "align rotation with the snapping target" and pose-mode.

9 years agocode cleanup:
Campbell Barton [Sun, 13 May 2012 14:47:53 +0000 (14:47 +0000)]
code cleanup:
- use bmesh iterator macros in more places
- rename scanfill variables (were using same names as mesh faces/verts which was confusing)

9 years agoAdd support for opencollada for MinGW64 and cmake
Antony Riakiotakis [Sun, 13 May 2012 13:32:48 +0000 (13:32 +0000)]
Add support for opencollada for MinGW64 and cmake

9 years agoCycles: OpenCL image texture support, fix an attribute node issue and refactor
Brecht Van Lommel [Sun, 13 May 2012 12:32:44 +0000 (12:32 +0000)]
Cycles: OpenCL image texture support, fix an attribute node issue and refactor
feature enabling #defines a bit.

9 years agofix geometry to origin in mesh editmode - was broken since bmesh merge.
Campbell Barton [Sun, 13 May 2012 11:14:43 +0000 (11:14 +0000)]
fix geometry to origin in mesh editmode - was broken since bmesh merge.

9 years agocode cleanup: use vector math function minmax_v3v3_v3() and other minor vector functi...
Campbell Barton [Sun, 13 May 2012 11:05:52 +0000 (11:05 +0000)]
code cleanup: use vector math function minmax_v3v3_v3() and other minor vector function edits.

9 years agoSequencer / Clip Editor:
Thomas Dinges [Sun, 13 May 2012 09:26:01 +0000 (09:26 +0000)]
Sequencer / Clip Editor:
* Make it more clear that the Memory Cache Limit is used by the Clip Editor as well.

9 years agoMore work for [#31429] Curve menu polish.
Thomas Dinges [Sun, 13 May 2012 09:13:47 +0000 (09:13 +0000)]
More work for [#31429] Curve menu polish.
* Curve Extrude and Duplicate from Toolbar also moves the points now, same as for Mesh and in alignment with the menu.

* Fixed yet another tooltip.

9 years agocode cleanup: use static functions for transform operators
Campbell Barton [Sat, 12 May 2012 23:18:14 +0000 (23:18 +0000)]
code cleanup: use static functions for transform operators

9 years agoadd access to bevel weight modal operator (only available in the Shift+E edge menu...
Campbell Barton [Sat, 12 May 2012 23:07:52 +0000 (23:07 +0000)]
add access to bevel weight modal operator (only available in the Shift+E edge menu currently)

9 years agopatch [#31434] IDMaterials.pop/append() UI update from console
Campbell Barton [Sat, 12 May 2012 22:38:15 +0000 (22:38 +0000)]
patch [#31434] IDMaterials.pop/append() UI update from console
from Dan Eicher (dna)

9 years agocode cleanup: missed some min/max use of float[3], also found case of DO_MIN/MAX...
Campbell Barton [Sat, 12 May 2012 22:34:20 +0000 (22:34 +0000)]
code cleanup: missed some min/max use of float[3], also found case of DO_MIN/MAX re-reading same value from array 4 times when it can do once (use minf rather then MIN2, same for maxf)

9 years agocode cleanup: minor improvements to float/vector usage.
Campbell Barton [Sat, 12 May 2012 22:13:38 +0000 (22:13 +0000)]
code cleanup: minor improvements to float/vector usage.

9 years agoDisable sm_13 CUDA kernel building for now, as the build fails with out of memory.
Nathan Letwory [Sat, 12 May 2012 22:00:32 +0000 (22:00 +0000)]
Disable sm_13 CUDA kernel building for now, as the build fails with out of memory.

9 years agoprevious commit didnt work right, the flag is still needed, wrap access with function...
Campbell Barton [Sat, 12 May 2012 21:38:35 +0000 (21:38 +0000)]
previous commit didnt work right, the flag is still needed, wrap access with functions so the NULL check is always done.

9 years agoEnable setting of CUDA kernels to compile on command-line:
Nathan Letwory [Sat, 12 May 2012 21:37:01 +0000 (21:37 +0000)]
Enable setting of CUDA kernels to compile on command-line:

python scons/ BF_CYCLES_CUDA_BINARIES_ARCH=sm_20,sm21

9 years agoreplace GP_PAINTFLAG_STROKEADDED with a NULL check, saves worrying about keeping...
Campbell Barton [Sat, 12 May 2012 21:29:25 +0000 (21:29 +0000)]
replace GP_PAINTFLAG_STROKEADDED with a NULL check, saves worrying about keeping the flag correct after undo.

9 years agofix [#31427] Crash when undoing until no point in grease pencil poly mode
Campbell Barton [Sat, 12 May 2012 21:23:02 +0000 (21:23 +0000)]
fix [#31427] Crash when undoing until no point in grease pencil poly mode

9 years agofix [#31428] bpy.ops.wm.path_open only works once
Campbell Barton [Sat, 12 May 2012 21:11:48 +0000 (21:11 +0000)]
fix [#31428] bpy.ops.wm.path_open only works once

9 years agofix for own bad logic with polygon normal calculation, was reading one past the loop...
Campbell Barton [Sat, 12 May 2012 21:01:26 +0000 (21:01 +0000)]
fix for own bad logic with polygon normal calculation, was reading one past the loop array (reported as bug #31431).

9 years ago3D View:
Thomas Dinges [Sat, 12 May 2012 20:50:46 +0000 (20:50 +0000)]
3D View:
* Changed Duplicate and Exture Operator fpr Curves/Surfaces to Duplicate/Extrude and Move, like for Mesh objects, for consistency. This is also consistent with Shift+D and E shortcut.

This fixes [#31429] Curve menu polish.

* Fixed a wrong tooltip for metaball duplication.

9 years agocode cleanup: header cleanup and remove some duplicate defines.
Campbell Barton [Sat, 12 May 2012 20:39:39 +0000 (20:39 +0000)]
code cleanup: header cleanup and remove some duplicate defines.

9 years agostyle cleanup: blenkernel
Campbell Barton [Sat, 12 May 2012 19:18:02 +0000 (19:18 +0000)]
style cleanup: blenkernel

9 years agoFix [#31426] Unwrapping, First unwrap unwraps with LSCM, not with Angle Based
Bastien Montagne [Sat, 12 May 2012 16:42:50 +0000 (16:42 +0000)]
Fix [#31426] Unwrapping, First unwrap unwraps with LSCM, not with Angle Based

When operator method property is not set, the operator uses the one from current scene settings. We must update the operator property accordingly...

Also updated default startup.blend file, to match default AngleBased method (was on Conformal one).

9 years agocode cleanup: some style and use math defines, also small speedup for dynamicpaint...
Campbell Barton [Sat, 12 May 2012 16:42:12 +0000 (16:42 +0000)]
code cleanup: some style and use math defines, also small speedup for dynamicpaint, dont call acosf twice.

9 years agostyle cleanup: whitespace
Campbell Barton [Sat, 12 May 2012 16:11:34 +0000 (16:11 +0000)]
style cleanup: whitespace

9 years agostyle cleanup: remaining BLI files.
Campbell Barton [Sat, 12 May 2012 15:13:06 +0000 (15:13 +0000)]
style cleanup: remaining BLI files.

9 years agostyle cleanup: whitespace, bli & makesdna
Campbell Barton [Sat, 12 May 2012 15:02:10 +0000 (15:02 +0000)]
style cleanup: whitespace, bli & makesdna

9 years agooptimization for select similar
Campbell Barton [Sat, 12 May 2012 14:25:14 +0000 (14:25 +0000)]
optimization for select similar
- use angle_normalized_v3v3() where both vectors are known to be normalized.
- remove needless radian to degrees conversions.
- move checks for customdata layers outside the inner loop (for bevel and crease).

9 years agoadd bevel to select similar edges operator
Campbell Barton [Sat, 12 May 2012 14:06:35 +0000 (14:06 +0000)]
add bevel to select similar edges operator

9 years agostyle cleanup: mostly whitespace in rna
Campbell Barton [Sat, 12 May 2012 11:01:29 +0000 (11:01 +0000)]
style cleanup: mostly whitespace in rna

9 years agofix for building without libmv
Campbell Barton [Sat, 12 May 2012 09:40:23 +0000 (09:40 +0000)]
fix for building without libmv

9 years agoreworded tooltip for Tripod Motion button; fixing spelling and making more clear
Ed Halley [Sat, 12 May 2012 04:31:03 +0000 (04:31 +0000)]
reworded tooltip for Tripod Motion button; fixing spelling and making more clear

9 years agofix [#30905] Operator preset save doesn't serialize PropertyGroups
Campbell Barton [Fri, 11 May 2012 18:55:14 +0000 (18:55 +0000)]
fix [#30905] Operator preset save doesn't serialize PropertyGroups

fix based on patch by Julien Rivaud (frnchfrgg), but re-written a bit differently not to be operator specific.