Commit Graph

50664 Commits

Author SHA1 Message Date
Campbell Barton
59cdb0d65d fix memory leak with navmesh 2013-11-02 04:22:08 +00:00
Campbell Barton
df1f21d678 code cleanup: warnings 2013-11-02 04:04:30 +00:00
Bastien Montagne
2742cb6000 Fix [#37290] Movie files filtering does not show *.ts files. 2013-11-01 18:20:21 +00:00
Dalai Felinto
614b15a70d missing bit from last float precision update (patch by 'unknow' via irc) 2013-11-01 18:11:54 +00:00
Thomas Beck
d2cd8715f4 Fix blenderplayer build, stub for modifier_skin_customdata_ensure(...) 2013-11-01 16:39:11 +00:00
Thomas Dinges
1eb90abf2b * Extrude options where available in object mode (search menu), resulting in error msg.
Added polls now, patch by Gottfried Hofmann (gottfried).
2013-11-01 13:14:17 +00:00
Howard Trickey
e8c54b682a Add 'cut-through' option for Knife Project operator.
If enabled, it makes knife project act as the
cut-through (Shift-K) version of knife.
This option will soon be more useful when a better
cut-though Knife change is submitted, allowing
this to work for cuts within faces in addition
to cuts across them.
2013-11-01 11:42:11 +00:00
Thomas Dinges
2c57e4f577 Cycles:
* Change the default Light Path settings.

* Diffuse/Glossy bounces are now set to 4, to give a bit faster renders in default scenes. More bounces are often not needed (especially in animation). 
* Transmission bounces have been increased to 12, to not run into problems with dark glass too quickly. 
* Max/Min bounces are now 12/3.
2013-11-01 09:37:42 +00:00
Bastien Montagne
b375388959 Fix [#37266] Skin modifier can't be copied.
Patch by Martin Felke, many thanks.

When copying that modifier across objects, we also have to ensure that a skin CDLayer is present in dest objects (just as when adding it).
2013-11-01 08:31:36 +00:00
Bastien Montagne
1512cda61d Fix [#37224] Icons: tiny interface issue with certain DPI settings.
For some reason (consistant margin?), the whole icon stuff is shifted by two vertically in the svg file - but the bottom row of numbers was not, comming in touch with the icon area, and at some DPI values it showed in icons...
2013-11-01 08:03:25 +00:00
Sergey Sharybin
57f72623e3 Fix #37270: Blender crashes in several situations
Issue was caused by cloth modifier used for particle
system dynamic have an invalid error field pointer.
Seems at some point cloth failed to apply and set an
error,

This commit only fixes crash with existing file,
will look further into why exactly such situation
happened,
2013-11-01 04:24:29 +00:00
Sergey Sharybin
21fe81bc13 Expose is_keyframed flag for tracking marker
So now it's possible to know from python whether
marker is a keyframe or tracked one.
2013-11-01 04:06:01 +00:00
Campbell Barton
7371aaab08 fix for weight-paint crash picking the weight with the mask modifier (or any modifier which removes geometry).
was incorrectly mixing indices from the DerivedMesh and the original mesh.
2013-11-01 01:14:36 +00:00
Campbell Barton
f9d5bccb06 code cleanup: spelling 2013-10-31 23:52:44 +00:00
Andrea Weikert
fc0e225a77 FIX: [#37199] .ogg file is not recognized as a movie in File Browser
CHANGE: writing an animation in the ogg movie format now defaults to .ogv (ogg/video) which is recommended by Xiph.org for video
CHANGE: for .ogg files a check is added whether Blender can read it as a movie (is avi or ffmpeg movie), otherwise assume audio
CHANGE: the anim player now filters for the same extensions as the file browser
2013-10-31 21:00:55 +00:00
Lukas Toenne
c9fdec14f5 Fix #37261 Rendering a Render Layer from another scene doesn't update.
The scene pointer used for looking up the appropriate source of render result images in the image editor was always taken from context. This means that render results for a different scene would never be
displayed in the image editor.

To give feedback on running renders, try to get the running render job's scene pointer in the image editor for render result type images. This only happens during rendering, apart from that the regular
context scene result is displayed.
2013-10-31 17:20:31 +00:00
Campbell Barton
beae4f498d code cleanup: spelling 2013-10-31 14:10:01 +00:00
Campbell Barton
50d1129a57 add atomic_ops.h to cmake's source code listing. 2013-10-31 14:09:01 +00:00
Bastien Montagne
bdc3e1e5de Minor update to r60953. 2013-10-31 13:11:01 +00:00
Tamito Kajiyama
7eff2285a3 Fix for Freestyle rendering errors with color blend modes SOFT_LIGHT and LINEAR_LIGHT. 2013-10-31 07:41:40 +00:00
Campbell Barton
712c8f3cae code cleanup: warnings 2013-10-31 03:30:20 +00:00
Dalai Felinto
1cf1984d1c Python ui: increase interface float precision limit from 6 to 7 2013-10-31 03:21:20 +00:00
Campbell Barton
bd17d2371f cancelling an operator popup now calls the operators cancel callback. 2013-10-30 23:15:27 +00:00
Campbell Barton
7267221715 remove return argument from wmOperatorType->cancel, was only ever returning OPERATOR_CANCELLED. 2013-10-30 23:08:53 +00:00
Campbell Barton
bced18155f fix for uninitialized value use in newly added fcurve normalized view.
also quiet warning without openmp.
2013-10-30 22:13:28 +00:00
Andrea Weikert
1a746911d6 Add .webm to the list of extensions recognized as video
(Patch by Philipp Oeser, submitted in [#37199], many thanks)
2013-10-30 21:16:13 +00:00
Joshua Leung
d4cf4efb77 Bugfix [#37185] Maya Config: Move and Scale Don't Work In Dope Sheet
Maya keymap was activating wrong transform modes for translation/scaling - in
DopeSheet and NLA, these use the TIME_TRANSLATE/TIME_SCALE modes instead
2013-10-30 11:33:29 +00:00
Sergey Sharybin
cd70a0e73a Code cleanup: typo-fix 2013-10-30 11:33:11 +00:00
Campbell Barton
db8e02bc85 revert own commit r60607, caused bug [#37253] 2013-10-30 11:32:30 +00:00
Lukas Toenne
06fb71bc46 Fix #37194, OSL script crashes blender. The lookup functions for finding Cycles shader inputs/outputs based on socket names are using a few modifications on the Blender socket names. But these only apply
to standard nodes where the Blender socket names can differ from associated Cycles names and may require additional indices to make them unique. Script node sockets are already unique and exact due to
being generated from the script function parameters.
2013-10-30 11:21:31 +00:00
Sergey Sharybin
c241bf30a0 Fix #37252: Mask modifier doesn't copy settings on object copy 2013-10-30 09:44:29 +00:00
Antony Riakiotakis
a415d188d2 Add some update notifiers for a few boolean paint properties (probably a
lot more needed) so that they get properly updated in UI when the
property is edited through python or a custom key binding to context
toggle operator.
2013-10-30 04:56:32 +00:00
Antony Riakiotakis
2045c86070 One more optimization for lasso, clip PBVH against object space planes
of lasso enclosing rectangle.
2013-10-30 01:58:19 +00:00
Antony Riakiotakis
a8aa2c5bb4 Optimization of lasso masking using scanfill.
Thanks to Campbell for the advice!
2013-10-30 01:20:08 +00:00
Antony Riakiotakis
33a0469630 Some comment fixes, add new sculpt masking operators to menus 2013-10-30 00:54:41 +00:00
Antony Riakiotakis
96f756d4b3 Lasso select tool for masking in sculpting. Initial code, non optimized
for now.
Used to be ultra terrible but with threading (openmp) there is slightly
better performance
and is ready for testing. To use press shift-ctrl-lclick. Still no
ability to
remove mask. Coming soon.

Also make box selection threaded (openmp) and comment fix.
2013-10-30 00:37:13 +00:00
Sergey Sharybin
bc5218a0f4 Code cleanup: more int->bool conversions mask module 2013-10-29 18:56:21 +00:00
Sergey Sharybin
8f747c4923 Code cleanup: use bool instead of int in mask module 2013-10-29 18:46:45 +00:00
Sergey Sharybin
16d13e0db9 Project Pampa request: FCurves normalized display
Added two options to a header of FCurve editor:

- Normalize which makes it so every individual
  curve is fit into -1..1 space.

- Auto-normalize, which probably is to be called
  "Lock" which "locks" curve normalization scale.
  This is useful to prevent curves from jumping
  around when tweaking it.

It's debatable whether it need to be a button to
normalize curves n purpose only, and it's fully
depends on animator's workflow.

Here during Project Pampa we've got Francesco
who get used to auto-renormalization and Hjalti
who prefers locked behavior.

Docs are to be ready soon by Francesco.
Thanks Brecht for the review!
2013-10-29 18:10:52 +00:00
Sergey Sharybin
f6e504cee9 Make anim system safer for threading
Remove usages of ANIM_unit_mapping_apply_fcurve in favor of
runtime scale factor apply.

There're still calls to ANIM_nla_mapping_apply_fcurve are
hanging around, they're the next t be cleaned up!
2013-10-29 18:10:48 +00:00
Lukas Toenne
8bdbbca485 Fix #37192, Rendered preview causes crash when deleting a material node in shader node editor. The 'free' callback for node execution data was accessed from the node->typeinfo, but this pointer can
become invalid because the render database is not immediately freed after the job finishes. To avoid access to dangling node pointers, store the function callback in the exec data itself. The node
pointer must not be accessed in the free function (wasn't used before either), these functions are purely for the execution data.
2013-10-29 17:46:01 +00:00
Dalai Felinto
8d11abb0ec fix [#37250] dynotopo initial triangulation
hmrf arguments order was wrong ... but int/bool casting made it pass
through the compiler
2013-10-29 17:14:43 +00:00
Sergey Sharybin
63b01f6bee Code cleanup: remove unused block from multire baker
Mapping from grid on ll 0 was not used and was incorrect
since bmesh merge anyway.
2013-10-29 16:43:58 +00:00
Sergey Sharybin
781e1f3370 Enable multires bake to level 0
Uses trick with crating simple subdivided mesh with
level 1 and bakes against it.

From quick tests seems to be working correct, more
tests are welcome.
2013-10-29 16:43:56 +00:00
Sergey Sharybin
7bc61927ab Fix #37246: Dynamic paint end frame is limited to 9999
Not sure what's actual reason for this, increased it to MAXFRAMRF.
2013-10-29 16:06:21 +00:00
Sergey Sharybin
e89b001318 Project Pampa fix: animplayer will use preview range if preview is enabled 2013-10-29 15:49:01 +00:00
Lukas Toenne
2cccdd1678 Fix for particle texture influence bug causing undefined (nan) values: When using a texture with "Particles/Strands" coordinates that in turn has a "Lifetime" influence on the particles, the texture eval
accesses the particle lifetime/dietime data before it is actually defined! This is a design flaw, but to avoid corrupted data for now just initialize the lifetime/dietime values for particles in advance
before evaluating the texture.
2013-10-29 14:48:25 +00:00
Sergey Sharybin
56cf901f03 Fix #37152: Knife tool doesn't work properly with Maya preset (Zooming and Panning) 2013-10-29 11:59:03 +00:00
Gaia Clary
055b65d6ba (Due to a change in function call) Added default triangulation method for Collada exporter 2013-10-29 10:49:44 +00:00
Jens Verwiebe
f9ab1df564 Fix collada compile, too less arguments 2013-10-29 10:13:49 +00:00