Campbell Barton
737cb8cf7c
Use compiler attributes for more BLI libs
2014-07-17 18:58:58 +10:00
Campbell Barton
1ce15f8efa
Fix for bmesh_vert_separate adding to visithash multiple times
2014-07-17 17:46:55 +10:00
Campbell Barton
ebd04f581d
Correct error in recelty added BM_face_split_edgenet
...
Was copying UV's to unrelated faces
2014-07-17 17:12:32 +10:00
Campbell Barton
9c36b2be57
Correct previous commit - space crept in patch
2014-07-17 15:02:02 +10:00
Campbell Barton
4cc93123c8
Add thousands separators to scene stats (D646)
...
by januz with own modifications
2014-07-17 14:54:12 +10:00
Campbell Barton
49a5115497
bmesh py api: add bmesh.utils.vert_splice(...)
2014-07-17 12:25:40 +10:00
Campbell Barton
7f4735ab3b
bmesh py api: BPY_BM_CHECK_SOURCE_* macro now accepts multiple args
2014-07-17 11:56:08 +10:00
Tamito Kajiyama
a798e01dc3
Follow-up to code cleanup in rB415af0b: Keep compound terms as they are.
2014-07-17 09:23:30 +09:00
Campbell Barton
11e03eea4e
Cleanup: dead code
2014-07-17 08:25:48 +10:00
Campbell Barton
eebeb55bf2
BMesh: use compiler attributes for queries, structure
2014-07-17 08:20:04 +10:00
Campbell Barton
58659fc207
BMesh: Add BM_vert_pair_share_face_check
...
Use to assert if BM_vert_splice is used incorrectly
2014-07-17 08:20:04 +10:00
Bastien Montagne
57a3403bc0
Fix T41075: Segfault when attempting to escape from bone translation.
...
Minor logical error in rBb617d6d5 ;)
2014-07-16 17:29:03 +02:00
Bastien Montagne
0ab59d9a32
Clean up of dead code.
...
dm can’t be NULL here (found by Coverity).
2014-07-16 16:25:41 +02:00
gaiaclary
10da6ddbee
Automatic commit by arc
2014-07-16 14:03:37 +02:00
gaiaclary
7eb539c04b
Sort vertex groups by Armature Hierarchy
...
Sort vertex groups by Armature Hierarchy
Reviewers: mont29
Differential Revision: https://developer.blender.org/D649
2014-07-16 14:03:36 +02:00
Bastien Montagne
0fd194c2cb
Fix T41088: Canceling pose library preview does not reset to previous pose.
2014-07-16 12:53:17 +02:00
Campbell Barton
d4726c9a40
BMesh: optimize BM_vert_splice to avoid getting a loop array first
2014-07-16 16:42:32 +10:00
Campbell Barton
415af0bec8
Cleanup: Adhere to our naming convention for BKE_linestyle.h API
2014-07-16 15:13:40 +10:00
Tamito Kajiyama
647969f9b6
Renamed CTX_data_linestyle_from_scene() to BKE_get_linestyle_from_scene().
...
The function is to retrieve the active line style ID datablock from a scene and
there is nothing related to bContext.
2014-07-16 13:38:58 +09:00
Campbell Barton
de379c05de
bmesh py api: add BMesh.calc_tessface()
2014-07-16 11:57:28 +10:00
Campbell Barton
28940d79b1
bmesh py api: add typed tuple-from-array functions
2014-07-16 11:50:34 +10:00
Campbell Barton
b26daac398
BLI_kdopbvh: assert for bad input
...
also hint UNLIKELY branches
2014-07-16 11:12:19 +10:00
Campbell Barton
1ae11f71ff
BLF: avoid float/int conversion drawing glyphs
...
also use UNLIKELY for error cases
2014-07-16 11:12:19 +10:00
Mitchell Stokes
dfe1b9b7a7
Fix T40146: BGE Compound parent crash
2014-07-15 17:52:46 -07:00
Campbell Barton
c2dba7e344
BLI_kdopbvh: Replace realloc's with BLI_stack
2014-07-15 21:35:50 +10:00
Campbell Barton
5c4180d898
BLI_stack: various small additions
...
- add BLI_stack_count
- add BLI_stack_pop_n to pop into an array
- add BLI_stack_push_r, which returns a pointer that can be filled in
Also remove sanity check in BLI_stack_pop, assert if the stack is empty.
2014-07-15 21:09:03 +10:00
Lukas Tönne
2f03cccecd
No preemptive removal of muted and reroute nodes from compositor node
...
trees for localization (previews and viewer evaluation).
This is handled entirely by the compositor already. Doing this during
localization is redundant and risks divergent behavior.
2014-07-15 11:03:07 +02:00
Lukas Tönne
2bdb872cfb
Fix T41067: Muted nodes still do data type conversions.
...
Proxy operations from muted nodes would still create conversion
operations where the datatypes don't match, which creates unexpected
behavior. Arguably datatype conversion could still happen even when the
main operation is muted, but this would be a design change and so is
disabled now.
2014-07-15 11:03:07 +02:00
Campbell Barton
fa8ff63b48
Edgehash: Improve magic number for hashing
...
Gives consistently better results. Tested with wide variety of meshes.
2014-07-15 13:08:46 +10:00
Mitchell Stokes
dbc79e7aba
Fix T41074: Several Mouse Look actuators not working well together when reset button are set in one or several of them
...
Fix provided by lordloki (Jorge Bernal)
2014-07-14 18:36:27 -07:00
Jorge Bernal
1bf87fa26c
BGE: TrackTo actuator: increasing up & track axis options
...
This is related to Task T34861 to increase up & track axis options for TrackTo actuator. I've just added it to differential to facilitate an easier review.
With the patch applied you can select X, Y and Z axis for the Up axis, and X, Y, Z, -X, -Y and -Z for the track axis.
Related to the implementation I have used the algorithm from Trackto constrain placed in constrain.c but adapted to be used with MOTO library.
The wiki docs are here (http://wiki.blender.org/index.php/User:Lordloki/Doc:2.6/Manual/Game_Engine/Logic/Actuators/Edit_Object#Trackto_Actuator ).
Test file is here: {F97623}
I have also uploaded 2 screenshots showing the UI modifications to the TrackTo actuator:
{F91992} {F91990}
Reviewers: moguri, dfelinto
Reviewed By: moguri
CC: Genome36
Differential Revision: https://developer.blender.org/D565
2014-07-14 18:30:27 -07:00
Dalai Felinto
50d30148b6
Fix T41044 Cycles Bake: world space location affects object space normal pass
2014-07-14 17:49:30 -03:00
Antony Riakiotakis
48eececdba
Follow up to previous commit.
...
* Expose is_tablet property to events to determine if event contains
tablet data.
* Expose tablet tilt for events as a 2D vector in python
2014-07-14 17:49:00 +03:00
Antony Riakiotakis
45f0bd6eb1
Feature request:
...
Expose pressure from event system to python. This will return the tablet
pressure, if a tablet is present, or 1.0 if not.
2014-07-14 17:06:53 +03:00
Campbell Barton
8554fa2fad
GHash, EdgeHash: add debugging function to measure the hash quality
...
Can use to check on improvements to hash functions.
2014-07-14 23:59:47 +10:00
Campbell Barton
8a04bed724
Error in last commit
2014-07-14 21:34:51 +10:00
Campbell Barton
a8e338cee5
Py/API: add bmesh.utils.face_split_edgenet
2014-07-14 21:32:37 +10:00
gaiaclary
1bda27f692
Tooltip improvements for modifier functions
2014-07-14 11:50:21 +02:00
Campbell Barton
98cb7ad237
Remove redundant NULL check
2014-07-14 14:23:23 +10:00
Campbell Barton
3b81aae5c1
BMesh: avoid redundant normalize comparing angles
2014-07-14 14:22:15 +10:00
Campbell Barton
d9f39257f4
Math Lib: add compare_len_squared_v3v3 from paint branch
2014-07-14 11:55:38 +10:00
Campbell Barton
d56e6bf1bf
Math Lib: accept a limit of 0.0 when comparing vectors
2014-07-14 11:33:19 +10:00
gaiaclary
a720c4715b
Tooltip improvements for modifier functions
2014-07-13 21:52:35 +02:00
Tamito Kajiyama
c7ba6eaacc
Freestyle: minor docstring fixes.
2014-07-13 23:17:52 +09:00
Bastien Montagne
0fc05c1c03
Followup to rB320b7a59c3eed: also handle background image ID refcount when duplicating/freeing View3D.
2014-07-13 15:16:01 +02:00
Campbell Barton
cfbc495b8d
BMesh: minor speedup to BM_face_split_edgenet
2014-07-13 13:53:08 +10:00
Campbell Barton
15a6911dd1
BMesh: remove error check on radial loops and consistent naming
2014-07-13 12:58:08 +10:00
Campbell Barton
c04f301fc3
Replace BLI_SMALLSTACK_FREE with fake user (quiet warnings in msvc)
2014-07-12 16:48:52 +10:00
Campbell Barton
5e3e095e2e
Code Cleanup: use const
2014-07-12 09:09:24 +10:00
HG1
984d6c8677
BGE debug API and actuator
...
This patch adds some new debug methods to the KX_GameObject for manually adding the debug list and bge.render for controlling the debug visualization.
It also adds a new debug actuator, which allows to control the same functions.
This patch is a updated version of T33701.
Thread on Blenderartists:
http://blenderartists.org/forum/showthread.php?264745-Debug-proerties-for-added-objects-patch&p=2256018&viewfull=1#post2256018
Reviewers: moguri
Reviewed By: moguri
Differential Revision: https://developer.blender.org/D635
2014-07-11 16:00:14 -07:00