Commit Graph

50696 Commits

Author SHA1 Message Date
Mitchell Stokes
64c346ed1e BGE Rasterizer Cleanup: The Blenderplayer now loads the monospace font so it can properly draw the framerate and profile display. 2013-11-04 19:22:15 +00:00
Mitchell Stokes
fb94a53978 BGE Rasterizer Cleanup: Cleaning up some includes. 2013-11-04 19:22:10 +00:00
Mitchell Stokes
0cec5c63da BGE Rasterizer Cleanup: Removing the Singletexture material mode. More conversion code will probably be needed. 2013-11-04 19:21:50 +00:00
Mitchell Stokes
a35e9daaef BGE Rasterizer Cleanup: Moving the RAS_OpenGLRasterizer::ApplyLights() code into RAS_OpenGLRasterizer::ProcessLighting(). 2013-11-04 19:21:37 +00:00
Mitchell Stokes
c1e617d26b BGE Rasterizer Cleanup: Removing the need to reference KX_BlenderMaterial or KX_PolygonMaterial in RAS_OpenGLRasterizer. 2013-11-04 19:21:32 +00:00
Mitchell Stokes
5348682f3a BGE Rasterizer Cleanup: Getting rid of the BL_Material.h include in RAS_OpenGLRasterizer.cpp. 2013-11-04 19:21:25 +00:00
Mitchell Stokes
e2c91b570d BGE Rasterizer Cleanup: Getting rid of RAS_IRasterizer::RenderText(), and just adding the code to IndexPrimitives_3DText(), which is the only function that uses RenderText(). 2013-11-04 19:21:21 +00:00
Mitchell Stokes
a565e34c39 BGE Rasterizer Cleanup: Removing KX_BlenderGL since it was mostly one-line functions used by KX_BlenderCanvas. KX_BlenderCanvas now just calls those functions directly. 2013-11-04 19:21:16 +00:00
Mitchell Stokes
cf9fe8f329 BGE Rasterizer Cleanup: Removing RAS_IRenderTools and moving the functionality to RAS_IRasterizer. RAS_OpenGLRasterizer is a bit of a mess now with references to Ketsji and other modules it shouldn't be accessing. 2013-11-04 19:21:07 +00:00
Bastien Montagne
f4762eb12b UI messages fixes... 2013-11-04 18:58:22 +00:00
Antony Riakiotakis
3ccaa9b573 Missing convert button on particle modifier panel. Cache pathcache check
should be only on path display mode.
2013-11-04 18:40:45 +00:00
Bastien Montagne
84daa57188 Update i18n tools for new build_hash... 2013-11-04 18:26:56 +00:00
Sergej Reich
13caf5cc14 bullet: Remove patch applied upstream 2013-11-04 17:02:01 +00:00
Sergey Sharybin
2010c6ad6c Made buildinfo aware of builds from GIT
- Use commit number since last annotated tag as a
  revision number replacement. It'll eb followed
  by 'M' symbol if there're local modification in
  the source tree.

- Commit short SHA1 is included. Helps getting
  information about commit used to build blender
  with much faster.

- If build is not done from master branch, this also
  will be noticed in the splash screen.

This commit also replaces revision stored in the
files with git-specific fields (change and hash).
This is kind of breaks compatibility, meaning
files which were saved before this change wouldn't
display any information about which revision they
were saved with. When we'll finally switch to git,
we'll see proper hash and change number since
previous release in the files, for until then
svn version will be used as a change number and
hash will be empty.

Not a huge deal, since this field was only used
by developers to help torubleshooting things and
isn't needed for blender itself.

Some additional tweaks are probably needed :)
2013-11-04 13:21:39 +00:00
Campbell Barton
d07f3f793b add CDDM_lower_num_loops(), for completeness (currently unused). 2013-11-04 12:01:46 +00:00
Campbell Barton
3b91a77c7d code cleanup: typo in function name 2013-11-04 11:27:11 +00:00
Joshua Leung
a1d553a8f3 Bugfix [#36950] Restrict Frame Range not being obeyed on Driver F-Curves
By default, drivers (used to) automatically map the driver result (i.e.
"evaltime" or the x-coordinates in the driver graphs) to results. This evaltime
=> cvalue mapping is necessary when there are absolutely no keyframes or
modifiers on a driver F-Curve, or else nothing would happen.

However, when there are modifiers on these driver F-Curves, and these modifiers
only work within certain ranges, there would be confusing and unwanted
situations where even if you clamped the modifiers to only generating a curve
within certain frame ranges, the final driver output would still ignore the
results of the curve due to the underlying 1-1 mapping.

This commit introduces a check to ensure that this automatic mapping won't
happen during such invalid ranges.
2013-11-04 04:18:28 +00:00
Joshua Leung
0b2d9ffaeb Fix for uninitialised var 2013-11-04 01:18:33 +00:00
Campbell Barton
65633d7be2 code cleanup: remove unused operator (select all handles this case now) 2013-11-04 00:55:00 +00:00
Bastien Montagne
c366f08b6f Fix [#37297] Crash when Adding and Removing Fluid Particlesystem.
Using freed mem...
2013-11-03 21:11:27 +00:00
Bastien Montagne
ddcb1166de Fix [#37275] can't import 2.68a keymap
Now exported keymaps will still be usable accross versions, even if some operator properties disappear (write a warning in console in this case, instead of "crashing").

Also factorized a bit of code here!
2013-11-03 18:04:45 +00:00
Tamito Kajiyama
9575521812 Minor code improvements: avoid unnecessary Python object allocations in Freestyle color blending. 2013-11-03 14:25:37 +00:00
Tamito Kajiyama
2190e6de0e Fix for missing calls of BaseMath_ReadCallback() when accessing vector/color elements.
This bug was causing wrong color blending results in Freestyle color modifiers.
Problem report from Light BWK through personal communications, thanks!
2013-11-03 14:24:02 +00:00
Jens Verwiebe
bb9cbedf72 OSX: Fix an error in own 61065 2013-11-03 13:10:18 +00:00
Sergey Sharybin
e5572a3f55 Motion tracking: use is_keyed to match naming in other areas of RNA 2013-11-03 09:33:17 +00:00
Campbell Barton
ec32964194 code cleanup: warnings 2013-11-03 05:19:55 +00:00
Jens Verwiebe
348addd7d2 OSX: give application bundles an own icon to better differentiate vs. folders 2013-11-02 17:58:53 +00:00
Joshua Leung
a8a4431fcf Bugfix [#36687] Animation channels can't be grouped in action editor
Internal filtering flags used to obtain AnimData blocks as result were not
working correctly in Action and ShapeKey modes. Instead, in these modes, they
were often returning F-Curves instead, which lead to the grouping operating
failing (and perhaps other unidentified bugs)
2013-11-02 13:11:06 +00:00
Joshua Leung
5c0a8ca73f Quick test commit - fixing what looks like a typo in a comment 2013-11-02 13:08:48 +00:00
Andrea Weikert
08838e0d18 Fix: tooltip when adding a new 'Excluded path' for python execution 2013-11-02 10:48:34 +00:00
Andrea Weikert
4cf57c02fa Fix: error message when removing an 'Excluded path' for python execution, small leftover from copy/paste 2013-11-02 10:37:42 +00:00
Campbell Barton
fc618bbcbf fix for possible leak in the expression controller find identifier. 2013-11-02 05:18:31 +00:00
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