Fixed some minor errors in game engine and player.
This commit is contained in:
parent
c92b6f1de6
commit
7c57822afa
|
@ -388,9 +388,6 @@ void ED_fsmenu_entry_set_path(struct FSMenuEntry *fsentry, const char *name) RET
|
|||
char *ED_fsmenu_entry_get_name(struct FSMenuEntry *fsentry) RET_NULL
|
||||
void ED_fsmenu_entry_set_name(struct FSMenuEntry *fsentry, const char *name) RET_NONE
|
||||
|
||||
struct PTCacheEdit *PE_get_current(struct Scene *scene, struct Object *ob) RET_NULL
|
||||
void PE_current_changed(struct Scene *scene, struct Object *ob) RET_NONE
|
||||
|
||||
/* rna keymap */
|
||||
struct wmKeyMap *WM_keymap_active(struct wmWindowManager *wm, struct wmKeyMap *keymap) RET_NULL
|
||||
struct wmKeyMap *WM_keymap_find(struct wmKeyConfig *keyconf, const char *idname, int spaceid, int regionid) RET_NULL
|
||||
|
@ -513,7 +510,6 @@ bool ED_space_image_check_show_maskedit(struct Scene *scene, struct SpaceImage *
|
|||
bool ED_texture_context_check_world(const struct bContext *C) RET_ZERO
|
||||
bool ED_texture_context_check_material(const struct bContext *C) RET_ZERO
|
||||
bool ED_texture_context_check_lamp(const struct bContext *C) RET_ZERO
|
||||
bool ED_texture_context_check_particles(const struct bContext *C) RET_ZERO
|
||||
bool ED_texture_context_check_others(const struct bContext *C) RET_ZERO
|
||||
|
||||
bool ED_text_region_location_from_cursor(SpaceText *st, ARegion *ar, const int cursor_co[2], int r_pixel_co[2]) RET_ZERO
|
||||
|
|
|
@ -169,7 +169,7 @@ void BL_BlenderShader::Update(const RAS_MeshSlot & ms, RAS_IRasterizer* rasty )
|
|||
|
||||
rasty->GetViewMatrix().getValue(&viewmat[0][0]);
|
||||
float auto_bump_scale = ms.m_pDerivedMesh!=0 ? ms.m_pDerivedMesh->auto_bump_scale : 1.0f;
|
||||
GPU_material_bind_uniforms(gpumat, obmat, viewmat, obcol, auto_bump_scale, NULL);
|
||||
GPU_material_bind_uniforms(gpumat, obmat, viewmat, obcol, auto_bump_scale);
|
||||
|
||||
mAlphaBlend = GPU_material_alpha_blend(gpumat, obcol);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue